Toolkit / Web tools I build

ChatGPT LaTeX Fixer and Markdown to PDF Converter

Convert ChatGPT’s equation delimiters to $$, preview the math live, and export a clean PDF.

Built for my own workflow, because the tool I wanted did not exist.

MathJaxMarked.jsRuns in your browserNo upload
Open the converter Read the guide Back to portfolio

Converter

Paste, convert, check the preview, then export.

Ready
Markdown input
Rendered preview

Fix ChatGPT LaTeX equations that do not render in markdown

When you copy an answer from ChatGPT into Obsidian, Notion, Typora, Jupyter, GitHub, VS Code or any other markdown viewer, equations often show up as raw text such as \[ y=X\beta+\epsilon \]. ChatGPT writes math with the \[ ... \] and \( ... \) delimiters, while most markdown renderers expect $$ ... $$ for display equations and $ ... $ for inline ones. This tool converts the delimiters for you, renders the result with MathJax, and lets you export a clean PDF.

How to convert ChatGPT output with LaTeX to PDF

  1. Paste the copied ChatGPT text into the markdown input box.
  2. Press the Convert button. Every \[ ... \] becomes $$ ... $$ and every \( ... \) becomes $ ... $.
  3. Check the live preview on the right to confirm the equations render correctly.
  4. Use Copy converted text to paste the fixed markdown elsewhere, or use Download PDF or Print and Save as PDF to get a file.

What this tool handles

Frequently asked questions

Why are my ChatGPT equations not rendering after I paste them?

The viewer does not recognise the \[ \] delimiters. Converting them to $$ makes the equations render in most markdown tools.

Can I convert markdown with equations into a PDF?

Yes. Download PDF saves a file directly, and Print and Save as PDF produces a vector PDF with selectable text.

Does it work for inline math too?

Yes. Inline \( ... \) is converted to $ ... $, and ordinary dollar amounts in plain text are left alone.