HTML Entities Encoder and Decoder, Private
Escape text for HTML and unescape it.
Text put into a web page must have its & < > and quotes written as entities, or the browser reads them as markup. This tool escapes them, and can also write every character outside ASCII by name or number for systems that only take plain ASCII. Decoding reads named entities (HTML 4’s set), decimal and hexadecimal ones. It runs on your device.
How to use HTML entities
- Paste the text or HTML, and choose Encode or Decode.
- To write letters outside ASCII as entities too, turn on Also letters outside ASCII.
- Press Copy result, or Download it as a text file.
HTML entities: common questions
Is my text uploaded when I escape HTML entities online?
No. This HTML entities tool escapes and unescapes text in your browser, on your device, and sends nothing to a server. It works offline as well.
Which characters does the HTML entity encoder escape?
By default the HTML entity encoder escapes & < > " and ' (written '), which is all a page in UTF-8 needs. With Also letters outside ASCII, every other non-ASCII character is written by its HTML 4 name, such as é, or by number.
Does the HTML entity decoder know every HTML5 named entity?
No. The HTML entity decoder reads the named entities of HTML 4, such as and é, and any decimal or hexadecimal entity (é, é). A name outside that set is left as it is.
Everything stays on your device. Nothing is uploaded. Works offline once your first visit has stored the app.