Markdown to PDF

Paste Markdown or open a .md file, pick A4 or US Letter and your margins, then press Save as PDF. This page lays the document out for print and hands it to your browser’s own print window, where you choose Save as PDF. Free, unlimited, no watermark, and the file is never uploaded.

  1. 1Paste or open
  2. 2Pick page and margins
  3. 3Save as PDF

1Paste Markdown or open a file

Or drop a .md file on this box. Files stay on your device.

2Page and PDF

Your file stays in your browser; it is not uploaded. No cookies unless you accept: what we count.

How to convert Markdown to PDF

  1. Paste or open. Paste Markdown (an AI chat answer, a README, notes), or press Open .md file.
  2. Pick the page. A4 or US Letter, margins, sans-serif or serif, 10 to 12 pt. The white page on the right is drawn to the same proportions.
  3. Press Save as PDF. Your browser's print window opens. Set the printer (Destination) to Save as PDF (on Windows you may see Microsoft Print to PDF instead). If the window has a Headers and footers option, untick it for a clean page, then save.

We say it plainly: the PDF is made by your browser's own Save as PDF, not by our server. That is why there is no upload, no daily limit and no watermark, and why text in the PDF stays selectable and searchable.

What we tested

On 10 November 2026, in Chromium 156 on macOS, we printed our sample to PDF with this page's print layout and read the files back:

SettingPDF page sizePagesWhat was on the page
A4, 20 mm margins595 × 842 pt (210 × 297 mm)1The whole sample; text can be selected and searched
US Letter, 20 mm margins612 × 792 pt (8.5 × 11 in)1The whole sample; text can be selected and searched
A4, 12 mm, each # heading on a new page (sample plus a second # heading)595 × 842 pt2The second # heading started page 2

Headings, the table with its right-aligned cost column, the checklist and the code block all printed; the site's menu, buttons, cookie notice and footer did not. Code blocks and table rows are kept from splitting across pages where they fit on one page.

Common problems

  • The date, page title or web address shows at the top or bottom. Those are the browser's own headers and footers. Untick Headers and footers in the print window, if it has that option.
  • The page size is wrong. Some print windows override the page size; set Paper size there to match.
  • On a phone there is no Save as PDF. Phone browsers differ and we have not tested them. If yours has no PDF option, use Download .html and print it from a computer.
  • Images are grey boxes. This page does not load images from other websites, for privacy. Images stored in the file as data print.

Honest limits

  • The PDF comes from your browser, so small layout details can differ between Chrome, Edge, Firefox and Safari. We tested Chromium only.
  • No page numbers inside the page, no table of contents, no maths and no diagrams.
  • Your text is not saved here. Nothing is uploaded; the file is read in your browser.

Created by Saad Danish. Tested in Chromium 156 on macOS on 10 November 2026: PDFs printed from the sample on A4 and US Letter, checked for page size and content.
Last checked 10 November 2026.

Report a problem or suggest a feature

More free tools