🔬

Unicode Character Inspector

Software · 1 inputs · Free

🔬

Unicode Character Inspector

1 inputs

Parameters

What is this tool?

Unicode Character Inspector helps developers with encoding, encryption and text processing. Shows every character of a text one by one: code point (U+XXXX), UTF-8 and UTF-16 encoding, HTML entity, JavaScript escape, general category and script. It also counts UTF-16 code units, code points, grapheme clusters and UTF-8 bytes. Invisible characters such as the zero-width space, BOM, soft hyphen, non-breaking space and bidirectional controls are flagged with a warning; the first 2,000 code points are listed.

📘 Common mistakes · Worked example
Text

Shows every character of a text one by one: code point (U+XXXX), UTF-8 and UTF-16 encoding, HTML entity, JavaScript escape, general category and script. It also counts UTF-16 code units, code points, grapheme clusters and UTF-8 bytes. Invisible characters such as the zero-width space, BOM, soft hyphen, non-breaking space and bidirectional controls are flagged with a warning; the first 2,000 code points are listed.

The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.

Last reviewed: · Methodology and sources

How is it calculated?

Shows every character of a text one by one: code point (U+XXXX), UTF-8 and UTF-16 encoding, HTML entity, JavaScript escape, general category and script. It also counts UTF-16 code units, code points, grapheme clusters and UTF-8 bytes. Invisible characters such as the zero-width space, BOM, soft hyphen, non-breaking space and bidirectional controls are flagged with a warning; the first 2,000 code points are listed.

Inputs

ValueUnitExample
Text—Aé€😀​

What is this tool?

Unicode Character Inspector helps developers with encoding, encryption and text processing. Shows every character of a text one by one: code point (U+XXXX), UTF-8 and UTF-16 encoding, HTML entity, JavaScript escape, general category and script. It also counts UTF-16 code units, code points, grapheme clusters and UTF-8 bytes. Invisible characters such as the zero-width space, BOM, soft hyphen, non-breaking space and bidirectional controls are flagged with a warning; the first 2,000 code points are listed.

Common mistakes

  • Mixing up characters, bytes and code units. A database column limit may count bytes, JavaScript's length property counts UTF-16 units, and users see graphemes; decide which one you mean before setting a limit.
  • Cutting text by UTF-16 units. A string cut through the middle of an emoji leaves a lone surrogate, which cannot be encoded as UTF-8 and shows up as a broken character.
  • Assuming trim() removes every invisible character. In JavaScript, trim() removes the non-breaking space and the BOM but not the zero-width space (U+200B), the zero-width joiner or the soft hyphen; those have to be cleaned up separately.
  • Comparing look-alike strings without normalising them. The single code point é (U+00E9) and e + U+0301 are not equal; bring both sides to the same Unicode normalisation form (NFC, for instance) before comparing.
  • Overlooking a BOM at the start of a file. In a CSV or JSON file that begins with U+FEFF, the first column name or the first key carries an invisible character and fails to match.
  • Trusting text copied from Word, a PDF or a web page. Non-breaking spaces, smart quotes and long dashes arrive this way; inspect the text before pasting it into a command line or a configuration file.
  • Trying to tell look-alike letters apart by eye. Latin a (U+0061) and Cyrillic а (U+0430) are identical in most fonts; only the code point shows the difference.

📘 How to Find Invisible Characters: Unicode Code Points, UTF-8 and Graphemes →

Sources

Key terms

Text

Frequently Asked Questions

+Unicode Character Inspector — how is it calculated?

Shows every character of a text one by one: code point (U+XXXX), UTF-8 and UTF-16 encoding, HTML entity, JavaScript escape, general category and script. It also counts UTF-16 code units, code points, grapheme clusters and UTF-8 bytes. Invisible characters such as the zero-width space, BOM, soft hyphen, non-breaking space and bidirectional controls are flagged with a warning; the first 2,000 code points are listed.

+Which values are required?

Text.

+Is my data stored?

No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.

+Is it free?

Yes, all tools are free and require no sign-up.

Similar tools

Popular Tools

🧮

Free Calculators in One Place

Tax, finance, health, math and more — 500+ tools, all in one place.

Choose your cookie preference to continue

Records the site needs to work (theme, language, favourites) stay in your browser.

This site is free and funded by ads.

With your consent, Google Analytics cookies measure visits and Google AdSense cookies are used to show ads; the data is processed on Google servers abroad.

If you reject, the site works just the same.

Cookie Policy · KVKK notice