All Tools
HTML Entity Encoder
Encode/decode HTML entities and escape special characters.
Advertisement
Advertisement
Encode/decode HTML entities and escape special characters.
When you want characters like <, >, and & to appear literally on a page instead of being interpreted as markup, for example showing code samples.
It helps text display literally, but it is not a full XSS sanitizer. For untrusted HTML, use a dedicated sanitizer in your app.
No. Encoding and decoding are instant and local in your browser.