Toolvito

Calculates on this device. File exports run online.

Unicode Inspector

Paste a text to see every character in it: its code point, name, category, script, block and bytes, with invisible and unusual characters pointed out. Look up a character by its code point or by words of its name, write a text with escapes or read escapes back, normalize a text, and find hidden characters that can change what code or a link means.

Enter your values

Paste any text. Each character is listed with its code point, name, category, script, block and bytes, and invisible or unusual characters are pointed out.

Your values

Up to 200,000 characters; the first 5,000 code points are listed.

More options

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

Scan a whole project for hidden characters (Trojan Source, invisible, mixed scripts)

Scan a project for hidden characters

Choose source files or a ZIP of a project (node_modules, .git, build and dist are skipped). Every text file is read as UTF-8 and each bidi control, invisible character, unusual space and control character is listed with its line and column, with the words of mixed scripts; on request you get the files back without the invisible and bidi characters.

Or drop files here. Any type of file, up to 500 files, 100 MB each at most.

    More options

    The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to look at a text

    1. Paste the text and press Inspect.
    2. Each character is listed; what you see as one character (a grapheme cluster, such as 👍🏽 or é made of e and an accent) is shown with its parts.
    3. The counts say how long the text is for people (grapheme clusters), for Unicode (code points), for JavaScript (UTF-16 code units) and on disk (UTF-8 bytes).

    Look up a character

    Type a character, or its code point in any common form (U+00E9, \u00e9, é, 0xE9 or 233), to see its name, category, script, block, bytes and every way to write it in code. Or type words of a name, such as thumbs up, to find characters.

    Hidden and look-alike characters

    • Bidi controls (such as U+202E RIGHT-TO-LEFT OVERRIDE) change the order in which text is shown, so code can read differently from how it runs (Trojan Source, CVE-2021-42574).
    • Invisible characters (zero-width spaces, word joiners, tags, soft hyphens) hide inside words and links.
    • Words of mixed scripts, such as pаypal with a Cyrillic а, look like other words. Each is listed with the letters that do not belong.
    • The page gives the text back without the invisible and bidi characters.

    Limits you should know

    • Names and categories are those of Unicode 16.0 (from Python's unicodedata); blocks and scripts come from the Unicode data files that fontTools carries.
    • Look-alikes within one script (0 and O, l and I) are not found; Unicode's confusables list is not used.
    • How a character looks depends on the fonts of your device.

    Privacy

    Text is read in your browser. Only the files you choose in the box below are sent to the Toolvito server, to be scanned there. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    Related tools