Skip to content
ChatGPT, Claude, Gemini → .docx + .pdf

Paste the AI answer. Get a real Word file.

Formulas become editable Word equations. Wide tables get their own landscape page. Mermaid diagrams are drawn for you. Free to try, nothing to install.

Every AI writes maths its own way. Mathfold reads all of them.

Five real inputs, five quirks, one engine. Each one becomes a native equation you can edit in Word.

ChatGPT
\[ T(t) = T_{\text{room}} + (T_0 - T_{\text{room}})\,e^{-kt} \]
Becomes
T(t)=Troom+(T0−Troom) e−ktT(t) = T_{\text{room}} + (T_0 - T_{\text{room}})\,e^{-kt}

Newton's law of cooling, or: why your coffee is cold again.

Claude
$$\theta = \omega\sqrt{\frac{2h}{g}} \approx 180^\circ$$
Becomes
θ=ω2hg≈180∘\theta = \omega\sqrt{\frac{2h}{g}} \approx 180^\circ

Why toast lands butter-side down. Robert Matthews worked it out in 1995.

Copied from a chat
[ P = \left\lceil \frac{n \cdot s}{8} \right\rceil ]
Becomes
P=⌈n⋅s8⌉P = \left\lceil \frac{n \cdot s}{8} \right\rceil

Pizzas for a hackathon. The backslashes got lost; the maths did not.

JSON from an API
\\( v_t = \sqrt{\frac{2mg}{\rho C_d A}} \\)
Becomes
vt=2mgρCdAv_t = \sqrt{\frac{2mg}{\rho C_d A}}

Terminal velocity of a spherical cow. About 154 m/s.

AsciiMath
$sum_(k=1)^oo 1/k^2 = pi^2/6$
Becomes
∑k=1∞1k2=π26\sum_{k = 1}^{\infty} \frac{1}{k^{2}} = \frac{\pi^{2}}{6}

The Basel problem. It took Euler until 1734.

Wide tables turn the page for you.

These are the actual pages Word shows for the coffee example. Page 3 holds a nine-column table, so it turns sideways. Page 4 is portrait again.

  • Landscape only where neededOne wide table gets its own landscape page, the rest of the document stays portrait.
  • Columns sized from contentShort numbers stay narrow, long notes get the room, fonts shrink only when they must.
  • Extreme tables are splitForty columns become readable groups that repeat the first column.
  1. Page 1, portrait: title, abstract and the cooling-law equationsp.1
  2. Page 2, portrait: Mermaid diagram and a 14-column table of numbers that still fitsp.2
  3. Page 3, landscape: the nine-column meeting log
    p.3 landscape
  4. Page 4, portrait again: code and conclusionp.4
p.3, zoomedA4 landscape
The meeting log table: nine columns from meeting title to could it have been an email
You paste
```mermaid
flowchart LR
  A[Remember coffee] --> B{Still warm?}
  B -- yes --> C[Drink it]
  B -- no --> D{Microwave nearby?}
  D -- yes --> E[Reheat, feel shame]
  D -- no --> F[Drink it anyway]
```
You getin Word and PDF
The coffee decision flowchart drawn from the Mermaid code

Four looks, one click.

Same coffee, four outfits. Pick a theme before you download; the Word file and the PDF always match.

The coffee paper in the Standard theme
The coffee paper in the Academic theme
The coffee paper in the Modern theme
The coffee paper in the Compact theme

Why not just copy and paste?

Because pasted maths arrives as plain text, wide tables run off the page and diagrams stay as code. Here is how the usual routes compare.

What you needCopy and pastePandocMathfold
FormulasNoPlain text or raw LaTeXYesNative equationsYesNative, editable equations
ChatGPT's \( \) and \[ \] mathsNoArrives as textPartlyNeeds an extension flagYesRead automatically
Formulas that lost their backslashesNoStay brokenNoStay brokenYesRepaired
Wide tablesNoOften run off the pagePartlySqueezed into portraitYesLandscape page when needed
Mermaid diagramsNoCode onlyPartlyNeeds a filterYesDrawn and sized to the page
PDF with the same layoutNoSeparate stepPartlyNeeds a LaTeX installYesOne click
Nothing to installYesWorks anywhereNoCommand-line toolYesRuns in the browser

Start free. Go Pro when it matters.

No card needed to try. Pro removes the watermark and unlocks every theme.

Free

$0

Sign in with Google. That is all.

  • 10 downloads a month
  • First 2 downloads without watermark
  • Standard theme
  • Unlimited live preview
  • 100 API calls a month (watermarked)
Convert now

Pro

$39 /year

Cancel any time. You keep Pro until the end of the paid period.

  • 300 downloads a month
  • No watermark
  • Academic, Modern and Compact themes
  • 1,000 API calls a month and MCP
  • Word and PDF always identical

An API for your apps and AI agents.

Send Markdown, receive a .docx or PDF. Same engine, same layout rules, one API key.

  • RESTPOST /v1/convert with raw Markdown or JSON. OpenAPI spec.
  • MCPClaude, Cursor and other MCP clients create the document themselves.
  • API keysSign in with Google, create a key, watch usage, revoke it any time.
Get an API key

Questions

What is Mathfold?

Mathfold is a web app that converts Markdown and AI chat answers from ChatGPT, Claude or Gemini into Word (.docx) and PDF files. Formulas become native, editable Word equations, wide tables get landscape pages and Mermaid diagrams are drawn automatically.

How do I convert a ChatGPT answer to Word with working equations?

Copy the answer with ChatGPT's copy button, paste it into the Mathfold editor and click Download Word. Formulas written with \( \), \[ \] or dollar signs become native Word equations that you can edit with Word's equation editor.

Are the equations editable in Word?

Yes. They are native Office Math (OMML) equations, the same objects Word creates with Insert, Equation. They also open as editable formulas in LibreOffice. They are never pasted as images.

Which formula formats does Mathfold read?

LaTeX in $…$, $$…$$, \(…\) and \[…\], bare environments such as \begin{align}, AsciiMath, MathML, JSON-escaped LaTeX from APIs, and formulas whose backslashes were lost when copying from a chat. The format is detected automatically.

What happens to tables that are too wide for the page?

Mathfold measures every table. A table that would not fit a portrait page gets its own landscape page and the document continues in portrait after it. Extremely wide tables, such as 40 columns, are split into column groups that repeat the first column.

Does Mathfold support Mermaid diagrams?

Yes. Mermaid code blocks are drawn as diagrams and sized to the page, in both Word and PDF. Wide diagrams can get a landscape page and very tall ones are scaled or split across pages.

Is Mathfold free?

Yes, there is a free plan with 10 downloads a month; the first 2 have no watermark. Pro costs $4.99 a month or $39 a year and gives 300 downloads a month without watermark, all four themes and 1,000 API calls.

Is my document stored?

No. Your Markdown is converted in memory and discarded right after. Mathfold keeps only your account details and a monthly download count.

What does the free watermark look like?

A light diagonal "Mathfold Free" mark behind the text and a small line in the footer. Pro files have neither.

Can AI agents use Mathfold?

Yes. There is a REST API (POST /v1/convert) and a remote MCP server at https://mathfold.com/mcp with a convert_markdown tool, so Claude Code, Cursor and other MCP clients can create Word and PDF files themselves. Both use an API key from the Developers page.

How do I cancel Pro?

On your account page under Plan & billing, or from the link in your receipt email, any time. Pro stays active until the end of the period you paid for.

Who handles payments?

Paddle.com is the merchant of record. Paddle processes payments, invoices and sales tax.