devcrate / Encoding / HTML Entity Encoder/Decoder
Encoding

HTML entities, both ways.

Encode characters like <, >, and & into safe HTML entities, or decode entity-encoded text back to plain characters.

runs entirely in your browser — nothing is uploaded
ad slot · 336x280 in-content

How to use the html entity encoder/decoder

  1. Paste plain text with special characters (like < or &) and click Encode.
  2. Or paste HTML-entity-encoded text and click Decode.
  3. Useful when embedding user-generated text safely inside HTML.

Common HTML entities

Entity
Renders as
&amp;
& (ampersand)
&lt;
< (less than)
&gt;
> (greater than)
&quot;
" (double quote)
&#39;
' (single quote / apostrophe)
&nbsp;
non-breaking space
&copy;
© (copyright)
&mdash;
— (em dash)

Frequently asked questions about the HTML Entity Encoder/Decoder

Is my data uploaded anywhere when I use the HTML Entity Encoder/Decoder?
No. The HTML Entity Encoder/Decoder runs entirely in your browser using JavaScript — nothing you type, paste, or select is sent to any server. You can confirm this yourself by opening your browser's network tab while using it.
Is the HTML Entity Encoder/Decoder really free, and do I need an account?
Yes — the HTML Entity Encoder/Decoder is completely free, with no account, sign-up, or usage limit.
Does it work on mobile and in any browser?
The HTML Entity Encoder/Decoder works in any modern browser — Chrome, Firefox, Safari, or Edge — on desktop or mobile, since it's built with standard HTML, CSS, and JavaScript with no special requirements.