HTML Entity Encoder / Decoder
Encode and decode HTML entities, with optional encoding of all non-ASCII characters.
Privacy: This tool runs entirely in your browser. Your data never leaves your device and is never uploaded to any server.
Frequently asked questions
What are HTML entities?
HTML entities represent reserved characters such as <, > and &, or non-ASCII characters, as named or numeric codes.
Why encode HTML?
Encoding prevents browsers from interpreting text as markup, which is useful for displaying code snippets safely.
Is my text uploaded?
No. Encoding and decoding happen locally in your browser.
More Encoding & Hashing tools
Base64 Encoder / Decoder
Encode or decode text to and from Base64, including URL-safe mode and file-to-Base64 conversion with Unicode support.
Open toolURL Encoder / Decoder
Encode and decode URLs or URI components following RFC 3986, perfect for query strings, paths and shareable links.
Open toolHash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes using the Web Crypto API. Your input never leaves your browser.
Open toolJWT Decoder
Decode and inspect the header, payload and signature of a JSON Web Token, entirely in your browser.
Open tool