ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

Pasting an AI answer into Word breaks tables, code and formulas: how to fix it

Pasting an AI answer into Word breaks tables, code and formulas: how to fix it You finally got a good answer out of your AI assistant: a comparison table, a Python snippet, a couple of equations. You select the reply, copy it, paste it into Word - and the table is a wall of tab-separated text, the

dev.toFreitag 03:15 · 04.12.2 Min. Lesezeit
Bild: dev.to

Posted on Dec 4 • Originally published at pawermu.top

You finally got a good answer out of your AI assistant: a comparison table, a Python snippet, a couple of equations. You select the reply, copy it, paste it into Word - and the table is a wall of tab-separated text, the code lost its indentation, and the formula is gone.

Nothing is broken. ChatGPT, Claude, Gemini and Copilot render their answers as Markdown in the browser. When you copy from that page you copy rich text that Word re-lays out with its own styles, and Markdown-only elements such as tables, fenced code blocks and LaTeX formulas never survive the round trip intact.

Here is what actually happens, how to fix each case, and how to export the whole conversation instead of copying piece by piece.

Depending on the browser and Word's paste mode, the pasted result can lose the grid lines, the monospace font and the line breaks.

If the answer used pipes, delete the leading and trailing | characters first, then convert. The result is a real Word table you can restyle.

Code survives best as plain text in a monospace font.

Tip: paste into a one-cell table, or use a paragraph style with a light background, so the code stays visually separate from prose.

Word cannot read LaTeX from a clipboard, but its own equation editor can convert LaTeX input.

If you would rather not rebuild it, keep the formula as plain text in a monospace font and note where it came from.

The reliable route is to export the conversation as Markdown and convert that file once.

Pandoc maps Markdown tables to real Word tables and code fences to a Code style, so the structure you saw in the chat is what lands in the document.

Why do tables paste as one long line? The chat page renders the table as HTML, and Word's plain-text paste keeps only the separators. Convert text to table after pasting, or convert the exported Markdown file.

Why did my code stop being monospace? Word pastes with the surrounding paragraph style. Select the block and set a monospace font, then turn off autocorrect for it.

Can I keep LaTeX formulas? Yes, but convert them: paste as text and rebuild them in Word's equation editor, or convert a Markdown file where the formulas stay as \(... \).

Can I export the whole chat instead of copying piece by piece? Yes. Pawermu exports the conversation open in your Chrome tab as Markdown or JSON, free to install: Get Pawermu (free)

Have a paste problem that survives all of this? Tell me the chat tool and the Word version in the comments.

Quelle: dev.to (dev.to). Original öffnen