HTML Entities Converter
Encode and decode HTML entities — named, decimal, and hex. 250+ HTML5 entities included.
How to use
- 1 Pick Encode or Decode.
- 2 Encode: choose what to encode (minimal / non-ASCII / all-named) and the output format.
- 3 Decode: paste content with &name;, &#dec; or &#xHEX; — all three are recognised at once.
- 4 Copy the result.
Why use this tool
- Recognises named, decimal, and hex entities — mix them freely in input.
- 250+ HTML5 named entities embedded inline (no third-party data file).
- Encode by minimal set, all non-ASCII, or all known names.
- Pure client-side and instant.
Frequently asked questions
Which is the right encode mode?
Minimal is what you actually need for embedding text in HTML — it just escapes < > & " and '. Non-ASCII is for environments that strip high bytes. All-known-named is mostly for typography demos.
Why do some characters use &#x and others use names?
When the named format is selected the tool emits a name if one exists; otherwise it falls back to decimal or hex according to your format choice.
What about XML?
For XML escaping use our Escape / Unescape tool — XML only defines < > & " ' as predefined entities.
Related tools?
See Escape / Unescape for per-language string escapes and URL Encoder for percent-encoding.
HTML Entities Converter is a free developer utility by Zerethon Tools. Encode and decode HTML entities — named, decimal, and hex. 250+ HTML5 entities included. Runs entirely in the browser — no signup, no upload.
- Category
- Developer
- Pricing
- Free
- Privacy
- Browser-based
- Signup
- Not required
Privacy
Your data never leaves your browser unless explicitly stated. HTML Entities Converter runs entirely client-side — no server upload, no logging, no tracking of your input.
Related tools
JSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Open toolSQL Formatter
Format SQL queries online — beautify MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Open toolUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Open toolPassword Generator
Generate strong, cryptographically random passwords. Configurable length and character sets — runs in your browser.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.