Batch Text Editor

Batch Text Editor
The fastest way to manage your text files. Instantly add or remove specific words and tags across thousands of .txt files in a single click. Perfect for managing large datasets, AI training prompts, or any bulk text-editing task.
Load Entire Directories: Scans and loads thousands of files in seconds.
Permanent Batch Edits: Add or remove tags from all files at once.
Safe & Secure: Confirms all permanent actions and prevents creating duplicate tags.
Simple Interface: A clean, no-fuss interface designed for one job: editing text files fast.
Batch Text Editor
A high-performance, standalone desktop application for Windows, designed to perform bulk text operations on large collections of .txt files. This tool was built to solve the challenge of adding or removing a single, consistent tag (like a trigger word for AI image generation) across tens of thousands of text files without manual effort.
The Problem
When working with large datasets, such as caption files for AI model training, you often need to make a uniform change to every file. Doing this manually is impossible, and scripting it can be cumbersome for non-programmers. This tool provides a simple, powerful GUI to solve that problem.
Key Features
High-Speed File Loading: Recursively scans a selected directory and its subfolders to find all
.txtfiles, capable of handling over 100,000 files efficiently.Bulk Tagging: Add a new tag to the beginning or end of every loaded file simultaneously.
Bulk Tag Removal: Remove a specific tag from every file it appears in.
Duplicate Prevention: The application automatically checks if a tag already exists before adding it, ensuring no duplicate entries are created.
Responsive UI: Long-running operations (loading and saving) are handled in the background, so the application never freezes, even with massive numbers of files.
Safety First: A clear, unmissable warning prompt appears before any permanent, multi-file changes are written to the disk.
Standalone Executable: Created with PyInstaller to run as a single
.exefile on Windows, with no need for Python or any other dependencies to be installed.