Markdown to PDF Converter

Turn a Markdown file into a laid-out PDF with headings, lists, tables and code intact.

The Markdown to PDF converter parses and lays out your document on your own device. Internal notes and unreleased changelogs are never uploaded.

Merge the result with other PDFs

About Markdown to PDF

Markdown is written to be read as source, which is exactly why it makes an awkward attachment. A README, a design note or a set of release notes has to become a document before anyone outside the repository will read it comfortably. This converter parses the Markdown properly rather than guessing at it: heading levels become sized headings, ordered lists keep their numbering and their start value, nested bullets stay indented, GFM tables are drawn with real borders and repeat their header row across page breaks, block quotes get a rule down the side, and fenced code is set in a monospaced face on a tinted band. What comes out is a paginated PDF you can send.

Features

How to use the Markdown to PDF

  1. Paste your Markdown, or drop a .md file onto the page
  2. Check the counts of headings, tables and code blocks it found
  3. Choose page size, margins, text size and typeface
  4. Convert and read the preview, then download the PDF

Example

Input

## Release notes

- Faster first paint
- Exports keep the sort order

| Area | Before | After |
| --- | --- | --- |
| Export | 12 s | 4 s |

Output

A PDF with a sized heading, a bulleted list, and a bordered two-row table with a shaded header.

The table header repeats at the top of every page the table spills onto.

Common errors & troubleshooting

Frequently asked questions

Is my Markdown uploaded anywhere to be rendered?
No. Parsing and page layout both run in this tab, so a private README or an unreleased changelog stays on your machine.
Does it understand GitHub-flavoured Markdown?
Yes — tables, strikethrough and fenced code with a language tag are all parsed. Task lists render as ordinary bullets, since a PDF has nothing to tick.
What happens to links in the text?
The link text is kept and the URL is dropped. Write the address out in the text where readers need to be able to type it.
Can I convert several Markdown files into one PDF?
Convert each one and then merge the results — that also lets you control the order and drop a cover page in front.
Why is the code block a different size from the body text?
Monospaced faces run wider per character, so code is set slightly smaller to fit the same column without wrapping every second line.

Related tools

All ArrayKit tools