Skip to content
Guides6 min read

How to redact a Google Docs document before sharing

Google Docs has no redact button. Here is what to clean first, from version history to comments, then how to mask the file you download.

By Alexis de ONYRI

Google Docs has no button that redacts text. There is no black marker, no lock icon, and no command called Redact. If you need to remove sensitive information for good, you have to work around the tool, not inside it.

Say Jane Example manages a small team and must send a project report to a partner company. The report names two employees who are on medical leave. She deletes their names from the Google Doc, feels done, and shares the link. The names may still be one click away.

Does Google Docs have a redact tool?

No. Google's help pages for Docs cover formatting, comments, and sharing, but none of them describe a redaction command. People who ask about it in the Google Docs Editors Community get the same answer. Colouring text white, using a black highlight, or drawing a box over a word only changes how the page looks. The characters stay in the file. A reader can still select them, copy them, or find them with Find and replace.

What else can expose the words you removed?

PlaceWhat can leakHow to fix it
Version historyEvery earlier draft, including the sentence you just deletedAnyone who can edit the file can open it. Work on a clean copy before you share.
Comments and suggestionsA name or number written in a note, even after you resolve itDelete comments outright. Accept or reject every suggestion first.
Alt text on imagesA description you typed for a screen reader, hidden inside the imageOpen Image options, then Alt text, and clear anything sensitive.
Headers and footersA case number or client name repeated on every pageEdit the header and footer directly. They do not update with the body text.
Linked imagesA hyperlink attached to a picture, pointing to a private file or an internal pageRight-click the image, open Link, and remove it if it should stay private.
Where sensitive words hide in a Google Doc

Version history is the biggest risk. Google says you need permission to edit a file to browse its version history. That means every person you added as an editor, even briefly, can scroll back through every version. They can still read the one with the name in it.

How do you clean a Google Doc before you share it?

  1. 1Make a copy of the file first, so the original with full history stays private.
  2. 2Open every suggestion and choose Accept or Reject. Do not leave any open.
  3. 3Delete each comment. Resolving a comment keeps it in the file, and only deleting removes it.
  4. 4Remove or rewrite the sensitive text itself, not just its formatting.
  5. 5Check the header, the footer, and any footnotes on every page.
  6. 6Open each image's alt text and its link, and clear anything private.
  7. 7Save the copy under a new name, then check that its own version history is empty.

Resolving a comment is not the same as deleting it. Google's own guidance says a resolved comment remains in the document. It only moves out of the way. If a comment named a person or a case number, delete it instead of resolving it.

Why redact the downloaded file too?

Once the Google Doc itself is clean, download it. Click File, then Download, and pick PDF or Word. Version history never travels into that downloaded file. Comments might, depending on the format, so do not count on the download to drop them. Clean the Doc first.

Opening that PDF and drawing a black box over a line is not enough either. A drawn shape sits on top of the page. The words underneath are still there, and copying the text or running it through a PDF-to-text tool can pull them back out. The UK's Information Commissioner's Office warns against covering text with rectangles that leave the words underneath.

This is where a dedicated tool helps. ONYRI Sanitize opens the downloaded PDF or Word file in your browser, without uploading it. It masks names, emails, and numbers, then flattens the file into a new PDF. Its limit: it only cleans that one file. Comments and version history live inside Google Docs, so clean the Doc itself first.

What sharing settings should you double-check?

Before you share, look at the roles you handed out. Viewer can only look. Commenter can add notes but not edit. Editor can change the file and reshare it. Google explains that Anyone with the link means anyone who has the URL can open the file, without signing in.

  • Switch from Anyone with the link back to Restricted once you no longer need it.
  • Remove collaborators who no longer need access, especially old Editors.
  • Set links to Viewer, not Editor, for anyone outside your team.
  • Check the People with access list, not just the link setting.

Frequently asked questions

Can I hide text in Google Docs by making it white?
No. The text is only invisible on screen. Anyone can select the page, copy it into another app, or use Find and replace to bring the words back. Delete the text instead.
Does version history show text I already deleted?
Yes, if the person has permission to edit the file. Google says editors can browse every earlier version, including drafts with the text you removed. Work on a copy to keep the original private.
Do comments disappear when I download the file as a PDF?
Do not assume so. Resolving a comment keeps it in the document, and export behaviour can vary by format. Delete every comment in the Google Doc before you download it.
Is Anyone with the link the same as Public?
No. Anyone with the link means people with the URL can open the file without signing in. Public also lets people find it through Google Search. Both are wider than a named list of people.

Sources & references

On this siteAnonymize a Word document

Mask a document without uploading it

ONYRI Sanitize finds names, identifiers, bank details and secrets in a PDF, a Word file or a scan, and masks them in your browser. You check the preview, then download a flattened copy.

Read next