What is HTML Entities Encoder & Decoder?
HTML character references represent characters such as ampersands, less-than signs and quotation marks in markup. Named references like & and numeric references like & can be decoded into characters. Escaping characters for HTML text is not the same as sanitizing arbitrary untrusted HTML, and attributes, JavaScript and URLs require context-specific treatment.
How to use this tool
- Paste plain text or HTML character references into the input field.
- Choose named HTML5 entities, numeric decimal, or numeric hexadecimal for encoding; decode HTML5 references as needed.
- Copy or export the resulting text without uploading it.
Example
Tom & Jerry <tag> → Tom & Jerry <tag>