Need AI Training/Help?CloudYeti.io/meet
MarkdownMe
Merge and split Markdown guide

Merge a Docs Folder Into a Single Markdown File

Select every file in a docs folder, order them, and join them into one document with filename headings so each source stays identifiable.

Direct answer

In Merge mode, use the file picker to select all the .md files in the folder at once, or drag the whole selection onto the drop zone. Reorder them to match the reading order of your docs, choose the filename-heading separator, then download the combined file. The heading keeps the origin of each section visible, which matters when a merged handbook is later reviewed.

Open Merge & Split Markdown tool

When to use this

  • You want a printable or shareable single-file version of a docs site.
  • An AI assistant should read the whole documentation set in one paste.
  • You are archiving a project and want one file instead of a folder.

Steps

  1. Open the Merge tab.
  2. Select every .md file in the folder in the file picker.
  3. Reorder the list so the introduction comes first.
  4. Choose the filename heading separator, at H1 or H2 level.
  5. Press Download to save the combined file.

Example conversion

Input
01-intro.md, 02-install.md, 03-config.md, 04-faq.md
Result
# 01-intro

...

# 02-install

...

# 03-config

...

# 04-faq

...

Common mistakes

  • Numbered filenames sort predictably; unnumbered ones do not. Rename files before selecting them if the order matters and you do not want to reorder by hand.
  • Nested folders are not walked. A file picker selection is flat, so pick the files you want from each folder.
  • Front matter blocks from a static site generator are copied as-is and will appear mid-document. Strip them first if the merged file is for human reading.

FAQ

Can I select a folder instead of files?
The tool takes a multi-file selection, not a folder walk. Open the folder in the picker and select all the files inside it.
Does the merge keep the original files?
Yes. Nothing on disk is modified. The tool only reads the files and builds a new combined document for download.
What separator should I choose?
A filename heading when readers need to know where each section came from; a horizontal rule for a clean read; nothing when the files are already parts of one continuous document.

Related merge and split guides