HTML Entity Encoder
Convert text containing reserved or non-ASCII characters into HTML-safe entities, or decode entity-encoded text back to its original. Supports both named entities (&, —, …) and numeric entities ({, {).
Decode uses the browser's native HTML parser, so common HTML5 named entities such as ', and … are handled instead of relying on a tiny custom table.
input.html36 chars
output.html86 chars
runtime
Browser-local execution
Inputs stay inside the current tab unless you copy, download or explicitly export.
memory
Session handoff
Magic Paste can pass input to a target tool through sessionStorage, never through the URL.
control
User-owned state
Favorites, recent tools and workflow history are local browser data you can clear from the browser.
smart handoff graph
session handoff readySuggested next moves
01
How to use
- 01Pick Encode (named or numeric) or Decode.
- 02Type into the left panel — the right panel updates live.
- 03Copy the result with the button on the right.
02
FAQ
- Named or numeric entities — which should I use?
- Named entities (&) are more readable; numeric entities (&) are universal — they work for any code point and don't depend on the parser knowing the name. For modern browsers, both are equivalent.
03