Free tool

Copy ChatGPT LaTeX that Obsidian can draw.

Paste an answer from ChatGPT, Claude or Gemini and copy back Markdown whose formulas Obsidian draws: \(…\) becomes $…$.

Add to Chrome, it’s free Or skip the copying: the extension saves every ChatGPT chat in Obsidian, formulas fixed.

The fixed answer shows here

Drawn the way Obsidian will draw it. Code, links and escaped brackets stay as they are.

Runs in your browser. Nothing you paste is sent anywhere.Saving whole chats? Chat to Markdown puts every ChatGPT chat in Obsidian with formulas already fixed.

In short: To copy LaTeX from ChatGPT into Obsidian, paste the answer here and copy back the Markdown: formulas written as \(…\) become $…$ and \[…\] become $$…$$, which Obsidian, GitHub and Typora draw. Code, links and escaped brackets stay as they are. A selection copied from the page works too: drawn formulas are turned back into TeX.

01The problem

Why ChatGPT formulas break in Obsidian.

ChatGPT, Copilot, DeepSeek, Grok and Perplexity write formulas between \( \) and \[ \], and their pages draw them. Obsidian, GitHub and most Markdown apps draw only $…$ and $$…$$. Pasted as they are, formulas show as backslashes and brackets.

Pasted into Obsidian

The energy is \(E_k = \tfrac{1}{2}mv^2\), so
\[ E_k = 375\,000\ \text{J} \]

After the fixer

The energy is Ek = ½mv², so

Ek = 375 000 J

02How to use it

Copy, paste, copy back.

Either way of copying works: the answer’s copy button, or a selection from the page. Formulas the page has drawn are turned back into TeX.

  1. Copy the answer Click the copy icon under it, or select the answer on the page and press Ctrl C (⌘ C on a Mac). Both work.
  2. Paste it above The preview shows the formulas the way Obsidian will draw them.
  3. Copy Markdown Click Copy Markdown and paste it into your note.

Skip the copy and paste

Chat to Markdown saves every ChatGPT chat in Obsidian with the formulas already fixed, as you chat. Free for 10 chats.

Add to Chrome, it’s free
03The rules

Only formulas change. Everything else stays.

A blind find-and-replace breaks answers with code, links or escaped brackets. The fixer uses the rules of the Chat to Markdown extension, which fixes every ChatGPT chat it saves to Obsidian.

  • Inline formulas. \(v = 25\) becomes $v = 25$.

  • Formulas on their own line. \[ … \] becomes $$ … $$.

  • Code stays code. find . \( -name "*.md" \) is left alone, in blocks and inline.

  • Links stay links. [RFC \[1\]](https://…) keeps its escaped brackets.

  • Not every bracket is math. \[see above\] isn’t a formula, so it’s left as it is.

  • Copied from the page too. Drawn formulas are turned back into TeX, so a selection pastes as clean Markdown.

04Other ways

Saving whole chats? Skip the copying.

An Obsidian plugin such as “Transfer LaTeX from GPT Fix” converts on paste inside Obsidian. Asking ChatGPT to “use $ and $$” works for a while, then drifts back. For every way to get whole chats into a vault, see ChatGPT to Obsidian.

Every ChatGPT chat in your vault, formulas already fixed

The Chat to Markdown extension writes each chat into Obsidian with formulas, code, tables and pictures in order, and keeps the note updated as you keep chatting. Have an export? The ChatGPT to Markdown converter does it once, free.

Add to Chrome, free

Questions

Can’t find your answer? Write to contact@chattomarkdown.com. A person reads every message.

Why does ChatGPT math show as plain text in Obsidian?

ChatGPT writes formulas between \( and \) (inline) and \[ and \] (on their own line). Its page draws those, but Obsidian only draws formulas between $ and $, or $$ and $$. Pasted as is, the formula shows as backslashes and brackets.

Can’t I just find and replace \( with $?

Only if the answer has nothing else with a backslash and a bracket. Answers also contain escaped brackets such as \[1\], regular expressions and shell commands in code, and links whose text has brackets. A blind replace turns those into broken math. The fixer changes only what reads as a formula, and never touches code or links.

Which way of copying should I use?

Either works. The copy button under an answer gives Markdown with \( \) formulas, which the fixer converts. Selecting the answer on the page and copying it gives rich text with drawn formulas; the fixer reads the TeX behind each one and turns the rest of the answer into Markdown.

Does it work with Claude, Gemini and Perplexity?

Yes. Claude, Perplexity, DeepSeek and Grok draw formulas with KaTeX and Gemini keeps the TeX in the page, so a copied selection gives the fixer what it needs. Text with \( \) formulas from any of them is fixed the same way.

Does it work for Typora, GitHub or Notion?

Typora and GitHub draw $ … $ and $$ … $$, so the output works there as it is (in Typora, turn on Inline Math under Preferences → Markdown). Notion keeps formulas in equation blocks instead: type /equation and paste the TeX between the dollar signs into it.

Is my text sent anywhere?

No. The fixer runs in your browser. What you paste never leaves the page.

Stop exporting. Every new chat, saved on its own.

Markdown files from 8 AI chat services, saved on their own and kept up to date.

Add to Chrome

Free for 10 chats, kept up to date. No account needed.

Compare plans