TKtagger – A simple WD14 tagging tool with bulk tag editing

TKtagger Desktop v1.5.2 – WD14 Tagging, Bulk Tag Editing & Dataset Preparation
I originally made TKtagger as a small tool for image tagging with WD14 and basic bulk tag editing.
Since then, the project has grown quite a bit, so I thought it was time to update this article.
TKtagger Desktop is an open-source desktop application built with Python and PySide6. It's designed to help prepare, review, and organize image captions for AI training datasets, especially LoRA training.
It runs on Windows and Linux.
Preview
Interface screenshot from the project. Some controls have changed in v1.5.2.
Main Features
Image Browsing & Tag Editing
Browse dataset folders and images in a grid.
Preview images and inspect their tags.
Add or remove tags from multiple images.
Choose whether new tags are inserted at the beginning or end.
Customize the grid layout and tag display height.
Bulk Tag Management
Remove duplicate tags.
Find and replace tags across images.
Sort tags using dictionary groups.
Convert underscores and spaces in tags.
Undo and redo tag changes with operation history.
WD14 Automatic Tagging
Generate image tags using WD14 models.
Run ONNX models locally.
Reuse an existing kohya_ss or sd-scripts Python environment and model files.
Configure tagging thresholds and processing options.
Review generated tags before saving.
Tag Dictionaries
Organize tags into dictionary groups.
Keep tag naming and ordering consistent.
Use virtual tag expansion.
Dataset Calculator
Calculate dataset repeats and estimate training steps.
Export dataset configuration files in TOML format.
Support configurations for kohya_ss / sd-scripts and Musubi Tuner.
Workspace Customization
Rearrange panels and save workspace layouts.
Import and export workspace settings as JSON.
Customize keyboard shortcuts.
Choose between Classic and Auto fit image grids.
Dataset Backup
Automatically create folder snapshots before saving modified captions.
Keep backups available for manual recovery.
Changes remain in memory until you save them.
Language Support
The interface currently supports six languages:
English
Vietnamese
Simplified Chinese
Korean
Japanese
Russian
Installation
TKtagger currently runs from Python source.
Windows
Clone or download the repository, then run:
.\launch.cmd --setupFor later launches:
.\launch.cmdLinux
sh ./launch.sh --setupFor later launches:
sh ./launch.shThe basic setup installs the GUI requirements. Local WD14 inference may require additional dependencies or an existing compatible Python environment.
More detailed setup instructions are available on GitHub.
Links
GitHub: https://github.com/Quocraft1436/TKtagger
Tutorial: https://github.com/Quocraft1436/TKtagger/blob/main/tutorial.md
Vietnamese documentation: https://github.com/Quocraft1436/TKtagger/blob/main/README_VI.md
Final Notes
TKtagger started as a small personal project, and I've been gradually expanding it as I work on the interface, tagging tools, and dataset workflow.
It's still an evolving project, and there are certainly things that can be improved.
The goal is not to replace AI training software, but to make the dataset preparation process a little easier and more manageable.
Feedback, suggestions, and bug reports are always welcome.
Thanks for checking it out!