Skip to content
Unicode & EncodingVerified Bench 2026

HTML Entities Cheat Sheet | The Only 8 Characters You Need

Three forms, one rule that matters: escape the syntax characters, write everything else as UTF-8.

·3 min read·Last verified Sep 2026
Windows 11 24H2 & macOS 15.1

The three forms

Named: €. Decimal numeric: €. Hex numeric: €. All three render . Every character page on this site lists all three in its code section.

The 4 you must escape

&amp; (&), &lt; (<), &gt; (>), &quot; (") inside attributes. A raw & before text that looks like an entity name silently corrupts pages (“fish & chips” is fine; “AT&T” can parse oddly — always escape).

The 8 worth memorizing

&copy; ©, &reg; ®, &trade; ™, &deg; °, &mdash; —, &ndash; –, &hellip; …, &nbsp; (non-breaking space — the only one with no UTF-8 literal alternative that behaves the same).

Modern rule: declare UTF-8, write literals

With <meta charset="utf-8">, typing é directly is fully valid HTML5 — entities for visible characters are a legacy habit from Latin-1 days. Keep literals in source (readable, greppable), keep entities for the 4 syntax characters and for generated content where encoding is uncertain (emails, embeds). See Unicode explained.

Share:
JV

Dr. Julian Vance

Lead Editor

Lead Systems Architect & Digital Typographer at HowToTypeThis. Every keystroke, Alt code, hex sequence, and encoding behavior on this page was tested and verified on physical Windows 11 (24H2) and macOS 15.1 (Sequoia) hardware.

Looking for a different glyph or accent?Symbol Picker ↗

Last verified Sep 2026 · Windows 11 24H2, macOS 15.1 · How we test

View all 32 guides
Tray
Copied to clipboard!
Ready to paste anywhere