HTML Entity Encoder / Decoder
Convert characters to HTML entities and back — escape &, <, > and quotes for safe markup, or decode entities to readable text. Optionally encode every non-ASCII character. Runs in your browser.
How it works
Encoding replaces the five characters that carry meaning in HTML — &, <, >, " and ' — with named or numeric entities so text renders literally instead of being parsed as markup. Decoding turns entities back into characters; it reads literal tags as plain text (nothing is executed). Tick encode all non-ASCII to make emoji and accented letters safe for ASCII-only contexts.