Skip to main content

html-entities

HTML entities are escape sequences that represent characters which are either reserved in HTML (<, >, &), invisible (non-breaking space), or hard to type directly (Β©, β„’, ←, βœ“). The ZTools HTML Entities tool is a comprehensive reference and converter: search the full HTML5 named entity table by name, number, or character; convert any character to its named, decimal numeric (©), or hex numeric (©) entity form; and decode any entity back to its character. Built-in copy buttons make it fast to look up β†’ or Β© and paste the right entity into your HTML.

Use cases​

Inserting special characters into HTML without typing them​

Need an em-dash (β€”), copyright symbol (Β©), or arrow (β†’) in your HTML? Search the entity table, click Copy, paste. Faster than memorizing entity names or hunting through Unicode tables.

Identifying mystery entities in HTML source​

You see → in a stranger's HTML and wonder what it renders as. Paste into the decoder; the tool shows the character (β†’) and its name (→).

Standardizing entity style across a codebase​

Some files use ©, others use ©, others use © β€” all valid, all equivalent. Convert all to one style for consistency in code review and grep.

Building or debugging an entity-aware text editor​

When implementing rich-text features (like Notion-style "type -- and get β€”"), the entity table tells you which character β†’ entity mappings to support. The reference is built from the official HTML5 spec.

How it works​

  1. Search by character, name, or number β€” Type "Β©", "copy", or "169" to find the copyright entity. Real-time filter narrows the table as you type.
  2. Click any row to see all forms β€” Named (©), decimal (©), hex (©), and the literal character. Each has a copy button.
  3. Use the bidirectional converter β€” Paste raw text β†’ see all characters with HTML-special meaning highlighted with their entities. Or paste entity-laden text β†’ see the decoded form.
  4. Toggle between named and numeric output β€” Named entities are more readable (€); numeric entities are universal (€). Choose based on your downstream consumer.
  5. Copy with one click β€” Each entity row has a copy button for the format you need. Pastes anywhere β€” code editors, CMS WYSIWYG, terminal.

Examples​

Input: Look up "copyright"

Output: Named: Β© | Decimal: Β© | Hex: Β© | Character: Β©


Input: Decode: 5 Γ— 3 ≀ 16

Output: 5 Γ— 3 ≀ 16

Frequently asked questions​

When do I need to use HTML entities?

Always for &, <, >, ", ' inside HTML body or attributes. Optional for other characters in modern UTF-8 documents β€” write them literally. Use entities for non-typeable characters (←, βœ“) or when sending HTML through systems that may corrupt UTF-8.

What's the difference between named and numeric entities?

Named entities like © are human-readable but limited to ~2,200 characters in HTML5. Numeric entities like © work for any Unicode code point (1.1M+ characters). Named entities are slightly shorter for common chars; numeric entities are universal.

Are HTML entities case-sensitive?

Yes β€” &Copy; and © are different entities (uppercase Copy is a math symbol; lowercase is the Β© character). When in doubt, copy from a reference table.

Do I need to use entities for emoji?

No β€” emoji are plain UTF-8 characters. Save your file as UTF-8 (the modern default), declare <meta charset="UTF-8">, and emoji render directly. Entity-encoding emoji wastes bytes.

How many HTML entities exist?

HTML5 defines ~2,200 named entities. Numeric entities can address all 1.1M+ Unicode code points.

Why might my entity not render?

Most common cause: typo in the name (&abcd; is invalid). Other causes: missing semicolon, browser caching, or an XHTML doctype that requires strict syntax.

Tips​

  • Prefer numeric entities for non-Latin scripts (more reliable across legacy parsers).
  • Always include the trailing semicolon β€” some parsers tolerate its absence, but it's a syntax error per spec.
  • For modern UTF-8 documents, only encode <, >, &, ", ' β€” write everything else as literal characters.
  • Use named entities for documentation's sake (€ is readable; € is opaque).

Try it now​

The full html-entities runs in your browser at https://ztools.zaions.com/html-entities β€” no signup, no upload, no data leaves your device.

Open the tool β†—


Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub