Markdown to PDF

Paste your Markdown, check the preview, and save a clean PDF with selectable, searchable text. No watermark, no account, nothing uploaded.

Markdown

Paste, type, or drop a .md file here.

0 requests sent since you started — your text stays here.

Preview
Page setup
Layout
Your formatted document appears here.

All the tools

How it works

  1. Paste or upload

    Drop a .md file or paste Markdown from GitHub, Obsidian, Notion, a README, or an AI chat.

  2. Check the preview

    Headings, tables, lists, links and code blocks render live so you can fix typos before exporting.

  3. Export

    Download Word, HTML or text, save a PDF from the print dialog, or copy formatted text straight into Google Docs.

In short

To convert Markdown to PDF, paste the Markdown, pick a paper size, then choose Save as PDF and select "Save as PDF" as the destination in the print dialog. The page is rendered to HTML with print CSS and handed to the browser's own PDF engine, so the text stays selectable and searchable, links keep working, and the file has no watermark.

At a glance
How the PDF is madeYour browser's print engine, from HTML with print stylesheets
Text qualityReal selectable, searchable text — not a rasterised image
Paper sizesA4, Letter, Legal, A5, portrait or landscape
MarginsNarrow (12.7 mm), Normal (20 mm), Wide (31.75 mm)
Page breaksHeadings stay with their text; code blocks and table rows avoid splitting
WatermarkNone
PrivacyThe file never leaves your device

How the PDF is produced

Most online Markdown-to-PDF tools either send your text to a server or rasterize the page into an image and wrap it in a PDF. The first means your document leaves your machine; the second gives you a PDF where you can't select or search the text and file sizes balloon.

This converter renders your Markdown to clean HTML with print-specific CSS, then hands it to your browser's own PDF engine. Click Save as PDF, and in the dialog that opens choose Save as PDF (Chrome, Edge, Brave), PDF in the destination list (Firefox), or the PDF menu in the bottom-left corner (Safari). The result has real text, working links, correct page breaks before headings, and code blocks that don't split across pages.

Tips for a better-looking PDF

Common uses

Turning a project README into a hand-out, exporting Obsidian or Logseq notes for a client, submitting an assignment written in Markdown, producing a printable changelog, or archiving a ChatGPT research answer as a PDF you can attach to an email.

Markdown to PDF from the command line instead

If you convert many files regularly, pandoc notes.md -o notes.pdf (with a LaTeX or wkhtmltopdf backend installed) or the md-to-pdf npm package are the usual choices. For a one-off document, the browser route above is quicker and needs nothing installed.

What makes this converter different

Nothing is uploaded

Conversion runs entirely in your browser. Confidential notes, contracts and internal docs never touch a server, so there is nothing to delete later.

Real formats, not wrappers

The Word export is a genuine .docx with Heading 1–4 styles, numbered and bulleted lists, real tables and hyperlinks — so it behaves like a document someone typed in Word, and Google Docs opens it cleanly.

No limits, no account

Convert as many files as you want, at any size your browser can hold, without signing up or hitting a watermark.

Questions people ask

Why does a print dialog open instead of a direct download?

Because your browser's print engine produces a far better PDF than in-page JavaScript can: real selectable text, embedded fonts, correct page breaks and small file sizes. Choosing 'Save as PDF' in that dialog saves the file locally.

Will the PDF have a watermark?

No. There is no free tier or paid tier — the output is yours with nothing added.

Can I change the page size or margins?

Yes, in the print dialog: pick A4 or Letter, portrait or landscape, and adjust margins. Turning off 'Headers and footers' removes the date and URL.

Does it support code blocks and syntax highlighting?

Fenced code blocks are rendered in a monospace font with a light background and kept on one page where possible. Colour syntax highlighting is not applied, which keeps the PDF small and printer-friendly.

Does converting Markdown to PDF work on a phone?

Yes. On iOS, choose the share icon in the print preview and save to Files; on Android, choose 'Save as PDF' as the printer.