HTML Entity Encoder / Decoder
Encode or decode HTML entities free in your browser — escape and unescape characters like & < > and quotes, nothing uploaded.
Report a problemHow to use
- Paste your text (to encode) or your HTML entities (to decode) into the input box.
- Choose Encode or Decode — it converts live as you type.
- Copy the result to your clipboard and paste it where you need it.
FAQ
Is anything uploaded?
No — it runs in your browser. Your text is converted locally with JavaScript and never sent to a server, so it works offline and stays completely private.
What is an HTML entity?
An HTML entity is a safe way to write a character that would otherwise have special meaning in HTML — for example &amp; for an ampersand or &lt; for a less-than sign. Encoding them stops the browser from treating your text as markup, which prevents broken pages and cross-site scripting.
Which entities can it decode?
It decodes the common named entities (such as &amp; &lt; &gt; &quot; &copy; &mdash; &nbsp;) plus all numeric entities, both decimal like &#169; and hexadecimal like &#xA9;.