HTML Encode / Decode
Encode reserved HTML characters (& < > " ' / etc.) to entities, or decode entities back to plain text. Browser-only.
100% in your browser. Files never uploaded.
Result will appear here.How to use
- 1Pick a modeEncode plain text to HTML entities, or decode entities back to text.
- 2Paste your inputResult updates as you type.
- 3CopyOne click to copy the result.
FAQ
Which characters get encoded?
The reserved set: & < > " ' /. Numeric entities are used for the apostrophe and forward slash to be safe inside attribute values.
How does decode handle named entities?
It uses the browser's own parser, so any valid named entity (&, é, <, etc.) decodes correctly.