AI Text -> DOCX Converter

Paste AI output with LaTeX, preview the conversion, and download a Word-ready DOCX with equations and headings intact.

Input

Paste the full AI response (including headings, lists, and LaTeX).

Tip: For best results, keep headings on their own line and use standard Markdown (#, ##, ###).
Note: Use the AI tool's copy button (ChatGPT, Claude, Gemini). Selecting text and copying manually can reduce quality.

Preview

Click any equation to copy MathML, or download the DOCX.

Quick start

  1. Paste your AI output in the input box.
  2. Keep headings on their own line using Markdown (#, ##, ###).
  3. Use inline math like $x^2$ or display math with $$...$$.
  4. Review the preview and click Download Word.
  5. Open the DOCX in Word and adjust styles if needed.

Supported formatting

  • Headings: # to ######
  • Lists: - or 1. style
  • Bold: **bold**
  • Inline math: $...$
  • Display math: $$...$$
  • Horizontal rules: ---

Example input

# Lesson title: Work and potential energy

## 1. Potential energy

### 1.1 Definition
The potential energy of a body is related to its altitude.
We write it as $E_p$.

- Example: a ball on a shelf.
$$E_p = m g h$$

Expected output: headings become Word styles, lists become bullets, equations stay editable.

Troubleshooting

  • Headings not detected? Put # at the line start.
  • DOCX fails to open? Re-download and open in Word 2016+.
  • Strange symbols? Remove hidden characters from copied AI text.

Best practices

  • Ask the AI to output Markdown and LaTeX explicitly.
  • Use one idea per paragraph for cleaner conversion.
  • Avoid tables and images for now.
  • Use short headings so Word styles stay clean.

Limitations

  • No tables, images, or footnotes yet.
  • Complex LaTeX may need MathJax fallback.
  • Inline HTML is ignored for safety.

Privacy note

Preview and DOCX generation run locally in your browser. If you use PDF export, the formatted document is sent to our server to generate the PDF and is not stored after the request. The contact form is separate and only sends what you submit.

Mini FAQ

Does the converter send my content to a server?

No. Conversion runs in the browser. We do not store your input.

What is the best way to copy AI output?

Use the AI tool's Copy button (ChatGPT, Claude, Gemini). Manual select and copy can lose formatting.

Can I edit equations in Word after download?

Yes. Equations are converted to native Word math objects.

Why are my headings not showing as Word styles?

Ensure the line starts with # and a space, and keep headings on their own line.

What if KaTeX fails on a formula?

Enable the MathJax fallback after adding /assets/js/MathJax/mathjax.js.

Will the preview look exactly like Word?

The preview is close, but Word may apply its own default styles.

Can I use this on mobile?

Yes, the layout is responsive, but large documents are easier on desktop.