topdf.mdno accounts · no uploads · no cookies

Markdown to PDF: paste, proof, save.

Paste any Markdown, including raw output from ChatGPT or Claude, and download a typeset, print-ready PDF. Free, instant, and private: your document never leaves the browser.

Convert ChatGPT to PDF →Convert Gemini to PDF →Convert Claude to PDF →

165 words · ≈1 page
Theme
Source · .md
Proof · PDF previewlive · 1:1

How it works

How to convert Markdown to PDF

01

Paste your .md

Any Markdown works: README files, notes, or an answer copied straight out of ChatGPT or Claude.

02

Proof the page

The right-hand sheet is your live proof: real typography, tables that behave, code that stays legible.

03

Save as PDF

One click hands the sheet to your browser’s print engine. Pick “Save as PDF” and it’s on your desk.

Typeset quality

What your Markdown actually looks like

Every crop below is the real engine rendering real Markdown, not a screenshot. Here is how the sheet handles the parts most converters flatten: heading hierarchy, code, tables, and lists.

Real serif hierarchy

Design review

Body copy sets in Fraunces at a comfortable measure. Emphasis reads as emphasis, and weight marks what matters. The heading above is the same typeface sized up, not a different font bolted on.

Syntax in grayscale, not rainbow
export async function typeset(md: string) {
  // highlighting is weight and shade, never hue
  const html = await render(md)
  return html.trim()
}
Tables that align themselves
Format Domain Status
PDF topdf.md
Word toword.md soon
HTML tohtml.md soon
Quotes and task lists

Markdown in. Beautiful PDF out.

  • Ordered and task lists
  • Block quotes
  • Custom themes, coming soon

Privacy

Your document never leaves your browser

Parsing, typesetting, and the PDF itself all happen with JavaScript running in your tab. There is no server in the loop: the text you paste is never uploaded, logged, or stored anywhere. Close the tab and it is gone.

Comparison

Which Markdown to PDF converter should you use?

Markdown to PDF is not a new problem. Pandoc has handled it from the command line for years. VS Code has extensions that convert without leaving the editor. Upload sites will render a PDF too, if you do not mind sending your document to their server first. topdf.md is a fourth option: paste, proof, download, all inside the tab you already have open.

Dimensiontopdf.mdpandocVS Code extensionsUpload converters
Install requiredNone, runs in your browserCLI, plus a LaTeX engine (e.g. xelatex) for PDF outputA VS Code extension (bundles its own Chromium)None
Where your document goesNever leaves your browserStays on your machineStays on your machineUploaded to their server
Typographic controlPrint CSS, real typography by defaultFull control via LaTeX templatesDepends on the extension's CSSVaries by site
Best forInstant, one-off documents, ChatGPT and Claude outputBatch conversion, CI pipelines, LaTeX-grade typesettingConverting without leaving the editorQuick jobs when you do not mind uploading

Reach for pandoc if you need LaTeX-grade control, custom templates, or you are converting a batch of files in a script or CI job. topdf.md does not do batch conversion. Stay in a VS Code extension if you already live in the editor and just want a quick local export. topdf.md is built for the other case: no install, no upload, one document at a time, typeset the moment you paste it.

Questions

How do I convert Markdown to PDF?

Paste your Markdown into the source pane and the typeset preview updates as you type. Press “Download PDF”, then choose “Save as PDF” in the print dialog. The whole conversion happens in your browser.

Is topdf.md free?

Yes. No signup and no page limits. Custom themes and a document API for AI agents are planned as paid extras, but the converter itself stays free.

Is there a watermark on the PDF?

No. Never. What you see in the proof pane is exactly what prints, with nothing added and no “made with” footer anywhere on the page.

Is my document uploaded anywhere?

No. Rendering and PDF generation run entirely in your browser; nothing is sent to a server, stored, or logged. Close the tab and the document is gone.

Which Markdown features are supported?

GitHub-flavored Markdown: headings, tables, task lists, strikethrough, blockquotes, footnote-style links, images by URL, and fenced code blocks with syntax highlighting.

How do page breaks and page numbers work?

The proof pane paginates automatically to the page size set in the print dialog, so there is no manual page-break syntax to learn yet. Free users get page numbers the same way as always: turn on “Headers and footers” in the browser's print dialog before saving. Pro adds real page numbers plus a custom header, footer, and logo in the Document panel, confirmed working in Chrome; Safari and Firefox don't support that yet, so those two fall back to the print dialog too.

Does topdf.md work on Mac, Windows, and mobile?

Yes. It is a web page, not an app, so it runs in any modern browser on any device. Saving to PDF uses that browser's own print dialog, which looks a little different on Mac, Windows, and mobile but works the same way everywhere.

Can I turn ChatGPT or Claude output into a PDF?

That is exactly what topdf.md is for. Copy the raw answer out of ChatGPT or Claude, paste it here, and save a clean, typeset PDF instead of a mangled Word paste.