Unicode Confusables Checker
Unicode Confusables Checker
Find the homoglyphs — UTS #39 skeletons, scripts and punycode for any string
Unicode Confusables Checker
Comparison
Two strings are confusable when their skeletons are equal.Every character in the first string
| Glyph | Code point | Name | Script | Identifier status | Prototype |
|---|
Punycode (RFC 3492)
Whatxn-- form the first string produces as a domain.
Skeleton vs NFKC — neither contains the other
A defence built on one has a hole shaped like the other.Only the skeleton catches these
Separate letters that happen to be drawn alike. NFKC leaves them untouched.
Only NFKC catches these
Compatibility variants with no confusables row, such as circled Ⓐ, superscript ⁵ and ™.
Both catch these
The overlap, which is smaller than people assume.
Unicode 18.0.0 · confusables.txt dated 2026-08-06 · 6,712 mappings
UTS #39 states that skeletons “are not stable across versions of Unicode… If they are stored, they
must be recomputed.” This page recomputes on every keystroke and stores nothing. Between Unicode
17.0.0 and 18.0.0, 1,216 mappings were added, 1,069 removed
and 241 repointed.
Everything runs in your browser — the string you paste is never transmitted.
How to use the Unicode confusables checker
A domain label, a package name, a username, a filename — anything that is meant to be an identifier. Paste it whole; the checker walks it code point by code point.
The skeleton replaces every character with its prototype. If a Cyrillic а comes back as a Latin a, that letter is not what it appeared to be.
Two strings are confusable when their skeletons are identical. The comparison panel aligns them and marks exactly which characters differ.
The punycode panel shows the xn-- form a registry stores. The table names every character, its script and whether it is even allowed in an identifier.
Homoglyphs, skeletons, and what a confusables check actually proves
A homoglyph attack does not break anything. It relies on the fact that Unicode contains many characters that are drawn the same way and are not the same character. Cyrillic а, Greek ο, Cherokee Ꮮ and Latin a, o and L are separate letters with separate code points, separate scripts and, in most typefaces, identical shapes. A string built from them reads as one word to a person and compares as a different word to a computer. That gap is the whole attack, and it exists wherever a human being reads an identifier and trusts it: domain names, package names, usernames, filenames, email display names.
The skeleton, and why it must never be stored
Unicode's answer is in UTS #39, Unicode Security Mechanisms. It publishes a table mapping each confusable character to a prototype — an exemplar for the class of characters that look like it — and defines a skeleton operation that decomposes a string, drops the invisible characters, replaces each remaining character with its prototype, and recomposes. Two strings are confusable when their skeletons are equal. It is a deliberately blunt instrument: it imposes transitivity, so it is sometimes over-inclusive, and it is not a similarity score.
The part that gets missed is that the table moves. This tool is pinned to Unicode 18.0.0, whose confusables file (dated 2026-08-06) carries 6,712 mappings. Counted against the two releases before it:
| Release | confusables.txt dated | Mappings | Added | Removed | Repointed |
|---|---|---|---|---|---|
| 16.0.0 | 2024-08-14 | 6,355 | — | — | — |
| 17.0.0 | 2025-07-22 | 6,565 | 210 | 0 | 39 |
| 18.0.0 | 2026-08-06 | 6,712 | 1,216 | 1,069 | 241 |
One of the mappings repointed in 17.0.0 is U+04CF CYRILLIC SMALL LETTER
PALOCHKA, whose prototype changed from Latin i to Latin
l — and the palochka is a character in a widely cited lookalike
demonstration domain. Under Unicode 16.0.0 that label's skeleton was appie. Under 17.0.0 and
18.0.0 it is apple. The 18.0.0 removals look alarming and mostly are not:
1,065 of the 1,069 were rows for characters that
have a canonical decomposition, mostly CJK compatibility ideographs. The skeleton decomposes its input
first, so those rows were never read. What the standard does say plainly is that skeletons are not
stable across versions and must be recomputed on upgrade. A cached skeleton column in a database is a comparison
against last year's idea of what looks alike.
Of the 6,712 confusable sources, 8 are plain ASCII: " → '', % → °/₀, 0 → O, 1 → l, I → l, ` → ', m → rn, | → l. The m row is why the same algorithm built for cross-script attacks catches the oldest typosquat in the book.
Normalisation is not a substitute, in either direction
The common first instinct is Unicode normalisation — NFKC — which folds fullwidth letters, ligatures and mathematical alphabets back toward plain ASCII. It does not touch the cases that matter here. Cyrillic а, е, р and с pass through NFKC completely unchanged, because they are not compatibility variants of anything: they are separate letters that happen to be drawn identically. A reverse gap exists too, and it moved in 18.0.0. Under 17.0.0 the fullwidth digits U+FF10 through U+FF19 folded under NFKC and had no confusables row (0 of 10), and 31 of the 52 fullwidth ASCII letters had one. In 18.0.0 that is 10 of 10 digits and 52 of 52 letters. The hole did not close: circled Ⓐ, superscript ⁵ and the ™ sign still fold under NFKC and still have no row. Neither transform contains the other, which is why the panel above splits your input into three columns rather than claiming one check is enough.
Restriction levels, and the case they cannot catch
UTS #39 also defines six restriction levels, from ASCII-Only up to Unrestricted, based on which
scripts a string draws on. They are useful and they are frequently oversold. Mixing one Cyrillic letter
into a Latin word produces a mixed-script string that the levels catch immediately. A label written
entirely in Cyrillic does not: it is perfectly consistent, it qualifies as Single Script, and it
passes every level except ASCII-Only. The standard's own worked example is a Cyrillic string that reads
as “Circle”. Restriction levels ask whether a string is internally consistent. A well-built impersonation
always is. So this tool also runs a whole-script check, a narrower form of the standard's §4.1 test
with one condition of its own. §4.1 asks whether some single-script string in a different script
shares the skeleton; read strictly, it flags a great many ordinary Russian and Greek words, and the
standard warns that it will. This tool flags a single-script string only when its skeleton is itself
single-script in a different script and uses only characters UTS #39's identifier
profile allows — Cyrillic letters that spell apple. That condition is this site's choice,
not the standard's. It still flags real words that happen to read as Latin: хор reads as
xop and сор as cop, which is true and worth knowing if a reader
expects Latin. It does not flag москва, whose skeleton ʍocĸʙa contains ʍ, ĸ
and ʙ, characters outside that profile (a profile, not a registry rule: IDNA2008 permits all three).
The skeleton of ไทย stays Thai. Because it tests only the skeleton, it misses some pairs
§4.1 would catch: Cyrillic кто and Greek κτο share a skeleton, yet neither
is flagged. Revision 34 of the standard also made Latin mixed with
Han a single script (the new Hntl set, Traditional Han with Latin), so ABC中文 is no longer
reported as mixed.
One more reading trap worth naming: a level of Unrestricted usually means nothing sinister. The algorithm's first test is whether every character is even permitted in an identifier, and ordinary punctuation is not. Type a sentence with a space in it and the answer is Unrestricted, because a space cannot appear in an identifier — not because the sentence is dangerous. The tool names the offending characters rather than leaving you to guess.
Why this matters more in a multi-script region
Southeast Asia is one of the most script-dense regions on the internet. Thai, Khmer, Lao, Burmese,
Tamil, Chinese, Jawi-script Malay and Latin-with-diacritics Vietnamese are all in daily commercial use,
frequently on the same page as English. IANA's list of top-level domains (version 2026112200,
updated 22 Nov 2026) has 1,435 entries, of which 151 are
internationalised xn-- labels. ASEAN's are among them: .ไทย for Thailand, .新加坡 and .சிங்கப்பூர் for Singapore, and .مليسيا for Malaysia. Registries that permit non-Latin labels are doing the
right thing for the people who read those languages, and the same policy widens the space a lookalike
can hide in. A Singapore or Malaysian brand whose name is legitimately written in two scripts cannot be
protected by a rule that simply forbids script mixing; the honest defence is to compare skeletons
against the names you actually own, and to look at what a label decodes to rather than at what it
renders as.
What this tool does not do
It does not detect Trojan Source (CVE-2021-42574). That is a different attack: bidirectional control characters that make source code render in one order and compile in another. Nothing in it looks like anything else — the deception is positional, not visual. It also computes the pre-bidi form of the skeleton, which UTS #39 equates to the full definition for any string without a strong right-to-left character; when your input contains one, the page says so rather than presenting a value it has not earned. And the punycode panel shows the form a label produces, not whether a registry would accept it: that needs the full UTS #46 mapping and validity rules, which are a separate body of data.
Cyrillic а, е, р and с survive normalisation untouched
Unicode 18.0.0 publishes 6,712 confusable mappings. Against 17.0.0 (6,565), 1,216 were added, 1,069 removed and 241 repointed at a different prototype; 1,065 of the removals were rows the skeleton never reads, for characters with a canonical decomposition.
8 of the confusable sources are plain ASCII characters: " → '', % → °/₀, 0 → O, 1 → l, I → l, ` → ', m → rn, | → l. Package registries that reject non-ASCII names are still exposed to these.
U+04CF CYRILLIC SMALL LETTER PALOCHKA had the prototype Latin i in Unicode 16.0.0 and Latin l from 17.0.0. It appears in the 2017 apple.com demonstration label, whose skeleton therefore changed from "appie" to "apple".
The prototype of m is the two-character sequence rn. Mappings are not one-to-one: 6,712 source characters map onto 1,693 distinct prototype code points.
Cyrillic а, е, р and с survive NFKC normalisation completely unchanged. They are not compatibility variants of the Latin letters — they are separate letters that happen to be drawn the same way.
Unicode 18.0.0 gave every fullwidth digit and letter a confusables row (10 of 10 digits, 52 of 52 letters; 17.0.0 had 0 and 31). NFKC still reaches characters the skeleton does not: circled Ⓐ, superscript ⁵ and ™ fold under NFKC and have no row.
IdentifierStatus.txt marks 33,792 code points as Allowed in identifiers. Everything else — including the space character — is Restricted, which is why an ordinary sentence scores Unrestricted.
A string written entirely in one non-Latin script passes every restriction level except ASCII-Only, no matter how convincingly it impersonates a Latin word. UTS #39's own example is a Cyrillic string reading "Circle".
UTS #39 revision 34, dated 2026-08-27 and issued for Unicode 18.0.0, defines skeleton(X) as bidiSkeleton(LTR, X): the Unicode Bidirectional Algorithm runs before the mapping. For a string with no strong right-to-left character the standard states that bidiSkeleton(LTR, X) equals internalSkeleton(X), the plain mapping this tool computes.
IANA's top-level domain list, version 2026112200, has 1,435 entries, 151 of them internationalised xn-- labels. Among them: .ไทย (xn--o3cw4h), .新加坡 (xn--yfro4i67o), .சிங்கப்பூர் (xn--clchc0ea0b2g2a9gcd), .مليسيا (xn--mgbx4cd0ab).
Frequently asked questions
-
A character that is drawn like another character but is a different code point — Cyrillic а against Latin a, Greek ο against Latin o. Unicode publishes the list in UTS #39, and this tool is pinned to the Unicode 18.0.0 edition of it.
-
UTS #39's canonical form for comparison. The string is decomposed, characters with no visible glyph are dropped, every remaining character is replaced by its prototype, and the result is decomposed again. Two strings are confusable exactly when their skeletons match.
-
Because the mapping table changes. Between Unicode 16.0.0 and 17.0.0, 210 mappings were added and 39 repointed. One of the repointed rows, for the Cyrillic palochka, changed the skeleton of a widely cited lookalike demonstration domain. Between 17.0.0 and 18.0.0, 1,216 were added, 1,069 removed and 241 repointed. The standard says explicitly that skeletons must not be stored across a version upgrade. This page recomputes on every keystroke.
-
No, and it is not a subset either. Cyrillic а, е, р and с pass through NFKC unchanged, so normalisation misses the cross-script cases entirely. Meanwhile circled letters such as Ⓐ, superscript digits and ™ fold under NFKC and have no confusables row, so the skeleton misses those. The panel above splits your input into three columns to show both gaps.
-
Because restriction levels describe identifiers, not prose. The algorithm's first test is whether every character is permitted in an identifier, and a space is not. The tool names the characters responsible so the verdict cannot be misread as a warning about the string.
-
Not necessarily. A label written entirely in Cyrillic is perfectly consistent and passes every level except ASCII-Only while still being skeleton-identical to a Latin word. That is the whole-script confusable case, and restriction levels are structurally unable to catch it. The tool runs a narrower form of UTS #39's §4.1 test, with one condition of this site's own: it flags the string when its skeleton is single-script in a different script and uses only characters the UTS #39 identifier profile allows, and it says which string it reads as. So real words can be flagged (Russian хор reads as Latin xop), while москва is not (its skeleton contains ʍ, ĸ and ʙ, which that profile excludes, although IDNA2008 permits them), and some pairs the standard's test would catch are missed: Cyrillic кто and Greek κτο share a skeleton and neither is flagged.
-
No. Trojan Source (CVE-2021-42574) uses bidirectional control characters to make source code render in a different order from the one the compiler reads. It is a positional attack, not a visual one, and needs different tooling.
-
UTS #39 defines skeleton(X) as bidiSkeleton(LTR, X), which runs the Unicode Bidirectional Algorithm first. The standard names a fast path: for a string with no Bidi_Class R or AL character the two are identical. This tool computes that form, and when your input falls outside the fast path it tells you the value shown is not the full bidiSkeleton.
-
It shows what A-label — the xn-- form — a name produces under RFC 3492, after lowercasing and NFC. That is the form a registry stores and the form a browser may display in place of the letters. It is not a full UTS #46 validity check, so it does not tell you whether a registry would accept the label.
-
No. The Unicode data file and the algorithm both run in your browser; the tool makes no network request with your input and stores nothing. You can check by pasting with your network disconnected.
Method & sources
How it computes
UTS #39 rev. 34 §4 skeleton: NFD, drop Default_Ignorable_Code_Point characters, replace each character with its prototype from confusables.txt, reapply NFD. Two strings are confusable when their skeletons are equal. A whole-script check narrower than §4.1; mixed-script detection per §5.1 (augmented script sets, incl. Hntl); restriction levels per §5.2. Punycode is RFC 3492. Data is Unicode 18.0.0, served from this domain and recomputed on every keystroke.
What this tool implements
- The skeleton is UTS #39 §4 exactly: NFD, remove Default_Ignorable_Code_Point characters, map to prototypes, reapply NFD — all four steps, because three of them can be dropped without changing most verdicts and the cases they do change are the ones that matter.
- Confusability is reported BOTH folded and unfolded. Eight confusable sources are ASCII and one of them is 0 → O, a capital: skeleton("g00gle") is "gOOgle", so folding only the input returns "not confusable" for the oldest typosquat there is. Folding the skeletons catches it, and the folded skeleton is skeletoned again, because lowering can create a character that has a row (MODEM lowers to modem, whose m maps to rn). The folded comparison is the tool's own second question: UTS #39 revision 34 removed its paragraph on casefolded forms.
- ⚠️ NOTHING IS CACHED. UTS #39 states that skeletons "are not stable across versions of Unicode… If they are stored, they must be recomputed." 39 mappings were retargeted between 16.0.0 and 17.0.0, one of which changed the skeleton of the 2017 apple.com look-alike from "appie" to "apple"; between 17.0.0 and 18.0.0, 1,216 were added, 1,069 removed (1,065 of them rows for characters with a canonical decomposition, which the skeleton never reads) and 241 retargeted. The page recomputes on every keystroke and displays the Unicode version in use.
- ⚠️ THE SKELETON SHOWN IS internalSkeleton. UTS #39 defines skeleton(X) as bidiSkeleton(LTR, X), which runs the Unicode Bidirectional Algorithm first, and the standard names the fast path this tool takes: for a string with no Bidi_Class R or AL character the two are identical. For a string containing one, the page says so rather than presenting a value it has not earned.
- ⚠️ A restriction level of "Unrestricted" is usually not a warning. §5.2 tests the identifier profile before anything else, so any string containing a space lands there — the tool names the responsible characters instead of leaving the reader to infer danger.
- ⚠️ Restriction levels cannot catch a whole-script confusable, so the page runs a narrower form of the UTS #39 §4.1 test, with one condition of this site's own: it flags a single-script string only when its skeleton is single-script in a disjoint script and uses only characters the UTS #39 identifier profile allows (Cyrillic аррӏе reads as apple). Checked 2026-11-22: real words that read as Latin are flagged (хор as xop, сор as cop); москва is not, because its skeleton ʍocĸʙa contains ʍ, ĸ and ʙ, which that profile excludes though IDNA2008 permits them; the skeleton of ไทย stays Thai; and pairs whose skeleton is outside the profile are missed (Cyrillic кто and Greek κτο). Mixed-script strings (pаypal) are reported as mixed, the case the levels catch. Under revision 34 Latin plus Han is single-script (Hntl).
Show 2 more
- Punycode is RFC 3492 with lowercasing and NFC applied first — not the full UTS #46 mapping and validity rules. The panel says so: it shows the A-label a name produces, not whether a registry would accept it.
- This is NOT a Trojan Source (CVE-2021-42574) detector. That attack reorders rendering with bidirectional controls and involves no visual similarity at all.
Sources
- Unicode Technical Standard #39, Unicode Security Mechanisms, revision 34 (Unicode 18.0.0, dated 2026-08-27): https://www.unicode.org/reports/tr39/tr39-34.html — §4 defines the skeleton and the confusable relation, §4.1 whole-script confusables, §5.1 mixed-script detection and augmented script sets (revision 34 adds Hntl, Traditional Han with Latin), §5.2 the six restriction levels. Every algorithm on the page is from this document.
- Unicode Technical Report #36, Unicode Security Considerations (the background to UTS #39; stabilised): https://www.unicode.org/reports/tr36/
- confusables.txt, Unicode 18.0.0, dated 2026-08-06: https://www.unicode.org/Public/18.0.0/security/confusables.txt — 6,712 mappings, of which 8 have plain-ASCII sources; every fullwidth digit and letter now has a row. Compared with 17.0.0 (dated 2025-07-22, 6,565 mappings, https://www.unicode.org/Public/17.0.0/security/confusables.txt): 1,216 added, 1,069 removed, 241 retargeted.
- IdentifierStatus.txt and IdentifierType.txt, Unicode 18.0.0: https://www.unicode.org/Public/18.0.0/security/ — 33,792 code points are Identifier_Status=Allowed; IdentifierType supplies the reason a character is Restricted.
- Unicode Standard Annex #24, Unicode Script Property, with Scripts.txt and ScriptExtensions.txt: https://www.unicode.org/reports/tr24/ — Script_Extensions, not Script, is what §5.1 requires.
- Unicode Standard Annex #31, Identifiers and Syntax, Table 5 Recommended Scripts: https://www.unicode.org/reports/tr31/ — the script list §5.2 tests against for Moderately Restrictive.
- RFC 3492, Punycode: A Bootstring encoding of Unicode for IDNA: https://www.rfc-editor.org/rfc/rfc3492 — the encoder is checked against all seven of its §7.1 sample strings.
- IANA list of top-level domains, version 2026112200, last updated 2026-11-22 07:07:02 UTC: https://data.iana.org/TLD/tlds-alpha-by-domain.txt — 1,435 TLDs, 151 of them xn-- labels, counted from the file.
What can make this go out of date
- The Unicode security data is a snapshot (Unicode 18.0.0; confusables.txt dated 2026-08-06) served from this domain — the page makes no network request and transmits nothing you type. UTS #39 requires skeletons to be recomputed on each Unicode release, so a new release changes verdicts until the data is refreshed; the version in use is displayed on the page.
- The IANA counts (1,435 TLDs, 151 of them IDN) are from list version 2026112200 (2026-11-22) and move as TLDs are delegated or retired.