Text File Merger

Join any number of text files in your chosen order with a newline, blank line or custom separator, preview the result and download merged.txt.

Text Tools Runs in your browser · no upload

Reviewed 17 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Add the text files — each pick or drop appends to the list.
  2. Reorder with the arrows; that is the merge order.
  3. Choose the separator, merge, then copy or download the result.

Example

Input: part1.txt + part2.txt, separator: blank line

Output: merged.txt with one blank line between the parts

How it works

The selected text files are read in the order you choose and joined with a line break between them. The merged file downloads as a single .txt file.

Files are read locally in the order shown in the list (changed with the arrows), each file's leading and trailing whitespace is trimmed, and the texts are joined with your separator: a newline, a blank line, or custom text inserted exactly as typed.

Worked example

part1.txt and part2.txt merged with the blank-line separator produce merged.txt with exactly one empty line between the two parts.

Edge cases to know

  • Every file's leading/trailing whitespace is trimmed before joining.
  • The preview truncates at 100,000 characters; the download contains everything.
  • Binary files will produce garbage — the tool is for text formats (.txt, .md, .csv, .log, .json).

Limits & compatibility

  • Every file's leading/trailing whitespace is trimmed before joining.
  • Binary files will produce garbage — this tool is for text formats.
  • The preview truncates at 100,000 characters; the download contains everything.

Privacy

Files are read with FileReader locally. Nothing is uploaded or stored.

Related tools

FAQ

Questions about Text File Merger

Are my files uploaded to a server?

No. Files are read locally with the browser's FileReader, joined in memory, and the download is generated on your device — nothing is uploaded or stored, and closing the tab discards everything. That makes the tool suitable for private notes, logs or client documents you would not want passing through a third party.

How do I control the merge order?

Each file you pick or drop is appended to a list, and the up and down arrows move entries within it — the list order is the merge order. Remove any file individually before merging. The list also shows each file's name and character count, so you can sanity-check the contents before committing.

What separators can I put between the files?

Three options: a single new line, a blank line, or any exact custom text you type, such as '; ' or a page-break marker. Note that every file's leading and trailing whitespace is trimmed before joining, so separators apply cleanly between files rather than piling onto stray blank space at their edges.

Why is the preview shorter than the full merge?

The on-screen preview truncates at 100,000 characters so the page stays responsive; the downloaded merged.txt contains the complete text with nothing cut. Check the beginning and end of the merge in the preview, then take the download for the full document — the file is plain UTF-8 text.

Can I merge binary files like images or PDFs?

No — the tool is for text formats such as .txt, .md, .csv, .log and .json. A binary file read as text will produce garbage in the merge rather than an error, so keep binaries out of the list. For documents and spreadsheets, convert or export them to a text format first, then merge here.