Launch offer20% off every Pro version until 30 November, applied at checkoutSee the pricesHoliday offer15% off every Pro version until 31 December, applied at checkoutSee the prices
mutewareTeam plans

Free tools / Markdown to PDF

Markdown to PDF

Paste Markdown or open a .md file and save it as a tidy PDF: headings, lists, tables, quotes and code blocks, on clean A4 or Letter pages. The PDF is made by your browser's own print to PDF, so the text stays selectable and searchable, and nothing is uploaded.

Paste Markdown, for example an answer from ChatGPT, Claude or Gemini

Built with marked and fflate (both MIT), served from this site.

Is there personal data in what you are about to paste into an AI chat? Scrub it first, also in your browser.

How it works

Paste or open

Paste Markdown, such as an AI answer or a README, or open a .md file. Check the preview.

Save as PDF

Press the button and choose "Save as PDF" as the printer. Pick A4 or Letter and the margins there.

Need Word instead?

Download a .docx from the same page, or copy with formatting into an email.

Questions

Why does a print window open?

Every modern browser can save a page as a PDF, and it does that better than a script: real text, proper fonts and page breaks. The page sends only the formatted document to the print window. Choose "Save as PDF" (or "Microsoft Print to PDF") as the printer.

Is my text uploaded?

No. The document is formatted by JavaScript on this page and the PDF is made by your own browser. Nothing is sent to us or anyone else, and there is no account.

Can I remove the date and address at the top and bottom?

Yes. In the print window, open "More settings" and switch off "Headers and footers".

How do I keep a table or code block on one page?

Table rows and headings are kept together where possible. For a long table, choose a smaller scale in the print window, or landscape orientation.

What is converted?

Headings, paragraphs, bold, italic and strikethrough, inline code and code blocks, lists with nesting, task lists, tables with column alignment, block quotes, horizontal rules and links. Images are shown as their description.

More free tools

Do this on any page in one click

Copy for AI turns a selection or a whole web page into clean Markdown, without menus, ads or tracking links. Free, no account.