Inspect Unicode · browser-local
Mixed Script Detector
See which Unicode scripts your text uses. GlyphSift counts letters by script so you can tell legitimate multilingual text from a single word that secretly mixes, for example, Latin and Cyrillic.
Works on up to 5,000 characters and 20,000 code points per field (at most 64 code points per character), processed in your browser.
Output
- Latin10 letters
- Cyrillic2 letters
Multiple scripts can be legitimate multilingual text, but mixed scripts in a single word can indicate a spoofing attempt. Review with the confusable checker.
Good fit
Use this tool when
- You want to know which scripts appear in text.
- You suspect a look-alike substitution in a name or URL.
- You are reviewing content for spoofing risk.
Keep the original
Avoid it when
- You expect multilingual text and mixing is normal.
- You need the exact confusable characters, not just scripts.
- You are counting characters rather than classifying them.
Reviewed truth vectors
Examples that expose the edge cases
paypal1 script: LatinA single script is normal.
paypаl2 scripts: Latin + CyrillicOne Cyrillic letter hides among Latin ones.
ひらがなとカタカナと漢字3 scripts: Hiragana + Katakana + HanThree scripts that together form one writing system (Japanese), so they are listed but not flagged as a risk.
Transparent implementation
How it works
- 01
Classify every letter (any Unicode letter, including uncased ones such as kana and Han) by its Unicode Script property.
- 02
Ignore script-neutral punctuation, digits and symbols, and letters from scripts outside the recognised list.
- 03
Report the scripts present and flag when more than one appears, unless together they form one writing system such as Japanese or Korean.
Known limitations
What the result cannot promise
Multiple scripts are often legitimate multilingual text, not spoofing.
It classifies letters only, not every symbol.
It does not implement the full UTS #39 restriction levels.
Questions before copying
Frequently asked questions
Does mixed script mean spoofing?
Not by itself. Multilingual text mixes scripts legitimately; concern rises when scripts mix inside a single word or a domain name.
Which scripts are recognized?
More than thirty scripts are named, using the Unicode Script property: Latin, Cyrillic, Greek, Armenian, Georgian, Hebrew, Arabic, the major Indic scripts, Thai, Lao, Khmer, Hangul, Hiragana, Katakana, Han, Bopomofo, Ethiopic, and others. Anything outside that list is grouped as other. Han + Hiragana + Katakana (Japanese) and Han + Hangul (Korean) are recognised as one writing system and are not flagged as a risk.
Is this full UTS #39?
No. It is a practical script signal, not the complete Unicode security restriction-level algorithm.
Testing and sources
How this tool is tested
Automated evidence
- Tool-contract & coverage suiteShared suite · 37 cases across all tools it covers
tests/tools-30.test.mjs mirrors the ToolRunner dispatch and asserts every registered engineId returns the contracted output shape, plus a coverage guard: every style keeps one output character per input character with unmapped characters passed through in place, and strikethrough, zalgo and upside-down never drop or split a grapheme cluster.
Run in: node --test after a production build (vinext build) - Rendered-HTML suiteShared suite · 26 cases across all tools it covers
tests/rendered-html.test.mjs renders the deployed server bundle and asserts the Unicode-version manifest and each wave's tool markup are present in the server-rendered HTML.
Run in: node --test against the built dist/server bundle - Unicode inspection suiteShared suite · 21 cases across all tools it covers
tests/unicode-inspection.test.mjs verifies grapheme/code-point/byte counting and hidden-control detection using explicit \u escapes for combining and bidirectional characters.
Run in: node --test against the runtime's Unicode data - Compatibility risk suiteShared suite · 13 cases across all tools it covers
tests/compatibility.test.mjs checks that bidirectional controls, invisible characters, mixed scripts, and NFKC-changing input raise the documented risk status, and that safe-text stripping preserves ordinary content.
Run in: node --test, deterministic analyzer
Standards this tool follows
- UTS #39: Unicode Security Mechanisms
Confusable and mixed-script detection methodology.
- UAX #9: Unicode Bidirectional Algorithm
Bidirectional control characters flagged during inspection.
- UAX #15: Unicode Normalization Forms
NFC/NFKC normalization comparisons.
- RFC 3629: UTF-8
Byte-length counting for the UTF-8 encoding.