Documents

Google Docs Invisible Name & Blank Text

Google Docs has no formatting-marks view, so invisible characters are harder to find here than in Word. Regular expressions are the way in.

Which character Google Docs accepts

Google Docs accepts U+00A0. Docs uses RE2 regex syntax. One limitation matters: regular expressions work in Find but not in Replace with, so a regex-driven substitution needs an Apps Script or an add-on.

The fallback is U+200B, which clears validators the first character does not. Both survive trim(), which is the operation that destroys an ordinary space.

How to set it on Google Docs

To set blank text on Google Docs, copy the character above and paste it into a cleared field. The whole method is one paste — the cost is free.

  1. Open Find and replace with Ctrl+H.
  2. Tick Match using regular expressions.
  3. Search \x{00A0} for non-breaking spaces, or \x{200B} for zero-width spaces.
  4. Paste from a web page with Ctrl+Shift+V to avoid importing them in the first place.

Why an invisible character works where a space does not

One Unicode property decides it, and it is not the one most guides name. Every character carries a White_Space value of Yes or No, and that value determines whether trim() removes it.

The spacebar produces U+0020, whose White_Space value is Yes. Google Docstrims the field before saving, the trimmed value is empty, and the field falls back to its previous contents. That is why a name built from spaces looks correct in the editor and reverts the moment you save.

U+00A0 has White_Space=No. No trimming function removes it and the regex class \s does not match it, so the value that reaches the server is the value you pasted.

One caveat applies to U+3164 specifically. Normalization Form NFKC folds it to U+1160 Hangul Jungseong Filler, so a platform that normalizes before storing keeps a different codepoint than the one you pasted. The name still displays blank. Use U+1160 directly if you want the stored value to match exactly.

What it costs on Google Docs

Free. Nothing is consumed by a failed attempt, so trying a second character costs only the time.

If it does not work on Google Docs

There is no built-in way to see the characters. A third-party add-on that displays non-printing characters is the closest equivalent to Word's Show/Hide.

The field clears itself after saving

Google Docs trimmed the value and found an empty string, so it restored the previous one. The character you used has White_Space=Yes. Switch to U+00A0 or U+200B, which do not, and the value survives the trim.

A box or question mark appears

The rendering font has no glyph at that codepoint, so the renderer draws.notdef — an empty rectangle in most fonts. The stored value is correct and only the display is wrong. U+200B carries wider font coverage than most alternatives.

The paste produces nothing on mobile

The keyboard or clipboard manager sanitised the content in transit. Paste into a plain-text notes app first, copy from there, then paste into Google Docs. This is the single most common practical failure and it has nothing to do with the character itself.

It works on desktop and fails in the app

The two clients validate separately. A value the desktop site accepts can still be rejected by the mobile client's own check, and the reverse also happens. Set it on whichever client accepts it — the stored value is shared.

Full property data for both characters is on the Unicode invisible characters table.

Is a blank name allowed on Google Docs?

Yes. A blank name breaks no Google Docs rule. Platform policies restrict impersonation, harassment and filter evasion, not which codepoints a name contains.

Two uses do violate policy on Google Docs and on every comparable platform, and neither depends on the name being blank. Copying another user's name to pass as them is impersonation. Splitting a blocked word with a zero-width character to defeat moderation is evasion.

One consideration applies regardless of the rules. Screen readers announce nothing for an invisible character, so NVDA, JAWS and VoiceOver read a fully blank name as unnamed. Keeping one visible character alongside the invisible ones preserves the announcement and still looks almost blank.

Frequently asked questions

01

Does invisible text work on Google Docs?

Yes. Google Docs accepts U+00A0, which has the Unicode property White_Space=No, so the field does not trim it away. U+200B is the fallback where the first character is rejected.

02

Which invisible character is best for Google Docs?

U+00A0. Docs uses RE2 regex syntax. One limitation matters: regular expressions work in Find but not in Replace with, so a regex-driven substitution needs an Apps Script or an add-on.

03

What does a blank name cost on Google Docs?

Free.

04

How many invisible characters fit on Google Docs?

The field has no practical cap for this use, so the count is limited by what the destination renders rather than by validation.

05

Can I get banned for a blank name on Google Docs?

No. A blank name breaks no rule on Google Docs. Bans follow from impersonation or from evading a moderation filter, not from which codepoints a name contains.

06

Why did my blank name fail on Google Docs?

There is no built-in way to see the characters. A third-party add-on that displays non-printing characters is the closest equivalent to Word's Show/Hide.

Written by , developer and writer.

Last reviewed