Blank Character: Types, Codes and Why Some Are Rejected
A blank character is a real character that draws nothing or draws only a gap. People also search for it as an empty character or blank text. Several different characters fit the description, and they are not interchangeable: some count as spaces, some are letters, and some have no width at all. This guide lists the main ones with their codes, explains why websites and apps treat them differently, and shows how to spot and remove them.
What is a blank character?
A blank character is any character whose symbol is empty on screen. The text looks the same with or without it, yet it takes up a place in the string. Unicode groups these characters by what they are, and that grouping explains almost every difference in how software reacts to them.
| Character | Code | Unicode type | What you see | Weak point |
|---|---|---|---|---|
| Hangul filler | U+3164 | Letter | A wide gap, in most fonts | Not white space, so a trim misses it |
| Halfwidth Hangul filler | U+FFA0 | Letter | A narrow gap | Same as above |
| Braille pattern blank | U+2800 | Symbol | An empty braille cell | Some fonts and apps draw it as an empty box |
| Zero-width space | U+200B | Format character | Nothing at all | Takes no room, so it cannot make a visible gap |
| No-break space | U+00A0 | Space | An ordinary-looking space | White space, so a trim removes it |
| Ideographic space | U+3000 | Space | A wide gap | White space, so a trim removes it |
| Em space | U+2003 | Space | A wide gap | White space, so a trim removes it |
What you actually see depends on the font and the app. The same character can be a clean gap in one place and a box or a question mark in another.
Blank text and the empty character
The search terms "empty character" and "blank text" mean slightly different things.
- An empty string has zero characters. It is not a character at all. A form field that is empty has a length of 0.
- A blank character is a real character that looks empty. A field containing one has a length of 1, even though nothing is visible.
- Blank text usually means a piece of text made only of blank characters, so it displays as nothing.
The difference matters for anyone who validates input or cleans data, because "looks empty" and "is empty" give different answers.
Why some sites and apps reject blank characters
There are three common reasons. Knowing them also tells you why a blank character that works in one place fails in another.
- The check trims white space first. The no-break space, the ideographic space and the em space are white space, so a trim empties a field that holds only those. The Hangul filler, the braille blank and the zero-width space are not on that list, so they pass a trim.
- The check asks for a visible character. A careful validator accepts a value only if it contains at least one letter, number or symbol that can be seen. A blank letter such as
U+3164can slip past a check that merely asks for a letter, which is why careful sites keep a list of blank characters and refuse them. - The service has a rule. Many services require names and messages to be readable by other people and say so in their terms. Their filters change over time, so a character accepted last year may be refused today.
If a platform refuses a blank character, that is usually a deliberate choice. Using blank characters to hide who you are, to imitate someone, or to avoid a filter can break a service's rules.
How to tell whether a character is blank
You cannot judge by eye, so make the code visible.
- Check the length. In Python,
len("\u3164")is 1 even though the character looks like nothing. In JavaScript,"\u3164".lengthis also 1. - Print the code points. In Python:
[f"U+{ord(c):04X}" for c in text]. In a browser console:[...text].map(c => "U+" + c.codePointAt(0).toString(16).toUpperCase()). - Use a spreadsheet function. In Excel or Google Sheets,
=UNICODE(A1)returns the code point of the first character as a decimal number. The Hangul filler returns 12644 and the braille blank returns 10240. - Paste into the cleaner. The AI Text Cleaner lists zero-width characters, special spaces, control codes, the Hangul fillers and the braille blank with a code, a name and a count.
How to remove blank characters
| Character | Removal |
|---|---|
Zero-width space U+200B | The cleaner's Remove invisible characters option deletes it. |
| No-break space, ideographic space, em space and other special spaces | The cleaner's Replace unusual spaces option turns them into ordinary spaces. Remove the spaces afterwards if you do not want them. |
| Hangul fillers and braille blank | The cleaner removes the Hangul fillers and turns the braille blank into an ordinary space. In your own tool, use a replacement. |
For the last row, Python:
import re
text = re.sub("[\u3164\uffa0\u115f\u1160\u2800]", "", text)
In Excel or Google Sheets, remove the Hangul filler from cell A1 with =SUBSTITUTE(A1, UNICHAR(12644), ""), and the braille blank with =SUBSTITUTE(A1, UNICHAR(10240), "").
Common problems
- A cell that looks empty is not empty. In a spreadsheet,
ISBLANKreturns FALSE for a cell that holds a blank character, a count of non-empty cells includes it, and a filter lists it as its own value next to the real blanks. - Copied blank characters are a guess. If you copy a blank from a web page, you get whichever character that page chose, and you cannot tell which one it was by looking. Check its code before relying on it.
- Different looks in different apps. A gap that looks tidy in a browser can turn into a box in a terminal, a spreadsheet or a game.
- Duplicates. Two records that look identical but differ by one blank character are stored twice, and matching them fails.
- Accessibility. A screen reader may skip the character, or announce it by name. Neither helps a person who relies on one. See also our guide to invisible text.
Quick answers
Is a blank character the same as a space? Only some are. The no-break space and the ideographic space are spaces. The Hangul filler is a letter, the braille blank is a symbol, and the zero-width space is a format character.
Why does my text still contain something after I trimmed it? Trim removes white space. Blank letters, blank symbols and zero-width characters are not white space. The full list of what counts is in our guide to whitespace characters.
Can a blank character be used as a name? Many platforms refuse it. Our guide to the blank name covers what happens and what to check.