Search AnyKit Tools

Type a tool name, tag, or category to quickly open any tool instantly.

AnyKit
AnyKit App

Combine Markdown

Merge multiple Markdown files into one document with custom separators

Upload Markdown Files

Click or drag Markdown files here

Actions
Options

About the Combine Markdown

Join chapters, notes, meeting minutes or documentation pages into one Markdown file. Drop in the .md files, arrange them in the order you want, pick how they should be separated, and download the merged result. Everything is processed in your browser — nothing is uploaded.

When you need to merge Markdown

  • Turning a folder of per-chapter files into a single manuscript for Pandoc, a PDF export or an e-book.
  • Assembling a project's scattered docs into one README or handbook.
  • Combining daily notes from Obsidian, Logseq or Bear into a weekly or monthly summary.
  • Collecting several contributors' sections into one document for review.
  • Preparing one long file to paste into an LLM, a wiki, or a CMS that accepts a single Markdown field.

Choosing a separator

  • Horizontal rule (--- or ***) — renders as a visible divider; ideal between chapters or unrelated notes.
  • Double line break — a clean paragraph gap with no visual rule; best when the files already start with headings.
  • Single line break — tight joining for fragments that continue each other.
  • No separator — for files that already end with the spacing you want, or when concatenating code-block-only files.

Tips for a clean combined document

Make sure each file begins with a heading at a consistent level (for example ## for chapters) so the merged document has a sensible outline. Front matter blocks (the --- YAML at the top of some files) will appear in the body when combined; strip them first or place the file with front matter first. If relative image paths differ between the source folders, adjust them before merging. After combining, open the result in the Markdown Editor to check the rendered preview, or convert it with Markdown to HTML.

How to use the Combine Markdown

  1. 1Add files. Drop two or more .md (or .txt) files onto the page.
  2. 2Order them. Arrange the files in the sequence they should appear in the final document.
  3. 3Choose a separator. Pick a horizontal rule, double or single line break, or no separator.
  4. 4Download. Click Combine and save the merged Markdown file.

Frequently asked questions

Does combining change the Markdown syntax inside my files?
No. File contents are concatenated exactly as written; only the separator you choose is added between them.
Can I combine files from different folders with images?
Yes, but image links are kept as written. If the files used relative paths to different folders, update the paths afterwards so they resolve from the merged file's location.
Is there a limit to the number or size of files?
No practical limit — the merge is done in memory in your browser, so hundreds of files and multi-megabyte documents are fine.
Are my files uploaded?
No. They are read and joined locally; nothing leaves your device.
All Markdown Tools