Skip to content

Windows tool for side-by-side image & text viewing, manual caption/tag editing, and batch dataset operations. Perfect for LoRA & ML dataset prep. 100% offline, private, and easy to use.

Notifications You must be signed in to change notification settings

Nenotriple/img-txt_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

icon img-txt_viewer

img-txt_viewer is a Windows application for side-by-side image and text viewing, designed to streamline manual captioning or tagging of images. The toolset specifically targets LoRA dataset preparation.

Cover Image

Show App Previews...

Tag Editor Crop Tool Batch Upscale Batch Resize Batch Rename Find Duplicates Image Grid

GitHub last commit GitHub contributors GitHub repo size GitHub all release downloads GitHub release (latest by date)



πŸ“ Usage

  • βœ… Do this: Ensure image-text pairs share the same basename.

    • Example: 01.png, 01.txt, 02.jpg, 02.txt, etc.
  • ❌ Don't do this: Avoid different filetypes with the same basename.

    • Example: 01.png, 01.txt, 01.jpg, 01.txt (causes text file collision).

Supported formats: .png, .jpg, .jpeg, .jfif, .jpg_large, .webp, .bmp, .gif, .mp4

Select Alt Text Path

Images and text files can be loaded from different folders.

Click to expand...

By default, text files are loaded from the selected directory. To load text files from a different path:

  1. Select a directory as usual.
  2. Right-click the Browse... button and choose Set Text File Path.
  3. When an alternate path is chosen, a blue indicator appears to the left of the directory entry. Hover over the indicator to view the selected text path.

Example folder structures:

Images and text files in same folder

.
└── dataset/
    β”œβ”€β”€ 01.png
    β”œβ”€β”€ 01.txt
    β”œβ”€β”€ 02.jpg
    └── 02.txt

Images and text files in separate folders

.
└── dataset/
    β”œβ”€β”€ images/
    β”‚   β”œβ”€β”€ 01.png
    β”‚   └── 02.jpg
    └── captions/
        β”œβ”€β”€ 01.txt
        └── 02.txt

πŸ’‘ Features

For details, see the User Guide ✨ or use the links below.

Tagger Shortcuts

  • ALT+LEFT/RIGHT – Navigate image-text pairs
  • SHIFT+DEL – Move pair to trash
  • ALT – Cycle autocomplete suggestions
  • TAB – Insert highlighted suggestion
  • CTRL+S – Save text file
  • CTRL+E – Next empty text file
  • CTRL+R – Random image-text pair
  • CTRL+F – Find and Replace
  • CTRL+Z / CTRL+Y – Undo / Redo
  • CTRL+W – Close app
  • F1 – Toggle image grid
  • F2 – Toggle zoom popup
  • F4 – Open in image editor
  • Middle-click – Delete tag

Tagger Toolbar

Main Toolbar

Menubar

Tagger View Menu


πŸ›  Install

Portable Setup

Static Badge

  1. Download the Windows executable from the releases page.
  2. Run the executable to launch the app.

Python Package Setup

Static Badge Static Badge

  1. Download the source code package from the latest releases page.
  2. Run the Start.bat file to automatically create and activate a virtual environment, then launch the app.
  3. Use Start.bat to launch the app in the future.
Manual Python Setup...

Static Badge Static Badge

  1. Clone the repository:

    git clone https://github.com/Nenotriple/img-txt_viewer.git
  2. Navigate into the project directory:

    cd img-txt_viewer/img-txt_viewer
  3. Create and activate a virtual environment:

    python -m venv venv
    venv\Scripts\activate
  4. Install the required dependencies:

    pip install -r requirements.txt
  5. Launch the app:

    python app.py

πŸ”’ Privacy Policy

img-txt Viewer is completely private.

  • The app operates entirely on your device; your data remains under your control.
  • No data is collected, transmitted, or stored except for a basic local config file for app settings.
  • The app functions 100% offline and never connects to external servers. No data is ever shared or sent elsewhere.

About

Windows tool for side-by-side image & text viewing, manual caption/tag editing, and batch dataset operations. Perfect for LoRA & ML dataset prep. 100% offline, private, and easy to use.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •