HTML Entity Encoder / Decoder
Encode text to HTML entities or decode entities back to text, entirely in your browser.
Nothing is ever uploaded - all conversion happens on your device.
Escapes only & < > " ' - the minimum needed to safely embed text inside HTML.
Type or paste something above to see the result.
HTML entities let you safely include characters that would otherwise be interpreted as markup (like < and &), or that might not display correctly everywhere, inside an HTML document. This tool converts text to entities and back, using the standard named entities where one exists and falling back to numeric references otherwise - all locally in your browser.