Raw HTML / Text
Loading editor...
Encoded HTML
Loading editor...
Online HTML Entity Encoder and Decoder
Encode text and special characters into HTML entities or decode escaped entities.
How to use
- Type or paste text with characters like <, >, &, ".
- The HTML entities are encoded or decoded in real-time.
- Use the Switch button to toggle between Encode and Decode modes.
Frequently Asked Questions
Why encode HTML entities?
Encoding prevents XSS attacks and ensures HTML code is safely displayed as literal text inside web pages.