Encoding · HTML

HTML Entities

Escape text into HTML entities to display it safely, or unescape entities back to characters.

Text / HTML
Result
<a href="page?x=1&y=2">Tom & Jerry</a>

Frequently asked

The five core entities plus common named ones, and all numeric (&) and hex (&) references when decoding.

No. This tool runs entirely as JavaScript in your browser — your input never leaves your device and nothing is logged.

How to use

1

Pick Escape or Unescape.

2

Paste your text or HTML.

3

Copy the result.

Related tools