HTML Encoder & Decoder

Encode text for safe insertion into HTML or decode entities back into readable text. Supports the full HTML entity set.

Developer Tools Encoding & Security Runs locally No sign-up

HTML encoder & decoder

Input —
Output —
References —
Examples

Encoding escapes &, <, >, ", and '. Decoding supports named entities, decimal and hexadecimal references, and emoji. Unknown names are left unchanged; legacy names such as &not may decode without a trailing semicolon, as the HTML spec requires, and invalid numeric references decode to U+FFFD.

About HTML Encoder & Decoder

Escape or unescape HTML entities, including named entities, numeric references, and emoji.

This tool runs locally in your browser. It does not upload your input, require an account, or store your data on a server. If a feature needs a network request, the interface asks before sending anything.

html encoderhtml decoderhtml entitiesescape html

Search tools

↑ ↓ navigate Enter open Esc close