Unicorn

HTML Entity Encoder / Decoder

Paste text or markup to escape the characters that break HTML, or decode entities back to plain text. Named entities and numeric forms are both understood.

How to use

Escape HTML special characters into entities, or bring them back. Your data is processed only inside this browser tab.

FAQ

Why bother escaping?

Stray angle brackets and ampersands are where broken pages and injection bugs begin. Escape text before placing it inside HTML.

Which numeric forms work?

Both decimal and hexadecimal character references, within the valid Unicode range.

Related tools