ZapKit

Unicode Character Inspector

Paste text to see every character it really contains: code points, UTF-8 bytes, HTML and JavaScript escapes, and invisible characters that cause bugs.

What is a Unicode inspector?

Unicode is the standard that gives every character in every writing system, plus symbols and emoji, a unique number called a code point, written like U+00E9 for é. A Unicode inspector breaks text down to those code points so you can see exactly what's there.

Developers use it to debug strings that compare unequal, track down invisible characters pasted from Word or Slack, check how many bytes text takes in a database column, and get the right escape for HTML or JavaScript source. Writers and designers use it to identify an unfamiliar symbol and find its code.

How to use the Unicode Character Inspector

  1. 1.Paste the text

    A string that misbehaves, an emoji, or a symbol you want to identify.

  2. 2.Read the list

    One row per code point, with its category, bytes and escapes.

  3. 3.Spot the problem

    Hidden and invisible characters are named, such as zero-width space or no-break space.

Example: five characters, six code points

The text é👍🏽, a space, a zero-width space and €:

Visible characters
5
Code points
6
UTF-8 bytes
17
Hidden
U+200B zero-width space
👍🏽
U+1F44D plus skin tone modifier U+1F3FD

The zero-width space is invisible on screen but adds three bytes and breaks exact matching.

Visible characters versus code points

What looks like one character can be several code points. A thumbs-up with a skin tone is two, a family emoji can be seven, and é can be one precomposed character or an e followed by a combining accent. The counts show the difference between what you see and what string length functions return.

Invisible characters are marked with a dot and named. Zero-width spaces, byte order marks and no-break spaces are common culprits when two strings that look identical don't match, a password with a pasted space fails, or JSON refuses to parse.

Frequently asked questions

Why does "length" say 2 for one emoji?

JavaScript counts UTF-16 units, and emoji outside the basic range need two. Python counts code points, so results can differ again.

How do I find a zero-width space?

Paste the text here. Any zero-width or other format character is listed with its name.

Does it show character names?

It shows the category, such as uppercase letter or punctuation, and names common invisible characters. Full Unicode names would need a large download.

How many characters can I inspect?

The list shows the first 2,000 code points; the totals count everything you paste.

More Developer tools