Look-Alike Characters Explained (Homoglyphs in Unicode)
Quick answer: Unicode contains many characters that look identical or almost identical but are different code points. Examples are Latin A and Cyrillic А, the hyphen - and the minus sign −, and the micro sign µ and Greek μ. People can't tell them apart, but computers can, so they break search, sorting, passwords and code. To identify one, check its code point.
Quick reference: every method
Every Alt code below is verified against the real Windows code pages — where none exists we say so, rather than list one that won’t work.
| Char | Name | Windows | Mac | HTML | Word (Alt+X) | Unicode |
|---|---|---|---|---|---|---|
| − | Minus Sign | Copy / paste | Copy / paste | − |
2212 + Alt+X |
U+2212 |
| ‐ | Hyphen | Copy / paste | Copy / paste | ‐ |
2010 + Alt+X |
U+2010 |
| ∕ | Division Slash | Copy / paste | Copy / paste | ∕ |
2215 + Alt+X |
U+2215 |
| µ | Micro Sign | Alt+0181 |
Option+M |
µ |
00B5 + Alt+X |
U+00B5 |
| μ | Greek Small Letter Mu | Copy / paste | Copy / paste | μ |
03BC + Alt+X |
U+03BC |
| Ω | Greek Capital Letter Omega | Alt+234 |
Option+Z |
Ω |
03A9 + Alt+X |
U+03A9 |
| Ω | Greek Capital Letter Omega | Alt+234 |
Option+Z |
Ω |
03A9 + Alt+X |
U+03A9 |
| ∆ | Increment | Copy / paste | Option+J |
∆ |
2206 + Alt+X |
U+2206 |
| Δ | Greek Capital Letter Delta | Copy / paste | Copy / paste | Δ |
0394 + Alt+X |
U+0394 |
Common look-alike pairs
| Looks like | Character A | Character B |
|---|---|---|
| A, o, e, p, c | Latin letters (U+0041, U+006F…) | Cyrillic А о е р с (U+0410, U+043E…), Greek Α ο |
| - | hyphen-minus - (U+002D) | minus sign − (U+2212), hyphen ‐ (U+2010), en dash – (U+2013) |
| / | solidus / (U+002F) | division slash ∕ (U+2215), fraction slash ⁄ (U+2044) |
| µ | micro sign µ (U+00B5) | Greek mu μ (U+03BC) |
| Ω | Greek omega Ω (U+03A9) | ohm sign Ω (U+2126) |
| Δ | Greek delta Δ (U+0394) | increment ∆ (U+2206) |
| Σ | Greek sigma Σ (U+03A3) | summation ∑ (U+2211) |
| K, Å | Latin K, Å | kelvin sign K (U+212A), ångström sign Å (U+212B) |
| ; | semicolon ; (U+003B) | Greek question mark ; (U+037E) |
| ' and " | straight quotes | prime ′, curly ’ and ” |
| : | colon : (U+003A) | ratio ∶ (U+2236) |
A mixed-up pair can even matter on a Mac keyboard: Option+J types the increment sign ∆, not the Greek letter Δ, and Option+M types the micro sign µ, not Greek μ (Mac keys).
Where they cause trouble
- Search and Find: searching for Ω (U+03A9) won't find Ω (U+2126).
- Spreadsheets: numbers typed with − (U+2212) instead of - are treated as text, so sums return wrong results.
- Code: a pasted Cyrillic "а" in a variable name produces errors that are invisible on screen.
- Security: fake domains and usernames use letters from other scripts to imitate real ones (homograph attacks). Browsers often show suspicious domains in punycode form starting with
xn--. - File names: look-alikes of forbidden characters can be used on purpose, with their own risks (filename characters).
How to identify a character
- Word: place the cursor right after the character and press Alt+X. It turns into its hex code (press Alt+X again to turn it back). See symbols in Word.
- Excel and Google Sheets:
=UNICODE(A1)returns the decimal code of the first character. - Programming: in Python,
unicodedata.name(ch)gives the official name, for example "CYRILLIC SMALL LETTER A". - This site: each symbol page shows the code point and name; compare with what you have (what is Unicode).
Does normalization help?
Unicode normalization merges only a few of these. NFC (the most common form) turns the ohm sign into Ω, the kelvin sign into K, the ångström sign into Å and the Greek question mark into a semicolon. NFKC also turns the micro sign µ into μ. Cyrillic and Greek letters, the minus sign, the division slash and ∑ stay as they are. Detecting look-alikes reliably needs Unicode's "confusables" data, which security tools use.
Related: invisible characters, Greek letters and symbols and screen readers.
Frequently asked questions
What are look-alike characters?
Different Unicode characters that look the same or nearly the same, such as the Latin letter a and the Cyrillic letter а, or the hyphen - and the minus sign −. Computers treat them as completely different.
How can I tell which character I have?
Check its code point. In Word, put the cursor right after the character and press Alt + X to see its hex code. In Excel, use the UNICODE formula. Or paste it into a Unicode lookup.
Does Unicode normalization fix look-alikes?
Only for a few. NFC turns the ohm sign into Greek omega and the kelvin sign into K, and NFKC also turns the micro sign into Greek mu. Cyrillic letters, the minus sign and most others are not changed.
What is a homograph attack?
A fake web address or username that uses look-alike letters from another alphabet to imitate a real one. Browsers often show such domains in their xn-- (punycode) form to warn you.
Looking for something else? Browse 1,000+ copy-paste symbols, the full Alt Codes finder, or the emoji picker.