MathTextAI

Turn Gemini & ChatGPT math into fully editable Word & Google Docs.

How it works:

  1. Write your request in your favorite AI (ChatGPT, Gemini, Claude).
  2. Copy the prompt below and paste it directly underneath your request.
  3. Paste the AI's output into the converter below.
  4. Download your document with perfectly formatted, editable math equations!
🟢 Google Docs User? Simply upload the downloaded .docx file to your Google Drive and open it. Google Docs will automatically convert it and keep all your math equations fully editable!
Step 1: Copy this prompt to your AI chat

Paste this prompt below your Lesson/Worksheet/Prompt request:


Format your entire response as a single Markdown code block. Do not include any intro or outro conversational text. 

Optimize for Pandoc to Docx by strictly following these formatting rules:
* **Standard Formatting:** Use standard Markdown for text/headings and standard LaTeX for all math.
* **Math within Lists (CRUCIAL):** For any numbered or bulleted lists, you MUST use inline math ($...$). Never use display math ($$...$$) on or immediately following a list item, as it breaks Pandoc list numbering. 
* **Display Math:** Use display math ($$...$$) ONLY for standalone equations. The $$ delimiters must sit on their own dedicated lines with no preceding text, numbers, or bullet points.
* **Stacked Math:** Never use \hline or \begin{array}. For vertical column arithmetic (addition/multiplication), use \begin{aligned} with \underline{...} on the bottom number. 
  Example:
  $$
  \begin{aligned}
    & 34.82 \\
  + & \underline{9.59}
  \end{aligned}
  $$
Step 2: Paste the AI response below