UTILS.
Private by default
&

HTML Entity Encoder

Encode text to HTML entities or decode entities back to text.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
output

About this tool

Escape special and non-ASCII characters into HTML entities so they display literally in a web page, or decode named and numeric entities back into plain text. Useful when showing code or symbols inside HTML.

Frequently asked questions

Why escape characters like < and &?
In HTML these have special meaning. Escaping them to &lt; and &amp; makes them render as literal characters instead of markup.
Does it decode named entities?
Yes. Both numeric (&#233;) and named (&eacute;) entities decode back to the original character.

More tools