HTML Entity Encoder / Decoder

Encode < > & and quotes to HTML entities, or decode entities back to text.

Encoding is safe to store and display anywhere. Decoding only restores entities that are valid HTML — malformed entities are left untouched.

How to use HTML Entity Encoder / Decoder

Paste your text, choose Encode or Decode, then click the action button.

About this tool

Convert HTML special characters to entities and back. Encoding makes text safe to embed in any HTML context. Decoding turns named or numeric entities like &amp;, &copy;, &#169; back into their characters.

Related tools