ChatGPT to Word converter

Paste a ChatGPT answer, get a .docx with real headings, nested lists, editable tables, code that keeps its indentation and equations. Free, in your browser.

Add to Chrome The extension adds an "Export to Word" button under every ChatGPT, Claude, Gemini and DeepSeek answer. No copying.
Free · no sign-up

Here's a structured comparison of the three caching strategies:

1. Overview

  • Write-through: every write goes to the cache and the database
    • Simple consistency model
    • Higher write latency
  • Write-back: the cache absorbs writes and flushes later
    • Fast writes
    • Risk of data loss on crash
  • Write-around: writes bypass the cache entirely

2. Trade-offs

StrategyRead hit rateWrite latencyConsistency
Write-throughHighHighStrong
Write-backHighLowEventual
Write-aroundLowerLowStrong

3. Example

def get(key):
            if key in cache:
                return cache[key]
            value = db.read(key)
            cache[key] = value
            return value

The expected read latency is L = h · tc + (1 − h) · td, where h is the hit rate.

Let me know if you'd like a diagram of the write-back flush cycle.

Converted in your browser. Your file never leaves your device.
1

Copy the answer

Use the Copy icon under the ChatGPT message. It puts the raw Markdown on the clipboard, which is what you want.

2

Paste and check

The preview shows the document as Word will open it. Nested lists, the table, the code block and the formula are all there.

3

Download .docx

Open it in Word, Google Docs or LibreOffice and keep editing. Or skip steps 1 and 2 with the extension.

Why pasting ChatGPT into Word loses the formatting

ChatGPT writes its answers in Markdown and renders them to HTML in the browser. When you select the rendered answer and paste it into Word, Word receives that HTML, and the result looks almost right while being structurally wrong. Headings arrive as Normal paragraphs with a bigger bold font, not as Heading styles, so the navigation pane is empty and a table of contents cannot be built. Tables come in as web tables stretched to 100% width with no borders. Code blocks become paragraphs in Consolas whose leading spaces collapse, which breaks Python indentation. Nested lists flatten to one level or turn into lines that begin with a literal bullet character. Equations, which ChatGPT renders with KaTeX, paste as a jumble of letters, or as an image you cannot edit. If ChatGPT was in dark mode, you may also get white text on a white page.

The fix is to bypass the rendered HTML and convert the Markdown itself. The Copy icon under each answer puts that Markdown on the clipboard. Paste it here and every construct is mapped to the real Word object: ## to Heading 2, pipe tables to Word tables with a header row, fenced code to shaded monospace paragraphs with preserved spacing, nested bullets to Word's multilevel list numbering.

ChatGPT's Markdown dialect

ChatGPT emits GitHub Flavored Markdown with a few habits worth knowing. Answers often start at ## or ### rather than #, so by default the converter promotes headings until the top level is Heading 1; switch that off if you are assembling several answers into one document. Bold labels such as **Step 1:** are used as pseudo-headings and are kept as bold text. Nested lists are indented by two or three spaces, both of which are accepted. Inline math appears as $…$ and as \(…\), display math as $$…$$ and \[…\]; all four forms are detected. Web-search answers carry citation chips that copy as 【12†source】 tokens, which are removed by default or kept as [12]. Horizontal rules between sections are preserved, and emoji in headings are kept as characters.

Tables and equations survive

Pipe tables become native Word tables with a shaded header row and column widths estimated from the content, so a comparison table with inline code or **bold** in cells arrives editable. For equations, the free converter shows them rendered in the preview and writes the LaTeX source in a monospace run in the file. Pro converts $…$ and \(…\) into Word's native equation objects (OMML), which you can edit with Word's equation tools, and inline equations stay inline with the text baseline instead of breaking the line. See Markdown to Word with equations for the details.

How the extension adds a button to the page

The MDtoDOCX extension runs a small content script only on chatgpt.com, claude.ai, gemini.google.com and chat.deepseek.com. It watches for message containers and adds a "Word" button next to the existing Copy button under each answer. When you click it, the extension reads the same Markdown source that the site's own Copy button uses, rather than scraping the rendered HTML, so nothing is lost. The conversion runs inside the extension, on your machine, and a file named after the first heading is downloaded. There is also a PDF button. The extension does not read your conversations in the background, does not need an account, and requests no permissions beyond those four sites.

Claude to Word

Claude also writes Markdown, with a slightly stricter heading discipline and long answers that use # headings at the top level. Copy an answer with the copy control below the message and paste it here. For content Claude placed in an Artifact, open the Artifact and copy from there; the Markdown comes through intact. Display math uses $$. The extension adds the same Word button on claude.ai.

Gemini to Word

Gemini has a built-in "Export to Docs" action, but it targets Google Docs only and drops code-block formatting and table borders. Its Copy control gives you Markdown, which converts here into a .docx with real Heading styles that Google Docs also opens correctly. Gemini favours bold lead-ins on list items and tables with header rows, both handled. The extension adds the Word button on gemini.google.com.

DeepSeek to Word

DeepSeek answers frequently contain heavy math in \[ … \] blocks and a "thinking" section before the answer. By default only the final answer is converted; enable the reasoning block in the extension's options if you want it included as a shaded section. Math is handled the same way as ChatGPT's, with Pro producing editable Word equations. The extension adds the Word button on chat.deepseek.com.

Paste into MDtoDOCX vs extension vs paste into Word

What mattersPaste into MDtoDOCXMDtoDOCX extensionPaste straight into Word
Headings usable by Word's TOCYes, native Heading stylesYesNo, bold Normal text
Nested listsWord multilevel listsSameFlattened or literal bullets
TablesEditable, header row shadedSameBorderless web table
Code indentationPreservedPreservedLeading spaces collapse
EquationsLaTeX source; native Word math with ProSameGarbled text or image
Citation markers like 【1†source】Kept as written; delete them in Word with find and replaceKept as writtenKept as written
Steps per answerCopy, paste, downloadOne clickCopy, paste, fix formatting
PrivacyLocal, nothing uploadedLocal, four sites onlyLocal

Frequently asked questions

How do I get the Markdown out of ChatGPT?
Hover over the answer and click the Copy icon under it. ChatGPT copies the raw Markdown, not the rendered text. Paste that into the left pane. Selecting the text with the mouse and copying gives you rendered HTML, which works too but with less reliable results for code and math.
Why do headings disappear when I paste ChatGPT straight into Word?
Word receives HTML in which headings are styled paragraphs, not Word Heading styles. They look right but the navigation pane and table of contents do not see them. Converting the Markdown here writes real Heading 1 to Heading 6 styles.
Are the tables editable in Word?
Yes. Pipe tables become native Word tables with a header row, borders and estimated column widths. You can add rows, sort and restyle them. Inline bold and code inside cells is kept.
What happens to equations?
Free shows them rendered in the preview and writes the LaTeX source in a monospace run in the .docx. Pro converts $…$, \(…\), $$…$$ and \[…\] into native Word equations you can edit with the equation editor. Inline equations stay inline.
Does the extension read my conversations?
No. It only acts when you click the Word or PDF button under a specific answer, reads that answer's Markdown, converts it locally and downloads the file. It runs on chatgpt.com, claude.ai, gemini.google.com and chat.deepseek.com only, and needs no account.
Does this work for Claude, Gemini and DeepSeek too?
Yes. All three output Markdown. Copy the answer and paste it here, or use the extension, which adds the same button on each site. DeepSeek's reasoning block is excluded by default and can be included from the extension options.
Can I export ChatGPT to PDF instead of Word?
Yes. Click Download PDF here, or use the ChatGPT to PDF page, which explains page breaks, code blocks that never split across pages, and print quality.
What are the 【n†source】 tokens and can I remove them?
They are citation chips from ChatGPT's web search, copied as text. By default the converter removes them. Choose Keep as [n] in the options to turn them into numbered references instead.
Is exporting ChatGPT to Word free?
Yes. Headings, lists, tables, code, links, quotes and up to ten images convert free with no account. Free files carry a one-line footer credit. Pro removes it and adds native equations, table of contents and page numbers.