ConvertDuck

Merge Text Files

Combine multiple .txt or .md files into one clean block, in the order you choose.

Select .txt / .md files or drag & drop them here.

1.TXTnotes-1.txt57 B
2.TXTnotes-2.txt59 B

148 chars · 26 words · ~37 tokens (est.)

One Clean Block Instead of Ten Separate Files

Whether you're combining meeting notes, research snippets, or chapters of a draft, this tool merges multiple text files into a single block in the order you set, with a configurable separator and an optional filename heading before each file's content. Everything is read and merged locally in your browser.

How to Merge Text Files

1. Add Your Files

Drag and drop .txt or .md files, or click to select them.

You can keep adding more files at any time before merging.

2. Set the Order

Use the up/down arrows next to each file to arrange them in the order you want them to appear.

3. Choose a Separator and Copy

Pick a blank line, single line break, horizontal rule, or a custom separator, then copy or download the merged text.

Why Use This Instead of Copy-Pasting Manually

  • ✓ Order Stays Under Your Control

    Reorder files with a click instead of cutting and pasting sections by hand.

  • ✓ Optional Filename Headings

    Turn on filename headings to keep track of which section came from which file, useful when assembling context for an AI prompt.

  • ✓ Fully Local

    Files are read directly in your browser using the File API — nothing is uploaded to a server.

Supported Files

File types .txt and .md
Separators Blank line, single line break, horizontal rule, or a custom string

Merging Here vs. Copy-Pasting by Hand

Feature Merge Text Files Manual Copy-Paste
Reordering One click Cut and paste each section
Consistency Same separator every time Easy to forget a line break
Privacy Stays in your browser Depends where you paste it

Frequently Asked Questions

Q. Can I merge more than two files?
Yes, there's no fixed limit — add as many .txt or .md files as you need and reorder them before merging.
Q. What does the filename heading do?
When enabled, each file's content is preceded by its filename as a Markdown heading, which makes it easy to tell sections apart in the merged output.
Q. Can I use a custom separator?
Yes — choose "Custom" from the separator options and type any string, such as a row of dashes.