Online HTML entity encode & decode

Escape or unescape &, <, numeric entities, and more.

About online online HTML entity encode and decode

hidevtool HTML entity tool escapes `<`, `&`, quotes, and common named entities for safe HTML snippets, or reverses entities back to characters.

Handy when preparing template examples, email HTML, or cleaning pasted entity text from CMS exports.

Online HTML entity encode & decode capabilities

Escape for HTML text nodes

Encode converts &, <, >, and quotes into `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` forms.

Decode entities

Decode supports named entities (such as &nbsp;) and numeric &#...; / &#x...; references when well-formed.

Common use cases

How do I escape HTML special characters?

Paste text and click Encode to turn reserved characters into HTML entities safe for markup examples.

How do I decode &amp; and other HTML entities?

Paste entity text and click Decode to recover the original characters when references are valid.

Does it encode an entire HTML document?

It processes the pasted string character by character—use it for escaping text content or snippets, not for auto-wrapping tags.

Frequently asked questions

How do I escape HTML special characters?
Paste text and click Encode to turn reserved characters into HTML entities safe for markup examples.
How do I decode &amp; and other HTML entities?
Paste entity text and click Decode to recover the original characters when references are valid.
Does it encode an entire HTML document?
It processes the pasted string character by character—use it for escaping text content or snippets, not for auto-wrapping tags.