HTML Entity Encoder

Escape or unescape HTML entities for code samples, CMS content, and text snippets.

The preview renders output as plain text, so decoded HTML is never executed as page content.
Input
Paste HTML, text, or an encoded entity string.

Conversion mode

Escape protects HTML characters. Unescape restores entities.

Escape options

Choose the entity style and whether non-ASCII characters should be encoded.

Output
The converted result updates instantly and can be copied directly.

Input chars

0

Output chars

0

Entities

0

Safe text preview

Output is displayed as plain text so decoded HTML is not rendered by the browser.

No output yet.
HTML Entity Encoder | Widget Polymer