TextMerger is a cross-platform desktop application that lets you collect, preview, and merge content from multiple files into a single, clean output — ready to copy, save, or paste into any tool (including AI prompts).
- Why TextMerger?
- Features
- Supported Formats
- Installation
- Building from Source
- Contributing
- AI Disclosure
- License
When working with AI assistants, code reviews, or documentation tools, you often need to feed them the contents of many files at once. TextMerger makes that effortless:
- Drop a folder in, exclude what you don't need, and copy everything in one click
- Keep multiple merge sessions open simultaneously with tabs
- Works with source code, notebooks, PDFs, CSVs, and more — not just plain text
- Drag & drop files and entire folders directly into the window
- One-click copy — the merged output is always one click away from your clipboard
- Save to file — export the merged result to a new file at any time
- Automatic refresh — files are re-read at configurable intervals, so the output stays up to date
- Tabbed interface — run multiple independent merge sessions without losing work; create, rename, reorder, and close tabs freely
- Smart file exclusions — define global patterns (e.g.
node_modules,.git,*.lock) to automatically skip unwanted files and folders - Per-file visibility controls — hide or show individual file contents in the output without removing the file from the list
- Content truncation — set a character limit per file to keep the output manageable; expand individual files when needed
- File headers preserved — even when content is filtered or truncated, file paths are kept in the output for full context
- Toggle preview — quickly show or hide the full merged output while you're still organizing files
- File type icons — at-a-glance recognition of each file's type
- Customizable keyboard shortcuts — with category-based filtering to quickly find what you need
- Multi-language support — English, Italian, German, French, Spanish
- Light / Dark theme
- Full keyboard navigation — the entire interface is accessible without a mouse
| Category | Extensions |
|---|---|
| Source code | .py .js .ts .rs .c .cpp .java .go .rb .php .swift .kt and more |
| Web | .html .css .scss .jsx .tsx .vue .svelte |
| Config & markup | .json .yaml .toml .xml .md .ini .env |
| Data & documents | .csv, PDF, Jupyter Notebooks (.ipynb) |
Download the installer from the Releases page:
| Format | Description |
|---|---|
.exe |
NSIS installer (recommended) |
.msi |
MSI installer for enterprise deployment |
sudo apt install ./textmerger_x.x.x_amd64.deb# Fedora
sudo dnf install textmerger-x.x.x-1.x86_64.rpm
# RHEL/CentOS
sudo yum install textmerger-x.x.x-1.x86_64.rpm
# openSUSE
sudo zypper install textmerger-x.x.x-1.x86_64.rpmyay -S textmerger
# or
paru -S textmergerchmod +x textmerger_x.x.x_amd64.AppImage
./textmerger_x.x.x_amd64.AppImageTip: Use AppImageLauncher to integrate AppImages with your desktop environment.
Prerequisites & build steps
Prerequisites:
Linux system dependencies:
# Debian/Ubuntu
sudo apt-get install -y libwebkit2gtk-4.1-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
# Fedora
sudo dnf install -y webkit2gtk4.1-devel librsvg2-devel gtk3-devel libappindicator-gtk3-devel patchelf
# Arch Linux
sudo pacman -S webkit2gtk gtk3 cairo gdk-pixbuf2 glib2 pango libappindicator-gtk3Build:
git clone https://github.com/pierspad/textmerger.git
cd textmerger/textmerger
npm install
npm run tauri dev # development mode
npm run tauri build # production build → src-tauri/target/release/bundle/Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.
This project was developed with the assistance of Large Language Models, used to support code writing and documentation.
This project is licensed under the GPL v3 License — see the LICENSE file for details.
