HTML Entities
Encode & decode HTML entities (named + numeric).
A free HTML entity encoder/decoder: encoding escapes characters like & < > " ' into named entities (with an option to turn every non-ASCII character into a numeric entity), and decoding resolves named and numeric (decimal/hex) entities back to text. It all runs locally in your browser.
How to use
- Choose Encode or Decode.
- Paste your text or entity-encoded content.
- When encoding, optionally enable Non-ASCII → numeric.
- Copy the result on the right.
FAQ
- What is the difference between named and numeric entities?
- Named entities use a name (e.g. & for &); numeric entities use the code point (decimal & or hex &). Decoding handles both; when encoding, core characters use named entities and other non-ASCII can use numeric ones.
- Is decoding safe?
- Yes. Decoding reads the plain-text value out of a detached textarea, whose content is parsed as RCDATA — no tags are parsed or executed, so even tag-like input never runs.
- Is my text private?
- Yes. Both encoding and decoding happen locally; nothing is uploaded.
Related tools
- 2FA Authenticator — End-to-end encrypted 2FA vault with live codes.
- Password Vault — Zero-knowledge vault for site logins; survives password changes.
- Data Format — Convert between JSON, YAML, TOML, CSV.
- Base64 — Encode / decode text & files in Base64.
- URL Encode — Encode / decode URL components.
- JWT Decode — Inspect JWT header & payload.