I or L Checker — Identify Ambiguous Characters in Text
Certain characters look almost identical depending on the font being used. Uppercase I, lowercase l, and the digit 1 are nearly indistinguishable in most sans-serif fonts. The letter O and digit 0 cause the same problem. This matters most in passwords, software license keys, activation codes, and serial numbers where a single wrong character causes authentication to fail. This tool takes any text and scans it for characters that could be misread. It shows each ambiguous character with its exact Unicode code point and name so there is no guessing. The annotated output highlights every occurrence directly in the text so you can see exactly where the problem characters appear. It also reports the total count of each ambiguous character group found and gives a risk score based on how many potentially confusable characters exist in the text.
Hover over a highlighted character to see its Unicode code point and name.
Input: Il1OoB8
Frequently Asked Questions
How do I tell the difference between I (capital i) and l (lowercase L)?
In most sans-serif fonts such as Arial and Helvetica, uppercase I and lowercase l look identical. The only reliable way to distinguish them is to check the Unicode code point. Uppercase I is U+0049, lowercase l is U+006C, and digit 1 is U+0031. Monospace fonts like Courier New use serifs that make the three characters visually distinct.
Why do l and 1 look the same in some fonts?
Sans-serif fonts omit the small finishing strokes (serifs) on letters, which means lowercase l, uppercase I, and digit 1 all render as a simple vertical stroke. This is a deliberate design choice for visual cleanliness in headings and UI text but causes problems in passwords, license keys, and activation codes. Code editors use monospace fonts that add distinctive features to these characters to prevent errors.
What other characters are commonly confused with each other?
The most common confusion pairs are uppercase I with lowercase l and digit 1, uppercase O with digit 0, the letter S with digit 5 in some fonts, B with 8, and Z with 2. Homoglyph attacks in phishing use lookalike Unicode characters from Cyrillic and Greek that are visually identical to Latin letters but have different code points and resolve to different domain names.
How do I avoid ambiguous characters in passwords and codes?
Many license key and password generators exclude I, l, 1, O, and 0 from the character pool by design. When building a system that generates codes for users to type manually, removing these characters before issuing them significantly reduces support requests and entry errors. This tool lets you audit any existing string for these characters before distributing it.
What is a homoglyph attack?
A homoglyph attack is a form of phishing where an attacker registers a domain using visually identical but different Unicode characters, such as replacing the Latin letter a with the Cyrillic a (both look the same but are different code points). The fake domain looks legitimate in an email link but leads to a different site. Checking text for non-ASCII characters and ambiguous code points helps identify these attacks.
Which fonts make I, l, and 1 most distinguishable?
Monospaced fonts like Courier New, Consolas, and Fira Code are designed for readability in code and make I, l, and 1 clearly distinct. Among proportional fonts, Verdana, Trebuchet MS, and most humanist sans-serif fonts (like Gill Sans and Myriad Pro) have clear differentiation. Fonts like Arial and Helvetica are the worst offenders — their I, l, and sometimes 1 are nearly identical, which is why they should be avoided for codes, keys, and security tokens.
What is the best way to share codes or keys that could be misread?
Avoid characters that look similar: I (uppercase i), l (lowercase L), 0 (zero), O (uppercase o), 1, and sometimes B/8 and S/5. Many systems that generate invite codes, voucher codes, and serial numbers deliberately exclude these characters from their alphabet. If you must include them, use all-uppercase or all-lowercase to eliminate the I/l confusion, or use a monospaced font when displaying the code.
How do I check if a font renders ambiguous characters clearly?
Type the test string "Il1O0" (uppercase I, lowercase l, digit 1, uppercase O, digit 0) in your chosen font and zoom in. If any characters look identical, that font is a poor choice for codes, passwords, or any text where character-level accuracy matters. Many font preview tools and Google Fonts allow you to type custom text — use this string to evaluate readability before committing to a font for a UI.
How It Works
Each character in your input is rendered individually at large size in a high-contrast display panel. Each character's Unicode code point is shown alongside it. The tool highlights characters in the standard ambiguous set: I (U+0049), l (U+006C), 1 (U+0031), O (U+004F), 0 (U+0030), plus any non-ASCII lookalikes that could be used in homoglyph attacks.
Worst Offender Fonts
Arial and Helvetica are the most notorious — their uppercase I, lowercase l, and digit 1 are nearly identical. Times New Roman differentiates well due to serifs. Monospaced fonts (Consolas, Fira Code, JetBrains Mono) are designed for character clarity. Always use a monospaced font when displaying codes, serial numbers, API keys, or passwords to users.
Avoiding Ambiguity in Codes
Systems that generate invite codes, voucher codes, and serial numbers often exclude the problematic characters entirely. A common safe alphabet uses A-Z minus I and O, digits 2-9 (excluding 0 and 1) — 32 characters total. If your system must include ambiguous characters, display codes in all-uppercase with a monospaced font and provide a visual reference at the point of entry.
When to Use This
Use when a code, license key, or password must be typed by someone else who might misread characters, to resolve ambiguity in a handwritten or printed serial number, to verify a domain name does not contain Unicode lookalike characters before clicking a suspicious link, or to proof-check access codes before distributing to customers.
More Free Tools
Lorem Ipsum Generator
Generate placeholder text by the paragraph, sentence, or word for any layout.
JSON Formatter & Validator
Format messy JSON into readable output and validate it for errors instantly.
CSS Minifier
Minify your CSS to reduce file size and speed up your website in one click.
HTML Entity Encoder & Decoder
Encode special characters into safe HTML entities, or decode them back.