Unicode Character Inspector
Software · 1 inputs · Free
Unicode Character Inspector
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 exampleShows 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
| Value | Unit | Example |
|---|---|---|
| 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
- The Unicode Standard, Version 18.0 — Chapter 2: General Structure (code points, encoding forms, combining characters) ↗
- The Unicode Standard, Version 18.0 — Chapter 23: Special Areas and Format Characters (zero-width characters, BOM, bidirectional controls) ↗
- Unicode Standard Annex #29 — Unicode Text Segmentation (grapheme clusters) ↗
- Unicode Standard Annex #44 — Unicode Character Database (General_Category values) ↗
Key terms
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.