Free Markdown sample, test and dummy files

Lightweight markup that reads well as plain text and converts to HTML. Download valid Markdown test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.md
MIME type
text/markdown
Kind
Text
Category
Documents

Create a Markdown file of any size

Choose any size from 120 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

Markdown files by size

Every file below is a valid Markdown file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.

Markdown sample files by size
FileSizeContentsDownload
1 KB Markdown samplesample-md-1kb.md 1 KB1,024 bytes Sections: 2 Download Markdown
5 KB Markdown samplesample-md-5kb.md 5 KB5,120 bytes Sections: 12 Download Markdown
10 KB Markdown samplesample-md-10kb.md 10 KB10,240 bytes Sections: 26 Download Markdown
25 KB Markdown samplesample-md-25kb.md 25 KB25,600 bytes Sections: 65 Download Markdown
50 KB Markdown samplesample-md-50kb.md 50 KB51,200 bytes Sections: 131 Download Markdown
100 KB Markdown samplesample-md-100kb.md 100 KB102,400 bytes Sections: 262 Download Markdown
200 KB Markdown samplesample-md-200kb.md 200 KB204,800 bytes Sections: 525 Download Markdown
500 KB Markdown samplesample-md-500kb.md 500 KB512,000 bytes Sections: 1,312 Download Markdown
1 MB Markdown samplesample-md-1mb.md 1 MB1,048,576 bytes Sections: 2,682 Download Markdown
2 MB Markdown samplesample-md-2mb.md 2 MB2,097,152 bytes Sections: 5,363 Download Markdown
3 MB Markdown samplesample-md-3mb.md 3 MB3,145,728 bytes Sections: 8,046 Download Markdown
5 MB Markdown samplesample-md-5mb.md 5 MB5,242,880 bytes Sections: 13,399 Download Markdown
10 MB Markdown samplesample-md-10mb.md 10 MB10,485,760 bytes Sections: 26,768 Download Markdown
15 MB Markdown samplesample-md-15mb.md 15 MB15,728,640 bytes Sections: 40,136 Download Markdown
20 MB Markdown samplesample-md-20mb.md 20 MB20,971,520 bytes Sections: 53,506 Download Markdown
25 MB Markdown samplesample-md-25mb.md 25 MB26,214,400 bytes Sections: 66,872 Download Markdown
30 MB Markdown samplesample-md-30mb.md 30 MB31,457,280 bytes Sections: 80,242 Download Markdown
50 MB Markdown samplesample-md-50mb.md 50 MB52,428,800 bytes Sections: 133,622 Download Markdown
100 MB Markdown samplesample-md-100mb.md 100 MB104,857,600 bytes Sections: 266,987 Download Markdown

What is a Markdown file?

Markdown marks up text with punctuation: a # starts a heading, asterisks add emphasis and a hyphen starts a list item. It is the standard format for README files, documentation and many content systems.

There are several dialects. CommonMark is the strict specification most tools follow, and GitHub Flavored Markdown adds tables, task lists and strikethrough.

How to recognise a Markdown file

Markdown files have no file signature, the magic bytes that most binary formats begin with.

No signature bytes. Markdown files are identified by parsing their content.

Extension.md
MIME typetext/markdown
SpecificationCommonMark; GitHub Flavored Markdown adds extensions
Extensions.md and .markdown
EncodingUTF-8
OutputUsually rendered to HTML

What to test for

These are the behaviours that most often go wrong when software handles Markdown files.

Strengths of Markdown

  • Readable as plain text even before it is rendered.
  • Works well with version control: changes show up as clean line differences.

Limitations of Markdown

  • Several dialects exist, and tables and other extensions are not portable between them.
  • No standard way to express layout, so complex documents need another format.

Typical uses of Markdown test files

  • Testing Markdown renderers and editors
  • Checking sanitisation of rendered HTML
  • Testing documentation pipelines

Software that opens Markdown

  • GitHub, GitLab and Bitbucket
  • VS Code, Obsidian and Typora
  • Documentation generators
  • Pandoc and markdown-it libraries

Specifications

Related

Markdown sample files: questions

Which Markdown features do the samples use?
Headings, emphasis, ordered and unordered lists, links, a pipe table, a fenced code block and a block quote.
What is the MIME type of a Markdown file?
The MIME type is text/markdown. The file extension is .md.
Is a sample Markdown file the same as a dummy or example Markdown file?
Yes. Sample, test, dummy and example Markdown files are different names for the same thing: a Markdown file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy Markdown file.