Merge Markdown
Drop several .md files, drag to reorder, and get one combined document — right in your browser.
Your files never leave your device.
Drop .md files here, or
Up to 2,000,000 characters total
Merging…
Merged Markdown ready
Download .mdAbout Merge Markdown
One document, in your order
Merge Markdown joins several .md files into a single document. The files merge in the exact order of the list — drag a row to move it, and the combined output follows. Order is your intent, so nothing is sorted or rearranged behind your back. Everything happens locally in your browser: your files are read on your own device and the combined file is offered for download. Nothing is uploaded, stored, or sent to a server.
Your documents' bodies are never touched
Each file's content is preserved exactly — it is not re-parsed, re-wrapped, or reformatted. The only change at a join is a single blank line between documents, so the last line of one file can't run into the first heading of the next. Blank lines, indentation, and the text inside every document survive byte-for-byte; the tool only joins your files, it never rewrites them.
Empty files and edge cases
A file that is empty or only whitespace is skipped so it can't add a stray blank gap — the rest merge normally. Merging a single file just returns that file (tidied of leading and trailing blank lines). There is a generous total-character limit that protects your browser from running out of memory on an enormous pile of files; you're very unlikely to reach it with normal Markdown.
Merge without uploading — your files never leave your device
Unlike most online mergers, this tool runs entirely in your browser using JavaScript. Your Markdown files are never uploaded to a server, never stored, and never leave your device — so drafts, notes, and documents stay private.
Frequently asked questions
- Does this upload my files?
- No. Merging runs entirely in your browser with JavaScript — your files are never sent to a server and never leave your device. You can verify it yourself: open your browser's developer tools, switch to the Network tab, and merge some files — you'll see no upload request.
- In what order are the files combined?
- In the order of the list you see. Drag any row by its handle to move it; the merged document follows that order exactly. Nothing is sorted for you — the arrangement is your decision.
- Will merging change the content of my files?
- No. Each file's body is preserved exactly — it is only joined, never re-parsed or reformatted. The single change at a join is a blank line between documents, so one file's last line can't collide with the next file's first heading.
- What separates one file from the next?
- A single blank line. That's enough to keep each document's structure intact (a heading right after a blank line is still a heading) without inserting any visible divider that wasn't in your files.
- What happens to an empty file?
- It's skipped, so it can't add an empty gap to the result. Every non-empty file merges in its place in the order you set.
- Is there a limit?
- There's a generous total-character limit across all the files, purely to protect your browser from running out of memory on an enormous pile. Normal Markdown won't come close. There's no account or signup.
More Markdown tools, coming soon
Split, compare, convert, and more — all free and all in your browser.
Back to all tools →