ToolsHub4u

See the characters hiding in your text

See what is really in a string: every visible character with its code points, and the invisible ones hiding between them that stop two texts matching.

  • Code points for every character
  • Finds invisible controls
  • Example samples
Ready Text & Writing
A character can be several code pointsAn emoji with a skin tone or a joined family is one visible character made from several code points. The inspector shows it as one grapheme with every code point listed.
1Enter
2Adjust
3Copy result

Unicode Inspector

1

Text to inspect

Examples

An example replaces the text in the box below.

Invisible characters are shown as labels in the grid, not as blank cells.

Show
No text yet Live
2

Characters

Graphemes

31

7 hidden characters

  • U+0068
  • U+0065
  • U+006C
  • U+006C
  • U+006F
  • [Zero-width space]U+200BZero-width space
  • U+0077
  • U+006F
  • U+0072
  • U+006C
  • U+0064
  • U+000ALine feed
  • U+0070
  • U+0072
  • U+0069
  • U+0063
  • U+0065
  • U+003A
  • [No-break space]U+00A0No-break space
  • [Invisible]U+0031
  • [Invisible]U+0030
  • [Invisible]U+0030
  • U+000ALine feed
  • U+0066
  • U+0061
  • U+006D
  • U+0069
  • U+006C
  • U+0079
  • [Invisible]U+0020
  • [Invisible]U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F466Combined character
Graphemes
31
Code points
37
Hidden
7
Emoji
1
Distinct
22
UTF-16 units
41

A grapheme is what a reader sees as one character. Code points are the underlying values; some graphemes need several.

Invisible characters can stop two apparently identical strings from matching. Remove them with the Emoji Remover or the Text Toolbox if they are not wanted.

Paste a string and the tool takes it apart: every visible character, the code points behind it, and a list of anything invisible hiding between the letters. It is the fastest way to find out why two strings that look identical will not match.

That last case is the practical one. A name that will not validate, a coupon code that "is definitely right", an email address that bounces โ€” often the text contains a zero-width space, a no-break space or a soft hyphen that arrived with a copy and paste and never shows on screen.

Three different counts

The summary reports three numbers, and they are not interchangeable:

The three units the inspector counts, using one example string
UnitWhat it isa๐Ÿ‘๐Ÿฝb
GraphemesWhat a reader sees as one character3
Code pointsThe underlying Unicode values4
UTF-16 unitsHow JavaScript stores the string6

That example is the whole lesson. Three visible characters, four code points, six storage units โ€” because the thumbs up is one code point stored in two units, and the skin tone modifier is a second code point that joins it to make a single visible character.

Character limits on social platforms and forms count differently, and that is how a bio that looks 150 characters long gets rejected. The ground truth for a limit is usually the UTF-16 or code point count, not the grapheme count. This tool reports all three so you can compare.

Finding invisible characters

Each code point is checked against a table of about 36 known invisible and formatting characters. Anything found is marked with a tone, labelled by name in the grid, and counted in the status line. The names that matter most:

  • U+200B zero-width space โ€” the usual culprit after a copy from a web page or a PDF.
  • U+00A0 no-break space โ€” looks like a space, is not one, and survives most trimming.
  • U+FEFF byte order mark โ€” the invisible character at the start of a file exported as UTF-8.
  • U+00AD soft hyphen โ€” invisible until a line break happens at that point.
  • U+200D zero-width joiner โ€” legitimate inside emoji, suspicious in a name or a code.

The grid gives the code points for every grapheme, so a combined character shows as U+1F468 U+200D U+1F469 U+200D U+1F467 rather than as one opaque symbol. That is how you tell a real family emoji from three separate people and two joiners.

The hidden count has false positives

This is the part to know before you trust the amber warning. The check that flags control characters compares a hexadecimal string against the decimal number 32, so any code whose hex value reads as a number below 32 is treated as hidden. That catches the real control characters, and it also catches eleven perfectly ordinary ones:

Worked exampleInput: Hello, world!
Reported: 2 hidden characters
Actually hidden: none โ€” the two are the space and the exclamation mark

The full set of false positives is the space, !, ", #, $, %, &, ', (, ), 0 and 1. In practice that means almost any English sentence reports hidden characters, because it contains a space or a zero. The loaded sample reports 7 hidden characters, and four of them are the digits and the space in "price: 100".

Read the codes rather than the count. Use the hidden filter, then look at each entry: a real invisible character has a code in the U+2000 to U+206F range, or U+00A0, U+00AD, U+FEFF or U+034F. If the code is U+0020 to U+0031, it is an ordinary character the check misread. Punctuation from U+002A onwards is not affected, which is why a comma is treated correctly and a space is not.

What the emoji count misses

The emoji filter looks for characters in the Extended Pictographic property. That covers faces, hands, animals and most objects, and it misses two common groups:

  • Flags. A flag is a pair of regional indicator letters, which are not pictographic, so a British or Indian flag is counted as a combined character but not as an emoji.
  • Keycaps. A keycap like 1๏ธโƒฃ is a digit plus a variation selector plus an enclosing keycap. None of the three is pictographic, so it is counted as hidden instead.

Skin tone modifiers and zero-width joiners also count as hidden rather than as emoji, because they are combining marks. On the emoji sample, Hi ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‘๐Ÿฝ reports 8 graphemes, 14 code points, 21 UTF-16 units and 2 emoji โ€” the family and the thumbs up, with the flag left out.

Views and grouping

Three views filter the grid: all characters, hidden only, or emoji only. On a long text the grid stops at 240 graphemes and says how many it is showing, so a pasted document is inspected in part โ€” the counts above the grid always describe the whole string.

Group repeats folds consecutive identical characters into one row. The note on a grouped row lists every repeat count rather than the final one, so four "a" characters in a row show as "ร—2 ยท ร—3 ยท ร—4". It is readable, if clumsy, and it only groups runs of the same character โ€” "abab" stays four rows.

Three good reasons to paste something here

  • A form rejects a value that looks correct. Find the zero-width or no-break character, delete it, resubmit.
  • A string comparison fails in code. Check whether one side carries a combining mark or a different apostrophe.
  • A character count does not match the platform's. Compare graphemes, code points and UTF-16 units to see which one the limit is using.

The copy button produces a plain-text list of the first 80 graphemes with their codes, which is the format to paste into a bug report. Nothing is uploaded and a reload clears the box.

Questions

Common questions

Short answers to what people ask before using this tool.

What does the Unicode inspector show?

Every visible character in your text with its code points, plus counts for graphemes, code points and UTF-16 units, and a filter for invisible characters and emoji.

What is the difference between a grapheme and a code point?

A grapheme is what a reader sees as one character. A code point is one Unicode value. "a๐Ÿ‘๐Ÿฝb" is 3 graphemes but 4 code points, because the thumbs up plus its skin tone are two code points drawn as one character.

Why does a plain sentence show hidden characters?

A bug in the hidden-character check. It compares a hex string to the number 32, so spaces, ! " # $ % & ' ( ), 0 and 1 are wrongly flagged. Read the code points instead โ€” real invisible characters are in the U+2000 range or are U+00A0, U+00AD or U+FEFF.

How do I use it to fix a form that rejects my input?

Paste the value, switch to the hidden view and look for a code in the U+2000 to U+206F range, or U+00A0. Copy the text without that character and paste the clean version back into the form.

Why are flags and keycaps not counted as emoji?

The emoji check uses the Extended Pictographic property. A flag is two regional indicator letters and a keycap is a digit plus two modifiers โ€” none of those are pictographic, so both are missed and the keycap is flagged as hidden instead.

How many characters are listed?

The grid is capped at 240 graphemes and tells you when it is showing only part of a longer string. The counts always describe the whole text, and the copy button includes the first 80.

Which character limit does a social platform use?

Most count something close to UTF-16 units or code points, which is why an emoji can cost two or more of a stated limit. Compare the three figures here against the platform's own counter to work out which it uses.

Is my text uploaded?

No. Inspection happens in the browser tab and nothing is stored. Reloading the page clears the box, so copy the summary if you need it later.