Skip to content
Run here 100% in your browser, no upload, no login

HTML Entities

Escape and unescape HTML entities both ways, with a quick reference of common entities.

Common entities

Entity Number Character Description

How to use it

  1. Paste HTML or text into the left panel.
  2. Pick a direction: encode turns special characters into entities; decode turns entities back into characters.
  3. The result appears on the right instantly — copy it with one click.
  4. The reference table below lists the most common entities with their names, numeric forms and characters.
  5. Ambiguous input (mixed entities and raw text) is handled literally; invalid numeric references are reported instead of guessed.

Common use cases

Why it stays private

Encoding uses plain string operations in browser memory. Nothing is uploaded, and the reference table ships with the page.

FAQ

Q: Does it convert all named entities? A: The encoder covers the XML-safe five plus common typography; the decoder understands the standard named set and decimal/hex numeric references.

Q: When should I use numeric entities instead of named ones? A: Numeric forms work everywhere and avoid name-coverage gaps; named forms are more readable. The table shows both so you can pick per context.

Q: Is escaping still necessary with modern templating? A: Templates escape automatically, but raw HTML contexts (attributes, code samples, feeds) still need manual escaping — that is exactly this tool's use case.

Your data stays on this device

HTML Entities runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.

Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.