Decode AI HTML entities against one string you already decoded
Decode with a real library. Keep the chat string only when it matches your known plain text.
In short
- Write the plain text you expect first.
- Decode with a real library (
html.unescapein Python, a browsertextareatrick, or a maintained package). - Keep only on an exact match — double-encoding is the usual trap.
Checked 3 December 2026 with Python html.unescape:
Tom & Jerry <3 → Tom & Jerry <3

Double encoding
&amp; decodes once to &, not to &. If your sheet is the plain string, stop after one correct decode — or decode until stable only when you documented that loop.

Ask, then decode
Return HTML entities for exactly: Tom & Jerry <3
I will html.unescape once and compare.

Related
Share
Educational content only. Rankings reflect stated criteria at the update date—not investment advice or permanent performance guarantees.