Skip to content

Unicode Character Lookup and Code Converter

The Unicode lookup shows everything about each character you paste: U+ code, official name, block, category, UTF-8 and UTF-16, HTML entity and CSS/JS escapes. Invisible characters get a red frame. It also turns codes such as U+2665, ♥ or ♥ back into characters and encodes or decodes HTML entities.

Tool

Previewing with sample characters.

Block

This tool runs entirely in your browser; your text never leaves your device.

How to find a character’s Unicode code

  1. Paste a symbol or text on “Inspect characters”.
  2. Read the code, block and encodings on each card; load names with “Show names”.
  3. Copy the format you need.
  4. Use “Code to character” or the HTML entity tab for the other directions.

Categories and encodings are computed in your browser. Names load from small files on this site only when “Show names” is on; your text is never sent.

Tips

  • Flags and family emoji are one visible character but several code points.
  • Find out which invisible character a blank nickname uses.
  • In UTF-8 HTML you usually only need to escape & < > " '.

Example symbols and codes

Codes of some frequently asked symbols (Unicode 16.0 data):

CharacterCodeHTMLBlock
♥U+2665&hearts; · &#x2665;Miscellaneous Symbols
★U+2605&starf; · &#x2605;Miscellaneous Symbols
ㅤU+3164&#x3164;Hangul Compatibility Jamo (blank filler)
₺U+20BA&#x20BA;Currency Symbols
𝐀U+1D400&#x1D400;Mathematical Alphanumeric Symbols
🇹🇷U+1F1F9 U+1F1F7&#x1F1F9;&#x1F1F7;Enclosed Alphanumeric Supplement

Unicode, code points and encodings

Unicode gives every letter, symbol and emoji a number called a code point, written in hex with “U+”: A is U+0041, ♥ is U+2665. Code points are grouped in blocks. UTF-8 stores ASCII in 1 byte, Turkish letters in 2, ♥ in 3 and emoji in 4. JavaScript and many platforms count UTF-16 units, where characters above U+FFFF take two units (a surrogate pair).

What is an HTML entity?

An HTML entity writes a character by name or number: &lt; for <, &amp; for &, &hearts; for ♥, or numerically &#9829; / &#x2665;. Only & < > must be escaped in text; the rest is optional in UTF-8 pages. The entity tab encodes at three levels and decodes any pasted code.

Invisible characters and empty boxes

Some characters leave no ink: zero-width space (U+200B), no-break space (U+00A0), Hangul filler (U+3164). They get a red frame here. A box (□) means the device font has no drawing for the character, not that it is broken. See invisible character and symbols.

Unicode lookup FAQ

How do I find a symbol’s Unicode code?

Paste it into “Inspect characters”; the card shows its U+ code and encodings.

What is an HTML entity?

A way to write a character in HTML by name (&hearts;) or number (&#9829;).

How can I tell whether text contains invisible characters?

Paste it in; invisible characters get a red frame and an “invisible” label.

What is the difference between an Alt code and a Unicode code?

Alt codes depend on the Windows code page and can differ between systems; Unicode codes are the same everywhere.

Why do some symbols show as boxes (□)?

The device fonts have no drawing for that character; the character itself is still correct.

Related tools