Markdown → PDF

Convert Markdown or a ChatGPT answer to PDF

ChatGPT and most notes apps write Markdown, which looks like a mess of hashes and backslashes when pasted into a document. Equations suffer most: ChatGPT wraps them in \( \) and \[ \], which many converters print as plain text. This tool reads both those and the usual dollar-sign style, lays the document out on a real page, and saves it as a PDF with selectable text.

How to use it

  1. Paste your Markdown, or open a .md or .txt file. In ChatGPT, use the Copy button under the answer rather than selecting the text, so the equations survive.
  2. Check the preview. Equations, tables, code, task lists and footnotes appear as they will on paper.
  3. Pick A4 or US Letter.
  4. Press Save as PDF and choose “Save as PDF” as the printer in the window your browser opens.

Frequently asked questions

Why do my ChatGPT equations show up as plain text elsewhere?

ChatGPT marks equations with \( \) and \[ \], while many Markdown tools only recognise dollar signs and treat those backslashes as ordinary escaped brackets. Both styles work here, along with LaTeX environments such as align. If you selected the text by hand instead of using the Copy button, the original LaTeX may already be gone.

Why does it open a print window instead of downloading?

Your browser makes the PDF itself, which keeps the text sharp, selectable and searchable instead of turning each page into a picture. Choose “Save as PDF” as the printer. To remove the date and web address from the page edges, turn off headers and footers in the same window.

Why is an image missing from my PDF?

Images that are links to another website are left out, because fetching them would tell that website you opened the document. Images embedded in the Markdown as data URIs are included. The Image to Base64 tool can turn a picture into one.

What is not supported?

Mermaid diagrams appear as their source code, and custom HTML styling is removed. Your document is processed in your browser and is not uploaded, but it is not saved either, so keep your own copy of the Markdown.