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 ---.
That handles the markup. It does not handle zero-width characters, non-breaking and exotic spaces, smart quotes or em dashes, which are text rather than formatting and survive every paste route on every platform.
Other platforms
- AO3
- Google Docs
- WordPress
- Notion
- Substack
- Medium
- Microsoft Word
- Canvas
- Gmail
- Ghost
- Obsidian
- Outlook
- Slack
- Discord
- Confluence
- Google Slides







