Skip to content
Markdown to PDF

Export ChatGPT Answers with Math to PDF (Without Broken Equations)

Why equations from ChatGPT and Claude break when you save them, and a reliable way to export AI answers with LaTeX math, tables and code to a clean PDF.

Updated · 4 min read

You ask ChatGPT to explain a formula, the answer looks perfect — and then you try to save it. Printing the chat page includes the sidebar and cuts off long lines, and pasting into a document turns every equation into something like \frac{a}{b}. Here’s why it happens and how to get a clean PDF.

Why equations break

AI assistants write their answers in Markdown with LaTeX math. Most of them use these delimiters:

  • \( … \) for inline math, like \(E = mc^2\)
  • \[ … \] for display equations

Many Markdown tools only understand dollar signs ($…$ and $$…$$), so they show the backslash version as raw text. Word processors don’t understand either.

The reliable way

  1. In the chat, click the copy button under the answer. This copies the original Markdown — the best starting point.
  2. Open the ChatGPT to PDF tool and paste.
  3. If you see stray citation markers such as 【4:0†source】 or bullets like •, choose Tools → Clean up.
  4. Give the document a title in the name box — it becomes the PDF file name.
  5. Click Download PDF and save.

Both \(…\)/\[…\] and $…$/$$…$$ are rendered with KaTeX, so an answer containing

\[
\int_0^1 x^2\,dx = \frac{1}{3}
\]

comes out as a properly typeset equation in the PDF.

Copying formatted text instead

If you select the answer with your mouse and copy it, you get formatted text rather than Markdown. That works too — the editor converts rich text to Markdown on paste — but equations may arrive as plain characters. When math matters, prefer the copy button.

Saving a whole conversation

Paste each part you want and label them:

## Question

What is compound interest?

## Answer

Compound interest means…

Turn on Style → Document → Table of contents if the conversation is long.

Privacy

Everything above happens in your browser. Your conversation isn’t uploaded to us or anyone else, and nothing is stored beyond your browser’s local autosave.

Try it on your own document

Free, private and right in your browser — no signup.

Open the editor