HTML Entity Encoder
Encode text to HTML entities and back, with the result updating as you type.
Instant entity encoding
This encodes text into HTML entities and decodes it back, live, so the result updates with every keystroke. It is the quick, interactive way to see how a character becomes an entity — the angle brackets, the ampersand, an accented letter — or to decode a string of entities into readable text, without pressing a button each time.
Type on one side and watch the encoded or decoded result on the other.
Why encoding still matters
HTML entities exist so that characters HTML treats specially display as text rather than being interpreted as markup, and encoding user-supplied content is a core defence against injection attacks. Seeing the conversion happen live is useful both for quickly encoding a snippet of code to display on a page and for decoding entities you have found in some HTML to read what they represent. It is the same job as a standard entity encoder, with the immediacy of a live preview.
Questions & answers
What does it convert?
Text to HTML entities and entities back to text, updating live as you type.
Why encode to entities?
So characters HTML treats specially display as text instead of being interpreted as markup — also a defence against injection.
Is my text uploaded?
No. The conversion happens in your browser.