Encode to HTML entities
Enter your text below and press Encode
Data never leaves the browser.
HTML Entity Encoder / Decoder
korinat.comEnter your text below and press Encode
Data never leaves the browser.
Encode and decode HTML entities in your browser. Nothing is uploaded. Limit: 50 MB per file.
Special characters such as &, <, > and quotes become HTML entities. Common characters use preferred names; other non-ASCII characters use numeric entities.
Named and numeric entities such as &, & and & are converted back to text. Invalid sequences show a clear error and leave the previous output unchanged.
Encoding and decoding run on your device. There is no account, no upload, and no LocalStorage of your content. Closing the tab discards unsaved text.
The complete HTML5 named character reference list is supported: every semicolon-terminated name from the HTML Standard, including amp, lt, gt, quot, apos, and nbsp. Names outside that list are rejected on decode.
Named mode uses a preferred name when one exists, such as ä or €. Characters without a name, including many emoji, are written as decimal numeric entities. Decimal and Hex numeric modes write only numeric entities.
Decode requires valid named or numeric entities terminated with a semicolon. Unknown names, missing semicolons, surrogates, and code points outside the Unicode range report an error with a character position. The previous output is left unchanged.
No. Everything stays in the browser. Open, encode, decode, copy, and save all run locally.