HTML Entities Encoder / Decoder
Turn special characters into HTML entities (<, &, ©) or decode entities back to plain text, with an option to encode Arabic as numeric references and a searchable table of named entities.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Choose Encode or Decode.
- Paste text or HTML; the result updates as you type.
- When encoding, pick a level: Basic is enough to show text safely in a page; “All” turns Arabic and symbols into numeric references.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
When do I need to encode?
When you want to show text containing < or & inside an HTML page without the browser treating it as code, such as code samples on a blog.
Do I need to encode Arabic?
No, modern UTF-8 pages show Arabic directly. “All” is useful for old systems or emails that garble characters.
An entity did not decode. Why?
All numeric entities and the 253 named HTML 4 entities are decoded. Some rare HTML5 names are not in the list, and the tool points them out.
Formulas & sources
Related tools
URL Encoder / DecoderPercent-encode text for URLs (%D8%B3…) or decode encoded links back to readable text, with component, full-URL, form (+), RFC 3986 and encode-all modes. Arabic-safe, with clear error reporting.Text Encoders (Hex, Binary, Unicode…)Convert text to hex, binary, octal, ASCII/decimal codes, Unicode escapes (\u0627, U+0627), Base32 or ROT13, and back again. Arabic is handled correctly through UTF-8.Base64 ConverterEncode text to Base64 and back with proper Arabic (UTF-8) support, turn any file into Base64 or a data URL, and decode Base64 back into a file. All in your browser.Markdown Editor with Live PreviewWrite notes and reports in Markdown with an instant preview and automatic direction for each Arabic or English paragraph. The draft is saved in your browser; export .md or HTML, or print it.