HTML entities
Escape HTML and decode common or numeric entities.
About HTML entities
Represent characters that have special meaning in HTML or convert encoded references back to text. Escaping is useful when literal text must be shown rather than interpreted as markup.
Steps, example, and limitations
How to use it
- Choose encode or decode.
- Paste the text and run the transformation.
- Review and copy the result for the intended context.
Example
Input
<strong>Hi & bye</strong>
Result
<strong>Hi & bye</strong>
Things to know
- HTML text escaping is not a universal sanitizer for scripts, styles, URLs, or every attribute context.
- The decoder supports its documented named entities and numeric references, not an arbitrary HTML document parser.