Free online HTML entity encoder/decoder supporting 244 named entities, with decimal/hexadecimal/named entity conversion.
TL;DR: Free online HTML entity encoder/decoder with 244 built-in named entities. Convert between decimal, hexadecimal, and named entities with multiple encode/decode modes, runs locally.
This tool runs entirely in your browser. Open DevTools → Network panel and search your input — it appears in no request.
FAQ
Completely free, no registration required. Encode and decode HTML entities locally in your browser — unlimited usage.
The enhanced version supports 244 named entities (Latin, Greek, math symbols, currency, punctuation, etc.) with three encode modes — "Special chars only", "All encodable chars", "Named entities first" — and two decode modes — "Decode all" and "Named entities only".
Yes. Encoding automatically uses named entities or decimal &#NNN; for non-named characters; decoding recognizes decimal &#NNN;, hexadecimal &#xNN;, and named entities &name;.
No. All encoding and decoding operations run locally in your browser. Text never leaves your device — safe for sensitive content.
Related Tools
Related Articles
Online HTML Entity Encoder/Decoder: Safely Handle Special Characters
Learn HTML entity encoding fundamentals. Understand how to convert special characters to HTML entities, prevent XSS attacks, and use encoding in frontend development.
Unexpected token '<' is not valid JSON — 5 Reasons Your API Returned HTML Instead
fetch throws SyntaxError: Unexpected token '<' when the response body is HTML, not JSON. Covers the 5 root causes: SPA history fallback returning index.html, auth 302 redirects, gateway 502 error pages, wrong baseURL, and missing res.ok checks — with curl diagnostics.
HTML Table to JSON: How to Preserve Rows, Columns and Structure
Converting an HTML table from a web page to JSON — how to keep headers, handle merged cells and nested structure? Step-by-step with our HTML table to JSON tool.