HTML Entity Encoder / Decoder
Encode text to HTML entities, or decode entities back to plain text.
Direction
Encode mode
What is this tool?
HTML entities represent characters that are unsafe or awkward to write literally in markup, using either a named form (&, ©) or a numeric form (', '). This tool encodes text either by escaping just the special characters (named where available, numeric for apostrophe) or by converting every non-alphanumeric character to numeric form, and decodes named, decimal, and hex entities back to plain text.
How to use it
- Choose Encode or Decode.
- For encoding, pick named + numeric (default) or numeric-only mode.
- Paste your text or markup and copy the converted output.
Related dev utilities tools
- GUID / UUID GeneratorGenerate UUID v4, v7, or v1 identifiers in your browser.
- JSON Formatter & ValidatorPretty-print, minify, and validate JSON with clear error messages.
- JWT DecoderDecode JWT header and payload without verifying signatures.
- JWT Encoder (Demo)Build a payload and sign an HS256 JWT in-browser for testing.