emojianlab

Unicode Inspector

Inspect grapheme clusters and identify invisible characters in a string.

Workspace

Result

12 graphemes · 16 code points
é   U+0065 U+0301
Space   U+0020
👩🏽‍🎨   U+1F469 U+1F3FD U+200D U+1F3A8   Zero-width joiner
Space   U+0020
t   U+0074
e   U+0065
a   U+0061
Thin space   U+2009
t   U+0074
i   U+0069
m   U+006D
e   U+0065

Start with a string that looks simpler than it is

Click Joined emoji in the workspace. The inspector shows 👩🏽‍🎨 as one cluster under a recent browser's grapheme rules. Its row lists U+1F469 followed by U+1F3FD and U+200D and U+1F3A8. The first value represents a woman. The second modifies skin tone. A zero width joiner connects the components. The final value is an artist palette. A supporting renderer can draw them as a single person with an occupation. The row describes what was present in the actual text regardless of what a particular screen draws.

Paste an ordinary pair of words separated by a thin space. It may look like all the other gaps are the same. The inspector gives the thin space a name and a code point. U+2009 carries information that a screenshot cannot show. It is neither a regular space nor a decoration outside the characters. Printing the sequence can help an editor see why two lines that look alike compare differently.

Read the report at three levels

The visible cluster

Grapheme segmentation groups characters into units that commonly act as one element in writing. A base letter and its following accent can form one cluster. A joiner can take part in names and scripts and emoji. Browser support and Unicode versions affect some boundaries. The cluster is the useful view when you are moving one perceived character in a text line. It is not a promise about how every font will draw it.

The values inside it

Each U+ label identifies a code point in hexadecimal. The order matters. e followed by U+0301 is stored differently from a single U+00E9. Both can display as é. Compare them with this tool or Unicode Text Diff if their source looks identical. The normalization tool can compose or decompose the original for a separate comparison. Use the inspector first when you want to learn what you actually received without changing it.

The characters you cannot see easily

A character can influence a layout while taking very little or no apparent width. A no break space is a common example. A zero width joiner can be part of a new visual shape. A blank braille pattern can take up horizontal space. The names in the report help distinguish known markers. Some other symbols may appear only with their codes. Keep the exact values if you need to report the difference to another editor.

Diagnose three everyday problems

One paste appears narrower. Check all space rows. Compare U+0020 with U+2009 and U+202F. The first is the ordinary space. The others carry different width or breaking behavior by default. Two lines can differ because of a single such value. Keep a nonbreaking space when it is serving a legitimate boundary such as a number with its unit.

An accent looks separate. Check whether its row includes a base and a combining mark. The underlying cluster may be correct even if the renderer places the two outlines poorly. If the source has a corresponding precomposed value then try NFC in the normalizer and compare. Some sequences have no precomposed counterpart. A font change can address positioning without changing the text.

An emoji appears as several pictures. Peek at the actual values and check for the joiner and any presentation selector. If the sequence is intact then a count and a screenshot answer different questions. Record the path by which the string was copied. Test a recent font or renderer. If the joiner is missing then compare the source and destination to find where the text changed.

Distinguish characters from directions

A group of letters can read from a different side than the rest of a paragraph. Invisible direction marks can influence the display. The report shows the stored sequence ordered by its clusters. It is useful for comparing two sources even if the visible order in a paragraph differs. When discussing a changed sequence include the code points rather than pointing only to the start or end of a screenshot. Visual placement depends on the rest of the text. Stored positions remain better evidence for a literal comparison.

Spaces have a separate job from direction marks. A thin space may be intentional in a typographic layout. Replacing it with a regular space is an editorial decision about line width and wrapping. Use the inspector to name the evidence before making that decision. Choose a targeted cleanup utility if a deliberate series of replacements is what the draft needs. Save a source copy before folding characters that could be meaningful.

Make an inspection note another person can reproduce

Copy the original substring into a plain specimen. Write which app produced it and where the display differed. Save the report as text if exact codes are needed. If a short document has two identical looking titles then provide a separate label for each version rather than saying the first one looks wrong. A colleague can paste each title and see the underlying sequence without borrowing your font.

A concise inspection often finds a single discrepancy. A colleague reviewing a label may want to know if the altered value will affect searching or sorting. Provide the exact code and explain which spot has changed. Use a bigger excerpt only when its neighbors determine the segmentation. A single combining mark removed from its context may give a different impression because it now has no base character. Keep enough of the original surrounding letters to see its role.

Read the result without assuming it is a conversion

The report lists data. It does not rewrite your source. If you copy the report then you get its rows and codes. Copy the actual source selection if you want the analyzed string itself. This difference matters when a blank value has to travel to a different app. A label saying Thin space is not the same thing as the actual invisible character. Save both only if both serve the job. The label helps identify it. The character is what a text field needs to receive.

Compare a row label with a valid code point

Input case What the report can show Where to use it
e followed by a combining acute One grapheme with two values Compare with the single precomposed value before editing an accent
A followed by the blank braille pattern and B U+2800 appears between ordinary letters Distinguish a blank patterned value from a word space
A joiner inside a person emoji The joiner code appears among the members Explain why two renderers show different pictures for one stored cluster

Read the raw order of the values in the first example and compare it with a report for the composed letter. Save the code list with the actual source. A pasted label that mentions an acute is a description of the mark. The stored mark is what the inspector acts on. Do the same with a copied invisible gap. Use the original text instead of typing a new gap that merely looks the same. A test made from the original can confirm whether the editor changed text.

Reading a Unicode inspection report

How can one cluster contain four values?

A joined emoji is a sequence of components. Browser segmentation can keep the base and modifier and joiner and another base together. The code point list in that one row exposes the individual pieces.

Will the inspector alter an accent?

It analyses the text currently in the input. It reports the values without normalizing them. Use a normalization form separately if you want to compare a composed version and a decomposed version.

Does Copy result copy my original text?

It copies the report. Copy the selection inside the source field to take the original values. The report is useful when another person needs an explicit record of each label and code rather than the string alone.

Can it distinguish a tab from a thin space?

It names both when they are present as known characters. The codes are different and do different work. A tab can align to a tab stop. A thin space provides a horizontal gap.

Why does an ordinary looking heart have two entries in its code list?

One may be the base heart and the other an emoji variation selector. That selector can appear in the same grapheme. Inspect another plain heart to see whether the selector is absent there.

Why might a font show several pictures for one row?

Segmentation groups according to Unicode rules in the browser. Rendering also needs a suitable glyph. A browser can group a valid sequence even where the font draws the parts separately.

Do no break spaces and regular spaces compare equal?

They are distinct code points in an exact comparison. A compatibility normalization can fold certain spaces. Inspect the source before choosing whether their difference should survive in your destination.

What if I need size in bytes or storage units?

Use Character Counter. It reports UTF 8 bytes and UTF 16 units in addition to graphemes and code points. Choose the measure mentioned in your actual field or storage instructions.