HTML Text Encoder & Decoder
Turn special characters into HTML entities so they render literally — or decode entities back to text.
Input
Auto encode
Result
Free · Private · Runs in your browser
How to use
Encode
- Type or paste your text, e.g.
Hello & welcome! - Click Encode.
- Copy the entity-safe result.
Decode
- Paste text containing entities like
&or!. - Click Decode to get the readable text back.
Good to know
Auto encode re-encodes as you type, so you can watch the entities build up.
Questions
Which characters get encoded?
Reserved and non-ASCII characters — <, >, &, quotes, accented letters and symbols — are turned into their named or numeric HTML entities.
Will it break my markup?
Encoding is safe to paste straight into an HTML attribute or text node. Decoding reverses it exactly.
Is there a length limit?
No. Paste as much text as you need.
Advertisement