Turn Markdown into a PDF

Markdown

Paste text below or choose a .md file.

Paper
Layout
Margins
Text size
Page numbers

First page preview

Add Markdown to see the page.
Add Markdown first.

Paste Markdown or choose a .md file, review the first page, then make a PDF without uploading the source. Choose US Letter or A4, portrait or landscape, margins, text size and page numbers before converting. The result is reopened, every page is rendered, expected selectable text is compared in order, and safe links are counted before download.

How to turn Markdown into a PDF

  1. Add the Markdown

    Paste Markdown into the source panel or choose a .md file. The text stays in this browser tab.

  2. Set the page

    Choose US Letter or A4, portrait or landscape, margins, text size and page numbers.

  3. Check the preview

    The first PDF page appears before conversion so you can review the layout.

  4. Convert and verify

    The output is reopened. Every page is rendered, expected selectable text is compared in order and safe links are counted before download.

What this version draws

The writer covers CommonMark text structures plus tables. It does not run plugins, execute HTML, fetch remote media or turn diagrams into pictures. The visible page uses standard PDF fonts, so unsupported characters stop the job with a specific error. A markdown to pdf converter that silently drops a character is worse than one that stops.

The preview is a real conversion, not a mock-up. Changing the paper, orientation, margin, text size or page numbering rebuilds it from the same source text, and the line under it reports how many pages the document takes at those settings. A layout problem you would otherwise meet after downloading shows up while a different setting still costs one click.

The receipt separates writing from proof. A valid PDF structure is not enough: every page must reopen and render, expected text must remain selectable in order and every safe link annotation must still be present.

Questions

Does the Markdown leave my browser?
No. The source, generated PDF and page preview stay in this browser tab.
Which Markdown is supported?
Headings, paragraphs, bold, italic, safe links, ordered and unordered lists, blockquotes, fenced code, thematic breaks and tables are supported.
What is refused?
Raw HTML, scripts, CSS, embedded or remote images, Mermaid diagrams and unsafe link schemes are refused. This version also refuses characters the bundled PDF fonts cannot draw instead of dropping them.
Can a link load content during conversion?
No. The tool never follows a link. It writes safe http, https and mailto addresses as PDF link annotations, then checks that the annotations survived.
How is the PDF checked?
The tool opens the new PDF with an independent reader, renders every page, checks page count and compares the expected selectable text in order. At least 98% must remain.
Why can some Unicode text be refused?
This first release uses the standard fonts bundled with PDF readers. Text outside those fonts is refused with an error rather than replaced with empty boxes.

The other pdfpix tools

All 30 of them run in a browser tab like this one. Each reads its own output back and checks it before offering the download, and none of them needs an account.

Where to go next