Free · no signup · browser-local

HTML Entity Encoder and Decoder for Text

Escape angle brackets, ampersands and quotes before pasting a code example into HTML, or decode entities to read the original text.

Browse all tools →

Input and settings

LOCAL
Live result
<tag> & "quoted"

Getting started

Paste text and choose encode or decode.

Before you use the result

Entity encoding alone does not make arbitrary HTML safe to render.

Try an example

Encode <tag> & quotes, then reverse it.

How it works

Reserved characters and numeric references use standard HTML syntax.

Frequently asked questions

Escape or decode HTML text entities for markup examples.

How do I use HTML Entity Encoder?

Paste text and choose encode or decode.

Does this tool upload my data?

Inputs and files are processed in your browser. Page-view analytics do not contain your tool input.

What should I check before using the result?

Entity encoding alone does not make arbitrary HTML safe to render.