developers.do

HTML Entity Encoder / Decoder

Encode text to HTML entities (named, decimal, and hex) and decode entities back to characters

Café & tea – "naïve" résumé © 2026
Café & tea – "naïve" résumé © 2026

Decode handles named entities (the common HTML subset), decimal (©), and hex (©) references. Encode uses numeric entities for non-ASCII — safe in all HTML/XML/SGML contexts.