HTML Entities
Escape < > & and other characters as HTML entities or decode them back. Supports all 2,125 named and numeric references, with a quick reference.
0 characters · 1 line
0 characters · 1 line
Shortcut: Ctrl/⌘ + Enter uses the result as input and switches mode
Common entities
Search by name, character, code point or category. Once the full table loads, all 2,125 names are searched.
HTML reserved characters
&U+0026 · & · &<U+003C · < · <>U+003E · > · >"U+0022 · " · "'U+0027 · ' · '
Spaces and invisible characters
- Invisible character
U+00A0 ·   ·   - Invisible character
 U+2002 ·   ·   - Invisible character
 U+2003 ·   ·   - Invisible character
 U+2009 ·   ·   - Invisible character
​U+200B · ​ · ​ - Invisible character
‌U+200C · ‌ · ‌ - Invisible character
‍U+200D · ‍ · ‍ - Invisible character
‎U+200E · ‎ · ‎ - Invisible character
‏U+200F · ‏ · ‏ - Invisible character
­U+00AD · ­ · ­
Punctuation
–U+2013 · – · –—U+2014 · — · —…U+2026 · … · …‘U+2018 · ‘ · ‘’U+2019 · ’ · ’‚U+201A · ‚ · ‚“U+201C · “ · “”U+201D · ” · ”„U+201E · „ · „«U+00AB · « · «»U+00BB · » · »‹U+2039 · ‹ · ‹›U+203A · › · ›•U+2022 · • · •·U+00B7 · · · ·§U+00A7 · § · §¶U+00B6 · ¶ · ¶†U+2020 · † · †‡U+2021 · ‡ · ‡‰U+2030 · ‰ · ‰′U+2032 · ′ · ′″U+2033 · ″ · ″¡U+00A1 · ¡ · ¡¿U+00BF · ¿ · ¿
Currency
¢U+00A2 · ¢ · ¢£U+00A3 · £ · £¥U+00A5 · ¥ · ¥€U+20AC · € · €¤U+00A4 · ¤ · ¤
Symbols
©U+00A9 · © · ©®U+00AE · ® · ®™U+2122 · ™ · ™°U+00B0 · ° · °µU+00B5 · µ · µ♥U+2665 · ♥ · ♥♠U+2660 · ♠ · ♠♣U+2663 · ♣ · ♣♦U+2666 · ♦ · ♦◊U+25CA · ◊ · ◊☆U+2606 · ☆ · ☆★U+2605 · ★ · ★✓U+2713 · ✓ · ✓✗U+2717 · ✗ · ✗
Math
×U+00D7 · × · ×÷U+00F7 · ÷ · ÷±U+00B1 · ± · ±−U+2212 · − · −≠U+2260 · ≠ · ≠≤U+2264 · ≤ · ≤≥U+2265 · ≥ · ≥≈U+2248 · ≈ · ≈≡U+2261 · ≡ · ≡∞U+221E · ∞ · ∞∑U+2211 · ∑ · ∑∏U+220F · ∏ · ∏√U+221A · √ · √∂U+2202 · ∂ · ∂∫U+222B · ∫ · ∫½U+00BD · ½ · ½¼U+00BC · ¼ · ¼¾U+00BE · ¾ · ¾¹U+00B9 · ¹ · ¹²U+00B2 · ² · ²³U+00B3 · ³ · ³¬U+00AC · ¬ · ¬∀U+2200 · ∀ · ∀∃U+2203 · ∃ · ∃∅U+2205 · ∅ · ∅∈U+2208 · ∈ · ∈∩U+2229 · ∩ · ∩∪U+222A · ∪ · ∪
Arrows
←U+2190 · ← · ←↑U+2191 · ↑ · ↑→U+2192 · → · →↓U+2193 · ↓ · ↓↔U+2194 · ↔ · ↔⇐U+21D0 · ⇐ · ⇐⇑U+21D1 · ⇑ · ⇑⇒U+21D2 · ⇒ · ⇒⇓U+21D3 · ⇓ · ⇓⇔U+21D4 · ⇔ · ⇔↵U+21B5 · ↵ · ↵
Greek letters
αU+03B1 · α · αβU+03B2 · β · βγU+03B3 · γ · γδU+03B4 · δ · δεU+03B5 · ε · εθU+03B8 · θ · θλU+03BB · λ · λμU+03BC · μ · μπU+03C0 · π · πσU+03C3 · σ · σωU+03C9 · ω · ωΔU+0394 · Δ · ΔΣU+03A3 · Σ · ΣΩU+03A9 · Ω · Ω
Accented Latin letters
áU+00E1 · á · áàU+00E0 · à · àäU+00E4 · ä · äéU+00E9 · é · éèU+00E8 · è · èíU+00ED · í · íóU+00F3 · ó · óöU+00F6 · ö · öúU+00FA · ú · úüU+00FC · ü · üñU+00F1 · ñ · ñçU+00E7 · ç · çßU+00DF · ß · ßåU+00E5 · å · åøU+00F8 · ø · øæU+00E6 · æ · æ
How to use
- Choose “Encode” or “Decode”.
- Paste or type into the input, or click “Example” to try it. The result updates instantly.
- When encoding, choose which characters to escape and how. Escaping & < > " ' is enough to put text safely into HTML; add all non-ASCII characters when you need pure ASCII.
- When decoding, invalid or unknown references are listed under the input with their position.
- Search the reference below by name, character or code point (such as U+00A9) and click “Copy” to grab an entity.
FAQ
Is my data uploaded?
No. Encoding and decoding happen in your browser. Even the full entity table is loaded with the page, so nothing you type is sent to a server.
Which characters must be escaped?
In HTML text, & and < must be escaped and > should be. Inside an attribute value, also escape the quote that delimits it, " or '. As long as the page uses UTF-8, Chinese text and emoji never need escaping.
What is the difference between named, decimal and hex references?
Browsers treat them the same: ©, © and © all display ©. Named entities are easier to read, but only some characters have a name. For characters without one, such as Chinese or emoji, this tool falls back to hex.
Why is the apostrophe written as ' instead of '?
' only exists in HTML5 and XML, and older HTML does not know it. ' works everywhere. Both forms are decoded.
Why does © decode without a semicolon?
For compatibility with old pages, the HTML spec lets 106 common entities such as &, <, © and   drop the semicolon. Browsers still decode them but treat it as a syntax error. This tool decodes them too and reminds you to add the semicolon; other entities are not decoded without it.
Why does € turn into €?
0x80–0x9F are control codes, but many old pages used those numbers for Windows-1252 characters. The HTML spec therefore tells browsers to use the Windows-1252 character instead: € is € and – is –. This tool does the same and lists a warning.
Related tools
Unicode Escape
Convert text to \uXXXX, \u{…}, &#x…;, U+XXXX and other escapes or back, with each character’s code point and UTF-8 bytes.URL Encode/Decode
Percent-encode or decode URLs and query parameters, with full UTF-8 support and exact error positions.String Escape
Escape and unescape text for JSON, JavaScript, HTML, XML, CSV, SQL, shell and regex string literals, with error positions.