How HTML Entity Encoding Works
AnyTool encodes characters to HTML entities with a spec-accurate library (html-entities), exposing named (©), decimal (©), and hex (©) output and three scope presets: reserved characters only, all non-ASCII, or everything. Decoding resolves named and numeric entities simultaneously using the browser's own HTML parser semantics. Input is iterated by code point so emoji and astral symbols encode correctly. Conversion is live and entirely client-side, so text is never uploaded.
- Named, decimal, and hex entity output
- Scope presets: reserved-only / non-ASCII / everything
- Universal decode of named + numeric entities
- Code-point iteration for emoji/astral safety
- Live conversion; offline; no upload
