Technical and design
Character and Encoding Inspector
Find the invisible, bidirectional and unusual characters hiding in a text, and clean them out.
Runs in your browser; nothing is uploaded. · Free, no account · 2 min
Importing a saved run into your account is coming soon. Until then, your last runs stay in this browser only, and you can download your files.
How to use
- Paste the text you want to inspect.
- Choose whether the table shows only unusual characters or every character.
- Read the findings, then the table of code points with their UTF-8 bytes and names.
- Copy the text tagged, escaped or cleaned, or try the mojibake repair if the text looks garbled.
What it checks and how it works
The tool lists each code point in the text with its U+ number, its UTF-8 bytes, its Unicode general category, read from the JavaScript engine's own Unicode tables, and, for invisible, format, space and bidirectional control characters, a name and a kind. Names are bundled only for those characters. For any other character the table gives the general category and not a Unicode character name. Bidirectional classes and controls follow Unicode Standard Annex #9, using the bidi-js package, and unbalanced controls are reported. Unterminated bidirectional controls in source code are the basis of the Trojan Source attack described at trojansource.codes (CVE-2021-42574).
The text can be shown with unusual characters tagged, written with Unicode escapes, or cleaned. Cleaning can keep the zero-width non-joiner and joiner, which Arabic and Persian writing use. The tool can also try to repair mojibake, text decoded in the wrong encoding, by reading it as windows-1252 bytes and decoding those bytes as UTF-8, as the WHATWG Encoding Standard defines.
Limits: a repair is a guess to check by eye, and the tool does not normalize or spell-check text. When you ask to see every character, a maximum of 300 are listed.
Sources
- Unicode Standard Annex #9: Unicode Bidirectional Algorithm opened 29 Oct 2026
- WHATWG: Encoding Standard (UTF-8, windows-1252, fatal decoding) opened 29 Oct 2026
- Trojan Source: Invisible Vulnerabilities (CVE-2021-42574) opened 29 Oct 2026
Related tools
Bidi Control Characters Cleaner
Find and remove the hidden direction marks and zero-width characters that sneak into copied text.
Mixed Direction Text Fixer
Fix Arabic lines that jumble English names, numbers and URLs by wrapping each left-to-right run properly.
Arabic Text Normalizer
Fold the spelling variants of Arabic text into one form for matching, searching and comparing.
Tashkeel Remover
Strip tashkeel (Arabic diacritics) from vocalized text, and keep the shadda if you want to.
Questions
About this tool
They are code points that print nothing, such as zero-width spaces and bidirectional controls. They can break matching, URLs and code, and the Trojan Source research shows they can hide in source code.
Not always. The zero-width non-joiner and joiner are used in Arabic and Persian writing, so the tool lets you keep them when cleaning.
It is text that was decoded with the wrong encoding, so Arabic appears as strings like العربية. The repair re-reads it as windows-1252 bytes and decodes them as UTF-8.
Get started today
Find out where your brand stands in AI. Free.
Run a free AI visibility analysis on your domain. No credit card, results in minutes. See what AI engines say about your brand today.
Brands already measuring their AI visibility with Zaher.


