uuutil ← all tools

HTML entities

Type text to encode it for safe HTML embedding — the special characters become named entities, and a toggle encodes all non-ASCII numerically (hex or decimal). Paste entity soup the other way to decode it, including numeric references and browser-style semicolon tolerance. A reference table lists the most common entities with copy.

Privacy ledger

Data acquired None.
Libraries used Lit 3 — bundled into the tool file itself.
Data stored None.
Data transmitted None.

Use it on your own page

Download the tool as a single self-contained HTML file: readable source with the Lit library included, zero network requests — it works opened straight from your disk, and you can customize everything.

Prefer the hosted widget? One script tag embeds it and stays up to date:

<script type="module" src="https://uuutil.com/tools/html-entities.js"></script>
<uu-html-entities lang="en"></uu-html-entities>

Source license: MIT — free to use, modify and redistribute; keep the license notice in copies.