Developer
HTML encoder and decoder
Escape special characters as HTML entities, or decode entities back to text.
Free to use · Runs in your browser · No signup
This tool works in your browser. Enable JavaScript to select files and create your download.
How to use HTML encoder and decoder
- Paste your text or HTML.
- Choose Encode or Decode, and optionally encode non-ASCII characters.
- Copy the result.
What you need
Nothing to upload. Type or paste directly into the tool; results update as you go.
Your result
Escaped or decoded text.
Before you start
Encoding escapes & < > " and ' so text can be shown safely inside HTML. Decoding converts named and numeric entities back into characters.
Questions about HTML encoder and decoder
How do I use HTML encoder and decoder?
Paste your text or HTML. Choose Encode or Decode, and optionally encode non-ASCII characters. Copy the result.
What does HTML encoder and decoder produce?
Escaped or decoded text.
What should I check before using HTML encoder and decoder?
Encoding escapes & < > " and ' so text can be shown safely inside HTML. Decoding converts named and numeric entities back into characters.
Is what I type sent anywhere?
No. The calculation runs in your browser, and the text or numbers you enter are not uploaded or stored.