HTML Entity Encoder / Decoder

Encode or decode HTML entities free in your browser — escape and unescape characters like & < > and quotes, nothing uploaded.

Report a problem



How to use

  1. Paste your text (to encode) or your HTML entities (to decode) into the input box.
  2. Choose Encode or Decode — it converts live as you type.
  3. 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;amp; for an ampersand or &amp;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;amp; &amp;lt; &amp;gt; &amp;quot; &amp;copy; &amp;mdash; &amp;nbsp;) plus all numeric entities, both decimal like &amp;#169; and hexadecimal like &amp;#xA9;.