If you're training your own LoRA for Stable Diffusion, SDXL or Flux, the captions matter almost as much as the images. Every picture needs a matching text file that describes it, and writing 50 or 200 of those by hand is slow and inconsistent. TagGUI is a free desktop app that does the heavy lifting: it runs AI captioning and tagging models on your own PC, writes the text files for you and then gives you fast tools to tidy them up. This guide follows TagGUI's official GitHub README and release notes.
What TagGUI does
TagGUI describes itself as a cross-platform desktop application for quickly adding and editing image tags and captions, aimed at people building image datasets for generative AI models. The README lists six headline features:
A keyboard-friendly interface for fast tagging
Tag autocomplete based on your own most-used tags
An integrated token counter (for Stable Diffusion)
Automatic caption and tag generation
Batch operations for renaming, deleting and sorting tags
Advanced image list filtering
The key detail for LoRA training is the file format. TagGUI loads tags from .txt files in the same folder as your images, with the same file names (so photo01.png pairs with photo01.txt), and any change you make is saved straight back to those files. That's the same image-plus-text-file layout the kohya-ss sd-scripts tagging tool produces, so the folder TagGUI leaves behind is in the layout the popular trainers expect. Check your trainer's own documentation for the exact caption extension it wants. If you haven't picked a trainer yet, see our guides to training a LoRA locally with AI Toolkit and Kohya_ss vs OneTrainer.
TagGUI is open source under the GPL-3.0 licence. The latest release on GitHub at the time of writing is v1.34.0, published on 11 October 2025, so the app is mature rather than fast-moving.
What you need
Windows or Linux. The developer provides ready-made downloads for both. There's no macOS build because the developer doesn't have a Mac, but the README says Mac users can still install and run it manually from the source code.
7-Zip. Releases are packed as .7z archives. The Linux bundle is split into two parts to stay under GitHub's 2GB file limit, so download both.
An NVIDIA graphics card for GPU captioning. The README says GPU generation needs a compatible NVIDIA GPU, and CPU generation is also supported. CPU captioning works, but expect it to be much slower on a big folder.
Disk space for models. Models are downloaded the first time you use them. The README warns this can take several minutes on first use, with later runs much faster.
How much video memory you need depends on the model you pick rather than TagGUI itself. Small taggers and Florence-2 models are light, while large vision-language models such as JoyCaption need far more: its developer says about 17GB at full bfloat16 precision, which is why TagGUI offers a 4-bit loading option for it. A 12GB card such as the ASUS RTX 3060 12GB Dual Gaming OC V2 is a sensible floor for trying several models, and a 16GB card like the ASUS RTX 5060 Ti 16GB Dual OC gives more headroom. That's our suggestion, not an official requirement. Our VRAM guide explains the trade-offs.
Step 1: Prepare your image folder
Put all the training images in one folder. Remove duplicates and anything blurry or off-topic before you caption, because cleaning up afterwards means editing text files as well as images. If you already have some .txt files, keep them in the same folder: TagGUI will load them, and you can use them as context for the AI captioner later (see Step 4).
Step 2: Download and open TagGUI
Go to the TagGUI releases page on GitHub and download the latest archive for your operating system (for v1.34.0 on Windows, that's taggui-v1.34.0-windows.7z).
Extract it anywhere you like with 7-Zip and run the executable inside. There's no installer.
On Linux, the README notes you may need to install the libxcb-cursor0 package if the app won't start.
If you'd rather run from source, clone the repository, install the packages in requirements.txt and run taggui/run_gui.py. The developer recommends Python 3.12, with 3.11 also expected to work.
Step 3: Load your dataset
Click Load Directory in the middle of the window (or File > Load Directory) and pick your image folder. TagGUI shows your images in a list, with the tags for the selected image in the Image Tags pane and every tag used across the folder in the All Tags pane.
Step 4: Run the Auto-Captioner
Select the images you want to caption. Press Ctrl+A to select all of them for a batch run.
In the Auto-Captioner pane, choose a model. Recent releases added support for Microsoft's Florence-2 models, MiaoshouAI's Florence-2-base-PromptGen, SmilingWolf's WD ViT-Large and WD EVA02-Large Tagger v3 models, moondream2 and JoyCaption. If you've already downloaded models, set that folder in File > Settings so they appear in the list.
Click Start Auto-Captioning (or press Alt+C).
Pick the model to match how your trainer expects captions. WD Tagger models output comma-separated Danbooru-style tags, the prompt format many anime-focused models use. Florence-2 and JoyCaption write natural-language sentences, which suit models you prompt in plain English. If you'd rather not use TagGUI's model list, our guide to using vision models in Ollama covers a chat-style alternative for describing images one at a time.
Step 5: Tune the captioning settings
TagGUI's captioning parameters let you steer the output without editing every file afterwards:
Prompt: the instructions sent to the model. TagGUI handles each model's prompt format for you. You can insert {tags} (the image's existing tags), {name} (the file name without its extension) and {directory} or {folder} (the folder name). The README's example is Describe the image using the following tags as context: {tags}, which is handy if you've tagged a character or style by hand first.
Start caption with: forces every caption to begin with fixed text. This is a simple way to put your LoRA's trigger word at the front of every file.
Remove tag separators in caption: strips the commas from generated text.
Discourage from caption: words the model should avoid. The README suggests appears,seems,possibly to stop uncertain phrasing.
Include in caption: words that should appear somewhere. Use | to offer choices, for example cat,orange|white|black.
Tags to exclude (WD Tagger models): tags that should never be generated.
The developer is clear that these are guides rather than guarantees: excluded words can still slip through because of how models split text into tokens, and not every "include" rule will always be met. So you still need to review the results.
Step 6: Review and clean up the captions
This is where TagGUI earns its place over a plain script:
Find gaps: press Ctrl+J to jump to the first image with no tags.
Filter the list: type queries into the Filter Images box (Alt+F). For example, tag:"orange cat" finds an exact tag, tokens:>75 finds captions longer than 75 tokens, and NOT tag:cat finds images missing a tag. You can combine filters with AND, OR and brackets.
Fix tags in bulk: in the All Tags pane, select a tag and press Delete to remove it everywhere, or press F2 to rename it across the whole dataset. The Edit menu also has Find and Replace (Ctrl+R) and Batch Reorder Tags (Ctrl+B).
Watch the token count: the built-in Stable Diffusion token counter, together with the tokens: filter, helps you spot captions that are running long.
Because every change is saved straight back to the .txt files, the folder is ready to point your trainer at once you've finished reviewing.
Troubleshooting
Out of memory errors: choose a smaller model, caption fewer images at a time, or close other GPU apps. Our guides to checking VRAM usage on Windows and fixing CUDA out of memory errors can help.
JoyCaption won't fit: TagGUI v1.33.0 (May 2025) added an option to load JoyCaption in 4-bit and updated it to JoyCaption Beta One.
A model you used before has gone: v1.34.0 removed support for CogVLM, CogVLM2 and XComposer2, and earlier releases removed CogAgent. Switch to one of the supported models.
AMD or Intel graphics: the README only mentions NVIDIA GPU support, so the fallback on other cards is CPU generation.