Google Docs
Clean invisible characters, right in Docs.
A copy-paste Google Apps Script that adds a NoAtMark menu to Google Docs — stripping zero-width spaces, BOMs, and soft hyphens from your document while keeping bold, links, and formatting intact.
🔒 in-document — nothing leaves Docs
📝 formatting-safe — editAsText
🔄 free — no add-on store
Free, open source. No account, no upload.
📌 One menu item
Adds a NoAtMark → Clean invisible characters menu to the Docs menu bar.
📝 Formatting-safe
Uses editAsText() + deleteText() so bold, links, and formatting survive.
🔒 Private
Runs entirely inside your document — nothing leaves Google Docs.
Install in 4 steps
- Open your Google Doc → Extensions → Apps Script.
- Delete the placeholder code and paste the whole noatmark.gs.
- Save, then select the
onOpenfunction → Run (authorize it). - Reload the doc — a NoAtMark menu appears.
Then: menu → NoAtMark → Clean invisible characters. A popup reports how many were removed.
What it strips
- Zero-width spaces (U+200B), joiners (U+200C/U+200D), non-joiner, word joiner (U+2060)
- BOM (U+FEFF), soft hyphen (U+00AD), direction marks (U+200E/U+200F)
- Combining grapheme joiner (U+034F), variation selectors, special spaces, non-breaking space
Handles paragraphs, list items, and table cells.
More
- Web tools: noatmark.com/tools/
- Notion: noatmark.com/notion/
- Ghost: noatmark.com/ghost/
- WordPress plugin: noatmark.com/wordpress-plugin/