EN - LoRA Dataset Tagger
For those who don't like the new training interface for editing their tags, I bring you the following option.
A local, offline tool to prepare image datasets for LoRA training: upload images (or a ZIP), edit tags one by one or in bulk, and export a ready-to-train ZIP.
It is a single HTML file. No server, no installation, no account. Everything stays in your browser.
Features
Flexible import: drag and drop images, a
.zip, or both..txt/.captionfiles with the same name as an image are imported as its tags, even inside folders.Per-image editor: tag chips, raw caption field, and arrow-key navigation.
Trigger word: automatically prepended to every caption on export.
Bulk tools: add, remove, find & replace, remove duplicates, shuffle order, and clear tags. They apply to the selected images, or to all of them if none is selected.
Most used tags panel:
Multi-select with checkboxes and a search box.
Checked tags accumulate their images in the gallery (any / all mode); unchecking removes them.
Delete the selected tags from every image, or replace them (current tag on the left, new word on the right).
Persistent: your dataset is saved in the browser (IndexedDB), so closing the tab doesn't lose your work.
Export to ZIP in the folder layout used by kohya:
10_trigger/001.png+001.txt.Available in English (
index.html) and Spanish (esp.html).
Usage
Open
index.html(English) oresp.html(Spanish) in a modern browser, or use the hosted version on GitHub Pages.Drop your images or a ZIP into the upload area.
Set your trigger word and edit tags.
Click Export ZIP and use the result in your trainer.
Export format
10_my_trigger/
├── 001.png
├── 001.txt
├── 002.jpg
├── 002.txt
└── ...The folder prefix (
10_) is the number of repeats per epoch, as read by kohya_ss / sd-scripts. It is fixed to 10; rename the folder if you need another value.Each caption is the trigger word followed by the image's tags, comma-separated.
If you use another trainer (for example ai-toolkit), repeats are set in its config file and the folder prefix is simply ignored.
Notes
Your data never leaves your browser. Nothing is uploaded anywhere.
Data is stored per browser and per device. To move a dataset elsewhere, export it as a ZIP and import it again.
ZIP import uses the browser's native
DecompressionStream, so a recent version of Chrome, Edge, Firefox, or Safari is required. ZIP64 archives (over 4 GB) are not supported.This tool prepares datasets only. It does not train models.
ESP - LoRA Dataset Tagger
Para aquellos que no les gusta la nueva interfaz de entrenamiento para editar sus tags, les traigo la siguiente opción.
Herramienta local y sin conexión para preparar datasets de imágenes para entrenar LoRAs: sube imágenes (o un ZIP), edita tags uno por uno o en lote, y exporta un ZIP listo para entrenar.
Es un único archivo HTML. Sin servidor, sin instalación y sin cuentas. Todo se queda en tu navegador.
Características
Importación flexible: arrastra imágenes, un
.zip, o ambos. Los archivos.txt/.captioncon el mismo nombre que una imagen se importan como sus tags, incluso dentro de carpetas.Editor por imagen: chips de tags, caption en bruto y navegación con las flechas del teclado.
Trigger word: se antepone automáticamente a todos los captions al exportar.
Herramientas masivas: añadir, quitar, buscar y reemplazar, quitar duplicados, mezclar orden y vaciar tags. Se aplican a las imágenes seleccionadas, o a todas si no hay ninguna seleccionada.
Panel de tags más usados:
Selección múltiple con casillas y buscador.
Los tags marcados acumulan sus imágenes en la galería (modo cualquiera / todos); al desmarcarlos se quitan.
Elimina los tags seleccionados de todas las imágenes, o reemplázalos (tag actual a la izquierda, palabra nueva a la derecha).
Persistente: el dataset se guarda en el navegador (IndexedDB), así que cerrar la pestaña no pierde tu trabajo.
Exportación a ZIP con la estructura de carpetas que usa kohya:
10_trigger/001.png+001.txt.Disponible en inglés (
index.html) e español (esp.html).
Uso
Abre
index.html(inglés) oesp.html(español) en un navegador moderno, o usa la versión alojada en GitHub Pages.Suelta tus imágenes o un ZIP en la zona de carga.
Escribe tu trigger word y edita los tags.
Pulsa Exportar ZIP y usa el resultado en tu entrenador.
Formato de exportación
10_mi_trigger/
├── 001.png
├── 001.txt
├── 002.jpg
├── 002.txt
└── ...El prefijo de la carpeta (
10_) es el número de repeticiones por época, tal como lo lee kohya_ss / sd-scripts. Está fijo en 10; renombra la carpeta si necesitas otro valor.Cada caption es el trigger word seguido de los tags de la imagen, separados por comas.
Si usas otro entrenador (por ejemplo ai-toolkit), las repeticiones se configuran en su archivo de config y el prefijo de la carpeta simplemente se ignora.
Notas
Tus datos nunca salen del navegador. No se sube nada a ningún sitio.
Los datos se guardan por navegador y por dispositivo. Para llevar un dataset a otro lugar, expórtalo como ZIP e impórtalo de nuevo.
La importación de ZIP usa
DecompressionStream, nativo del navegador, así que necesitas una versión reciente de Chrome, Edge, Firefox o Safari. Los ZIP64 (más de 4 GB) no están soportados.Esta herramienta solo prepara datasets. No entrena modelos.
GITHUB repo: https://github.com/Jugglar-seudodev/TagDeck
Online Version: https://jugglar-seudodev.github.io/TagDeck/
Version en linea: https://jugglar-seudodev.github.io/TagDeck/esp.html
Examples








Comments