Skip to content
2xKit

HTML Entity Encoder/Decoder

Encode text to HTML entities, or decode HTML entities back to text.

Runs in your browser

About this tool

Special characters like `<`, `>` and `&` need to be encoded as HTML entities to display correctly instead of being interpreted as markup, and converting text between raw characters and entities by hand is error-prone. This tool encodes text to HTML entities, or decodes HTML entities back to text, handling that conversion reliably in either direction.

Frequently asked questions