Skip to content
Developer

HTML Encoder / Decoder

Escape HTML entities or decode them back to render code safely on a page.

What are HTML entities?

HTML entities are special codes that represent characters which would otherwise be interpreted as markup, like &lt; for <, &gt; for >, or &amp; for &.

Frequently asked questions

What characters get encoded?

In named-entity mode the tool encodes the five XML-required characters: <, >, &, ", '. In numeric mode it also encodes any non-ASCII character.

Need a place to keep notes?

Open the free online notepad — autosaves locally, no signup.

Open Notepad
v2.0