Notes have a way of multiplying. A shopping list in one file, tasks in another, a third file of things to remember, and suddenly the document you actually want, everything in one place, does not exist. Merging them by hand means opening each file, copying, pasting, fixing the joins, and repeating until you lose patience or lose a file.
The Text File Merger on Ovatly does the mechanical part for you. Add your text files, put them in the order you want, choose how each one is separated from the next, and download a single combined file. It all runs in your browser, nothing is uploaded, and this guide is plain about the boundaries: only plain text files are accepted, and anything else is skipped and named rather than quietly dropped.
Contents
- Quick answer
- What the merger does to your files
- Choosing a separator and headings
- How to merge text files, step by step
- Worked example: a shopping list meets a task list
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Open the Text File Merger, add your .txt or .md files, arrange them with the Up and Down buttons, pick a separator (blank line, divider line or single line break), decide whether each file gets a name heading, choose .txt or .md as the output, and download. Files of any other type are skipped and named in a message, empty files are skipped, and the whole merge happens locally in your browser.
What the merger does to your files
The merger joins the files in the order shown in its list, and that list is yours to arrange. Every file carries Up and Down buttons, so the running order of the final document is a decision you make on screen, not something decided by file names or the order you happened to add them.
While joining, it quietly cleans the seams. Line endings are normalised, so a file written on one system and a file written on another do not produce inconsistent breaks in the output. Trailing blank lines at the end of each file are tidied away, which is why merged documents made this way do not have the ragged gaps that copy and paste leaves behind. Empty files contribute nothing and are skipped outright, instead of appearing as mysterious blank sections.
What it does not do is edit content. The words inside each file come through as they are; the tool's work is ordering, separating and cleaning the joins.
Choosing a separator and headings
The separator is what lands between the end of one file and the start of the next, and there are three choices. A blank line is the lightest touch: the files read as consecutive sections of one document. A single line break is tighter still, running the files together almost as one continuous text. A divider line puts a visible rule between them, which suits collections where each file should stay clearly its own piece.
On top of that, file name headings are optional. Turn them on and each file's contents are preceded by a heading carrying its name, in the style of a Markdown heading: # shopping.txt, for example. For a merged document you will navigate later, headings earn their keep, because they tell you where each part came from. For a merge that is meant to read as one smooth text, leave them off and let the separator do the work quietly.
Output format is a simple choice between .txt and .md. Pick .md if the merged file is headed for a Markdown tool or a notes app that renders it, and .txt for maximum plainness everywhere else.
How to merge text files, step by step
- Open the Text File Merger and add your files. Stick to .txt, .md and .markdown files; anything else will be skipped.
- Read any skip message carefully. If a file you expected is named there, it was the wrong type, and you will need a text version of it before it can join the merge.
- Arrange the list with the Up and Down buttons until the order matches the document you want, top first.
- Choose your separator, blank line, divider line or single line break, and turn file name headings on if you want each section labelled.
- Choose the output format, .txt or .md, and download the merged file. Open it once to confirm the order and joins look right.
Worked example: a shopping list meets a task list
Say you have two small files: shopping.txt, a plain list of groceries, and tasks.md, a Markdown list of things to do this week. You want one file for the fridge door and the desk alike.
Add both files to the Text File Merger. shopping.txt was added first and tasks.md second, and that is the order you want, so no rearranging is needed. Turn file name headings on, so each section announces itself. With headings on, the output opens with # shopping.txt above the grocery list, and # tasks.md above the tasks. Leave the separator at a blank line, since the headings already mark the boundary. Choose .txt as the output so the result opens plainly anywhere, and download it.
The merged file reads as one tidy document: heading, shopping list, heading, task list, with the trailing blank lines each original ended with tidied away at the joins. Had one of the files been empty, it would simply have been skipped, and had you dropped in a spreadsheet by mistake, the tool would have named it in a message rather than merging in nonsense.
Limitations and honest tradeoffs
Plain text is the whole territory. Only .txt, .md and .markdown files are accepted. Documents from a word processor, spreadsheets and PDFs are not converted or extracted; they are skipped, and the tool names them so the omission is never silent. If your content lives in those formats, save or export a text copy first.
The merger also does not understand structure across files. It will not build a combined table of contents, merge two Markdown files' heading levels into one hierarchy, or remove duplicate lines that appear in more than one file. Each file's contents pass through as written. Ordering, separating and seam-cleaning are the service on offer, and within that scope it is thorough.
Finally, the result is a fresh file. Your originals are untouched, which is safe, but it also means editing the merged copy later does not flow back into the sources. Keep the originals if the merge is something you will want to redo.
Common mistakes
- Adding files in the wrong order and downloading immediately. The output follows the list exactly. Spend ten seconds with the Up and Down buttons first.
- Ignoring the skip message. A named file was left out. If it mattered, the merged document is incomplete until you add a text version of it.
- Expecting other formats to be converted. They are not. A .docx or .pdf dropped in will be skipped, not extracted.
- Merging with headings off, then losing track of the joins. In a long merge, unlabelled sections blur together. Headings cost nothing and save real confusion later.
- Deleting the originals straight away. The merged file is a snapshot. If a source changes, you will want to re-run the merge from the originals.
FAQs
Which file types can I merge? Plain text files only: .txt, .md and .markdown. Any other file you add is skipped, and the tool names it in a message so you know exactly what was left out and why.
Can I choose the order the files appear in? Yes. Each file in the list has Up and Down buttons, and the merged file follows the order you set, top to bottom. Check the order before you download, because the output simply reflects the list.
What separates one file from the next in the output? Your choice of three separators: a blank line, a divider line, or a single line break. You can also turn on file name headings, which put a heading with each file's name above its contents.
Are my files uploaded anywhere? No. The merging happens in your browser, on your device. The files are read locally, joined locally, and the combined file is downloaded straight from the page.
What happens to empty files and messy line endings? Empty files are skipped rather than merged in as blank sections. Line endings are normalised across all the files, and trailing blank lines at the end of each file are tidied, so the joins come out even.
Conclusion
Merging text files is a small job that should stay small: add the files to the Text File Merger, set the order, pick a separator, download one clean document, with nothing uploaded at any point. When the file you need answers about is audio rather than text, our companion guide on finding the duration and bitrate of an audio file shows the same local inspection approach. For more in this series, see the File and Data Conversion guides.
References
- MDN Web Docs, on the File API used to read files locally in the browser: https://developer.mozilla.org/en-US/docs/Web/API/File_API
- Markdown Guide, on the heading syntax the optional file name headings use: https://www.markdownguide.org/basic-syntax/#headings