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.

13 graphemes13 code points15 bytes

Live result

Output

2scripts
  • 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.
01

Reviewed truth vectors

Examples that expose the edge cases

Inputpaypal
Output1 script: Latin

A single script is normal.

Inputpaypаl
Output2 scripts: Latin + Cyrillic

One Cyrillic letter hides among Latin ones.

Inputひらがなとカタカナと漢字
Output3 scripts: Hiragana + Katakana + Han

Three scripts that together form one writing system (Japanese), so they are listed but not flagged as a risk.

02

Transparent implementation

How it works

  1. 01

    Classify every letter (any Unicode letter, including uncased ones such as kana and Han) by its Unicode Script property.

  2. 02

    Ignore script-neutral punctuation, digits and symbols, and letters from scripts outside the recognised list.

  3. 03

    Report the scripts present and flag when more than one appears, unless together they form one writing system such as Japanese or Korean.

03

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.

04

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.

05

Testing and sources

How this tool is tested

GlyphSift Editorial — Text-engine notes written and reviewed by Hommer Zhao, Founder & General Manager

GlyphSift Editorial is the site's writing and review process, led by Hommer Zhao, who is accountable for every tool page and correction. Each tool's examples are written against real Unicode edge cases and checked against the engine before the page is published.

Each tool page is reviewed against the same six input classes the engine is tested with — ASCII, emoji, combining marks, non-Latin scripts, empty input, and 5,000-grapheme input — and cannot become eligible if it is only a parameter variation of another page.

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