HTML Escape / Unescape
Convert characters with special meaning in HTML (< > & quotes) into entity references, or turn them back. This prevents broken display and unintended tags.
What is HTML escaping?
In HTML, characters such as < > & “ ' have special meaning. Writing them directly in body text can break the display or be interpreted as unintended tags. HTML escaping replaces them with ”entity references“ (such as <). It's used, for example, to safely display user input.
How to use
- Escape: converts like
<→<,&→&. - Unescape: turns entity references (such as
<or') back into the original characters.
All conversion happens in your browser, and your input is never sent anywhere.
FAQ
Which characters are escaped?
The five characters & < > “ ' are converted into entity references.
Can it restore numeric character references too?
Yes. Unescape turns numeric references such as ' or <, and the main named references, back into the original characters.
Could the HTML I enter be executed?
No. It restores only the characters in a safe way, and nothing is ever executed as a tag.
Is my data sent anywhere?
No. Everything is processed in your browser.
