Loading…
Encode text to HTML entities or decode HTML entities back to text.
Encode reserved HTML characters (<, >, &, ", ') into their entity form, or decode HTML entities back into plain text. Useful for safely embedding user-supplied text inside HTML, or for reading entity-encoded text copied from a web page. All processing happens in your browser.
Quick answer
Paste text to encode reserved characters into HTML entities, or paste HTML entities to decode them back to plain text — instantly, in your browser.
HTML entity encoding replaces characters that have special meaning in HTML (<, >, &, quotes) with a safe textual representation (like < or &), so that text can be embedded inside an HTML document without being misinterpreted as markup. Decoding reverses the process, turning entities back into the literal characters they represent.
Encoding and decoding both run in your browser's JavaScript engine using the he library — the text you paste is never sent to a server.