Remove Claude’s formatting from Overleaf
Overleaf discards pasted HTML, so Claude's class names do not survive into a LaTeX document. What does survive is character-level: zero-width characters, exotic spaces, smart quotes and em dashes. Paste normally, then replace smart quotes and em dashes — LaTeX wants ``quotes'' and ---.
Check yours first. Paste the text into the free checker and it lists every artifact with its exact position — no account, nothing uploaded, unlimited.
Check my text →What Overleaf keeps
- LaTeX source is plain text, so HTML never survives. This is the safest destination on this list for markup.
- Typographic characters matter more here than anywhere else: curly quotes and en/em dashes pasted from a chat UI render incorrectly or produce compile warnings, because LaTeX expects its own ASCII sequences.
- Non-breaking spaces are especially disruptive — LaTeX has its own tie character (~) and a pasted U+00A0 does not behave the same way.
The fastest fix
Paste normally, then replace smart quotes and em dashes — LaTeX wants ``quotes'' and ---.
There is no markup to remove here, so the characters are the whole problem. Zero-width characters, non-breaking and exotic spaces and smart punctuation are text rather than formatting, which is why they survive a route that strips everything else.
How to check it worked
The source is plain text and already in front of you — read it directly, and use the editor's find to search for the exact characters rather than trusting the compiled PDF.







