Identify Unicode Zero Characters
How to tell Unicode zeros apart: ASCII digit zero, fullwidth and styled zeros, lookalike letters, NULL and zero-width characters, and when to use plain text.
A search for "Unicode zero" can mean several different things. You might mean the ordinary digit 0, a styled zero from a fancy-text generator, a letter that looks like a zero, the NULL control character, or one of the invisible zero-width characters. These characters look alike or show nothing at all, but they behave very differently. This guide explains how to tell them apart and when a styled or substituted zero is a reasonable choice.
Short answer: is a substituted zero suitable for your use?
A styled zero, such as a bold mathematical zero or a fullwidth zero, is reasonable for short decorative text where the exact value does not matter. Examples include a display name, a social bio or a heading in an image caption. Its main benefit is a distinct look that survives copy and paste without needing font or CSS support at the destination. The decisive tradeoff is that it is a different character. Software may not treat it as the number zero, and search, sorting, validation and some assistive technology can handle it differently from the digit you meant.
Use the plain ASCII digit zero (U+0030) whenever the text carries data. That includes prices, quantities, dates, phone numbers, codes, passwords, usernames used for login, file names, and anything a program will parse or compare. Plain text is also the better choice when accessibility matters more than appearance. Invisible zero-width characters and NULL should not be added for styling at all. They are worth identifying mainly so you can find and remove them.
The main families of "zero" characters
The table below groups common characters by what they actually are. Each code point and official name comes from the Unicode Character Database. Rendering depends on the font, and some of these characters may look identical on your screen.
| Character | Code point | Official name | What it is |
| 0 | U+0030 | DIGIT ZERO | The standard ASCII digit |
| ïž | U+FF10 | FULLWIDTH DIGIT ZERO | Wide digit for East Asian layouts |
| â° | U+2070 | SUPERSCRIPT ZERO | Raised digit |
| â | U+2080 | SUBSCRIPT ZERO | Lowered digit |
| ð | U+1D7CE | MATHEMATICAL BOLD DIGIT ZERO | Styled digit for mathematical notation |
| ð | U+1D7D8 | MATHEMATICAL DOUBLE-STRUCK DIGIT ZERO | Styled digit for mathematical notation |
| ðĒ | U+1D7E2 | MATHEMATICAL SANS-SERIF DIGIT ZERO | Styled digit for mathematical notation |
| ðŽ | U+1D7EC | MATHEMATICAL SANS-SERIF BOLD DIGIT ZERO | Styled digit for mathematical notation |
| ðķ | U+1D7F6 | MATHEMATICAL MONOSPACE DIGIT ZERO | Styled digit for mathematical notation |
| ⊠| U+24EA | CIRCLED DIGIT ZERO | Enclosed symbol |
| âŋ | U+24FF | NEGATIVE CIRCLED DIGIT ZERO | Enclosed symbol |
| Ų | U+0660 | ARABIC-INDIC DIGIT ZERO | Zero in another writing system |
| Û° | U+06F0 | EXTENDED ARABIC-INDIC DIGIT ZERO | Zero in another writing system |
| āĨĶ | U+0966 | DEVANAGARI DIGIT ZERO | Zero in another writing system |
| ã | U+3007 | IDEOGRAPHIC NUMBER ZERO | CJK number character |
Some characters are often mistaken for zero but are not digits at all. These include LATIN CAPITAL LETTER O (U+004F), GREEK CAPITAL LETTER OMICRON (U+039F) and CYRILLIC CAPITAL LETTER O (U+041E). LATIN CAPITAL LETTER O WITH STROKE (U+00D8) and EMPTY SET (U+2205) are sometimes used as a stand-in for a slashed zero. In many fonts these are hard or impossible to tell from 0 by eye, which is why lookalike substitution is a known spoofing technique.
Two other groups have "zero" in their meaning or name but show no digit:
- NULL (U+0000): a control character with value zero. It has no visible glyph. Many systems treat it as a string terminator, so it can truncate text, or they reject or strip it.
- ZERO WIDTH SPACE (U+200B): an invisible break opportunity between characters.
- ZERO WIDTH NON-JOINER (U+200C): prevents adjacent characters from joining. It matters in scripts such as Persian and in some typographic ligatures.
- ZERO WIDTH JOINER (U+200D): requests joining. It also links emoji into combined sequences such as some family and profession emoji.
- WORD JOINER (U+2060): an invisible character that prevents a line break.
- ZERO WIDTH NO-BREAK SPACE (U+FEFF): also used as the byte order mark at the start of a file. A stray one mid-text is usually an artifact.
What a zero substitution actually changes
Tools sold as "zero fonts" or "fancy number" generators usually do not change a font. They replace each stored character with a different Unicode code point. Converting 2024 to ðððð, for example, swaps four ASCII digits for four mathematical bold digits. The text now contains different data, and anyone who copies it gets those new characters.
Real font or CSS styling is different. Bold, a monospace font, or a slashed-zero font feature changes only how the original 0 is drawn. The stored character stays U+0030, so search and parsing are unaffected. The styling disappears, however, when the text is pasted somewhere that does not apply the same formatting.
Unicode also defines a standardized variation sequence, DIGIT ZERO followed by VARIATION SELECTOR-1 (U+0030 U+FE00), to request a short diagonal stroke form. Font support for this sequence is limited. Where it is unsupported you will usually see a plain zero, and the selector stays in the text invisibly.
Reverse and mirror tools rarely affect a lone zero visibly, because the glyph is symmetric. They can still damage zero-related sequences. The keycap emoji 0ïļâĢ is three code points: DIGIT ZERO, VARIATION SELECTOR-16 (U+FE0F) and COMBINING ENCLOSING KEYCAP (U+20E3). A tool that reverses text one code point at a time moves the combining mark ahead of the digit and breaks the emoji. ZWJ emoji sequences break in the same way. A reversal tool that works on grapheme clusters keeps these sequences intact.
Will a styled or unusual zero stay usable after copying?
Copy and paste generally keeps the substituted code points, because they are ordinary text. Whether they display correctly depends on the fonts available at the destination. Mathematical and enclosed digits may show as empty boxes on systems without a font covering them. Several other consequences follow from documented Unicode properties and common software behavior:
- Numeric meaning: Fullwidth, mathematical styled, Arabic-Indic and Devanagari zeros are decimal digits (general category Nd). Superscript, subscript and circled zeros are not; their category is No, meaning "other number." Language behavior varies. In Python 3, int() and the \d regex class accept any Nd digit, while JavaScript's \d matches only ASCII 0â9. The same text can therefore validate in one system and fail in another.
- Normalization: Under NFKC or NFKD compatibility normalization, the fullwidth, superscript, subscript, circled and mathematical styled zeros map to the plain digit 0. Arabic-Indic, Devanagari and ideographic zeros do not, and neither do lookalike letters such as O or Ã.
- Search and matching: Whether a search box finds ð when you type 0 depends on whether that system normalizes text. Many systems do not, so styled numbers may be missed by search, filters and spam or duplicate checks.
- Screen readers: Assistive technology may announce a styled or circled zero by its character name, a description, or not at all, depending on the product, version, language and settings. No test results were supplied for this article, so no specific screen reader behavior is claimed here. If accessibility matters, test with the screen readers your audience uses, or provide a plain-text equivalent.
- Editing: Zero-width characters make cursor movement, deletion and character counts behave unexpectedly, because the editor counts something you cannot see. A word containing U+200B can look correct but fail to match its plain spelling.
- Reading order: Zero digits from right-to-left scripts, such as Arabic-Indic zero, take part in bidirectional layout. When mixed with left-to-right text, the displayed order can differ from the stored order. Keep that in mind when copying values between applications.
Provide or keep a plain-text version whenever the value must be read aloud reliably, entered into a form, searched, or processed by software. For decorative text, keeping the meaningful content in plain characters and limiting styling to non-essential parts reduces the risk.
How to identify which zero you have
Visual inspection is not reliable, so check the code point. Some clues can help you decide which group to investigate first:
- The character is noticeably wider than the surrounding digits: likely fullwidth (U+FF10).
- It looks bold, double-struck or monospace even in an unformatted field such as a plain-text editor: likely a mathematical styled digit.
- It stays styled after you clear all formatting: it is a substituted character, not font styling.
- It is a perfect circle or oval with no slant and sits among letters: check for Latin O, Greek omicron or Cyrillic O.
- A zero has a slash through it, but the slash disappears in another font: font styling or a variation sequence. If the slash persists everywhere, check for à (U+00D8) or â (U+2205).
- The cursor needs an extra keypress to move past a spot, a count shows more characters than you see, or a match fails for no visible reason: suspect a zero-width character.
- Text is cut off unexpectedly after being saved or transmitted: suspect an embedded NULL.
To confirm, paste the text into a Unicode code point inspector or character identifier. Useful search terms are "Unicode character inspector," "code point lookup," "what Unicode character is this" and "zero width character detector." No specific tool was verified for this article, so check that whichever inspector you choose shows the code point and official name. Read its privacy terms before pasting sensitive text into a web page. Many code editors can also show invisible characters or display the code point under the cursor; look for options named along the lines of "render control characters" or "show invisible characters."
If you can run a short script, the Python standard library reports the code point, category and official name of each character locally:
import unicodedata
text = "0ïžðâŠO\u200b"
for ch in text:
print(f"U+{ord(ch):04X}", unicodedata.category(ch), unicodedata.name(ch, "<no name>"))
The fallback name matters because control characters such as NULL have no name in this lookup. In JavaScript, iterating with for...of steps through full code points rather than UTF-16 halves. That is important for the mathematical digits, which lie outside the Basic Multilingual Plane:
for (const ch of text) {
const cp = ch.codePointAt(0).toString(16).toUpperCase().padStart(4, "0");
console.log("U+" + cp);
}
// Detect common zero-width characters
const hasZeroWidth = /[\u200B-\u200D\u2060\uFEFF]/.test(text);
Be careful when cleaning up. Normalizing styled zeros to ASCII with NFKC is usually safe for numeric data, but it also changes other compatibility characters in the same text. Removing zero-width characters is usually safe in identifiers and numbers. In prose, however, deleting ZERO WIDTH JOINER breaks combined emoji, and deleting ZERO WIDTH NON-JOINER can change how words are written in scripts that rely on it. Review the affected text before applying a blanket removal.
Gaps in this guide
No destination-specific test results, screen reader recordings or tool evaluations were supplied for this article. Statements about display, search and assistive technology therefore describe documented Unicode properties and general software behavior, not verified results on any particular platform. Before relying on a styled zero in a specific app, site or screen reader, test it there.