Named and numeric
Encode using readable named entities or universal decimal/hex numeric codes.
Convert raw characters like <, > and & into safe HTML entities, or decode entities back into plain text.
🔒 Your text stays on your device and is never uploaded.
Switch between Encode and Decode to escape unsafe characters for use inside HTML, or convert entities like & and ' back into readable text. Choose numeric output when you need entities that work regardless of character set.
Encode using readable named entities or universal decimal/hex numeric codes.
Decodes common named entities plus any decimal or hexadecimal numeric entity.
Everything runs locally in your browser. Copy or download the result without an account.
Characters like <, > and & have special meaning in HTML. Encoding them as entities lets you display them as literal text without breaking the page's markup.
Named entities like & are easier to read. Numeric entities like & or & use a Unicode code point and work for virtually any character, including ones without a common name.
Yes. The decoder resolves common named entities as well as decimal and hexadecimal numeric entities.
No. Encoding and decoding both run locally in your browser.