HTML & Markup
HTML Entity Encoder / Decoder
Convert special characters into HTML entities, or turn named and numeric entities back into readable text. Everything runs in your browser — your input never leaves the page.
Mode & options
liveInput
plain textType or paste text. Results update as you type.
Output
entitiesCopy, download, or share a link to reproduce this result.
How it works
Encoding replaces &, <, >,
" and ' with safe entities and can optionally
convert non-ASCII characters too. Decoding understands decimal
(&) and hexadecimal (&) numeric
references plus common named entities. Invalid or unrecognised entities are
left exactly as they were and listed below the output, so nothing is silently
corrupted. All processing happens in this page — there are no network
requests.