Free & Open Source

Merge Files for AI Tools

Combine multiple code files into a single text file. Perfect for sharing your codebase with ChatGPT, Claude, Copilot, and other AI assistants.

MergeFiles Screenshot

Powerful Features

Everything you need to prepare your code for AI tools

Drag & Drop

Simply drag files or folders into the window. All matching files are automatically added to the list.

Smart Filtering

Control which files are included with allow.txt and ignore.txt. Exclude node_modules, bin, obj automatically.

AI-Ready Output

Merged files include automatic headers with file list and metadata - perfect context for AI assistants.

Include Override

Need a specific file from an ignored folder? Use include.txt to override exclusion rules.

Encoding Detection

Automatically detects UTF-8, UTF-16, and UTF-32 with BOM. No more encoding issues.

Modern Dark UI

Beautiful dark theme with smooth animations. Available in WPF and WinForms versions.

How It Works

Three simple steps to merge your files

1

Add Files

Drag & drop folders or files, or use the "Add Folder" button to select a directory.

2

Review List

Check the file list. Remove any files you don't need or configure filters.

3

Merge & Share

Click "Merge" to create a single text file ready to share with AI tools.

AI-Optimized Output

The merged file includes everything AI tools need to understand your code

===== MERGED FILE INFO ===== This file contains the merged contents of multiple source files. Each file's content is separated by a header showing the file name. Total files: 5 Generated: 2026-01-01 12:00:00 Files included: - App.xaml.cs - MainWindow.xaml - MainWindow.xaml.cs - Services/ApiService.cs - Models/User.cs ===== FILE CONTENTS ===== ===== App.xaml.cs ===== using System.Windows; namespace MyApp; ...

Download MergeFiles

Choose the version that works best for you

WPF Version

.NET 10.0 (LTS) - Modern UI
Latest: v2.0.1
Download

WinForms Version

.NET 9.0 - Classic UI
Latest: v2.0.1
Download