Escape special characters in HTML text

Paste the text and choose escape or unescape. The reverse operation covers this tool’s entity mappings, not every named HTML character reference.

Runs locally in your browser
Recent tools: