Can You Password Protect a Google Doc? What Works in 2026
No. You can't password protect a Google Doc: Docs, Sheets, Slides and Drive folders have no password option for a file, a folder or a share link, on any plan. What works is putting the password on a copy (an encrypted PDF or Word file, or a read-only copy behind a password-protected link) and using Lock or Restricted sharing for the jobs a password usually does.
One trap to know first: since January 2026, an encrypted Word file sitting in Drive loses its password the moment someone who knows it clicks Edit.
Checked October 30, 2026, against Google's, Microsoft's and Apple's help pages, plus Adobe's, 7-Zip's and Keka's sites.
How to password protect a Google Doc: four jobs, four fixes
"Password protect" usually means one of four different jobs. Google covers two of them. The other two need a copy.
What to use, by goal, checked October 30, 2026
| Your goal | Use this | Recipient needs a Google account? | Cost | Watch out for |
|---|---|---|---|---|
| Stop people changing it | Lock | They already have access | Included with Workspace. Google doesn't mention personal accounts | Anyone with edit access can unlock it, and it hides nothing |
| Only named people can open it | Restricted sharing | Yes. On Workspace, visitors can use a PIN if the admin allows it | Free | It checks accounts. It isn't a password |
| Send a file only the right person can open | An encrypted PDF or .docx | No | Free with Preview or Adobe's online tool; Word if you have it | It's a copy, and a forgotten password can't be recovered |
| A read-only copy behind one password, for people without Google accounts | A copy behind Private Sites on Hostsmith (ours) | No | Starter, $5/mo billed yearly ($9 monthly) | It's a snapshot, and anyone past the password can download it |
No Google account on the other end? Skip to row three or four.
Why Google Docs has no password box
Google controls access by account, not by password. Click Share on any Doc and look under General access. Three choices, zero password fields:
- Restricted: only people you've added can open it.
- Anyone with the link: anyone holding the link can open it, no sign-in needed.
- Your organization: everyone in your work or school domain (Workspace only).
Google's plainest statement is on the Sheets help page for protected ranges: "Protect data with a password" sits on its list of things you can't do.
Seen File > Protect Document or File > Info > Encrypt with Password in a Google Docs guide? Those are Microsoft Word's menus, garbled. Docs doesn't have them.
How to lock a Google Doc (it stops edits, not eyes)
Lock freezes a file. Once it's on, nobody can add edits, comments or suggestions until someone unlocks it. That includes you.
From Google Drive:
- Right-click the file.
- Choose File information > Lock.
- Confirm with Lock.
Unlock from the same right-click menu. Inside a Doc, Sheet or Slides file you may also see File > Lock, undone with Locked > Unlock file at the top. Google documents that route only on its approvals page, which covers Enterprise and Education Plus. Not in your File menu? Use Drive.
Think glass display case: everyone who could see the file still sees it, and every editor holds a key.
What Lock doesn't do:
- Hide anything. Google's Drive API docs: "A content restriction isn't an access restriction."
- Stop downloads or copies. That's a separate Share setting (next section).
Want to lock certain Google Docs only? Google documents it per file. Docs can't lock part of a document; Sheets' protected ranges are in the FAQ.
Who has it: Google rolled Lock out to all Google Workspace customers in September 2023. Personal Gmail accounts aren't mentioned. If Lock isn't under File information, your account doesn't have it.
How to make a Google Doc private with Restricted sharing
- Open the Doc and click Share.
- Under General access, choose Restricted.
- Add each person's email, set the role to Viewer, and click Send.
Each person signs in with a Google account tied to that address. No account? They'll need one, but any email address can become a Google account at accounts.google.com/signupwithoutgmail.
That's the step that trips people up: Restricted sharing assumes everyone will sign up.
"Anyone with the link" skips sign-in, and people who open it that way show up as anonymous animals. It's only as private as the last person who forwarded it: obscured, not protected.
Two more controls in the Share dialog:
- Downloads, printing and copying: click the gear (Settings) and untick the option for viewers and commenters. It slows people down; it doesn't stop a screenshot. Since July 2025, Workspace file owners can block editors too.
- Expiry dates: on work and school accounts, click the arrow next to a person's name, choose Add expiration and pick a date within a year. Google describes it per person, not for the link. On folders, only Viewer access can expire.
No Google account? Workspace visitor sharing
On Workspace, if your admin turns on visitor sharing, you can invite people with no Google account. They click Open in the invite email, Google emails them a PIN, and they're in for 7 days. After that, they re-verify from the original invite.
- Visitors can view, comment, suggest, edit and download single files. No whole-folder downloads, mobile apps or Drive for desktop.
- Google lists it for all Workspace and G Suite editions (some features vary), not Cloud Identity, and not personal accounts.
Can you password protect a Google Drive folder?
No. You can't password protect a Google Drive folder, or a single Drive file. Google documents Lock for files, not folders, so to lock a Google Drive folder's contents you lock the files in it, one by one.
What works:
- Restricted sharing on the folder. Everything inside gets the folder's access, but a file can still have its own extra sharing on top, like an old Anyone with the link. Check General access on anything sensitive.
- A password-protected zip. Zip the files with a password; the protection travels with the zip. Windows File Explorer can't add a password, so use free 7-Zip, which does AES-256 in 7z and ZIP. On a Mac, Keka makes AES-256 7z archives. Skip Terminal's
zip -e: it uses the old PKZip 2.0 scheme that zip's own help calls "weak". Recipients on a Mac may need extra software to open a password-protected zip. - A small site behind a password. For a handful of PDFs, an index page plus Private Sites (below).
Marketplace add-ons and browser extensions that claim folder passwords need access to your Drive, so read the permissions screen before you click Allow. A Google Form "password gate" is the obscurity trick again: the form checks a typed answer, then shows a link that works for anyone who has it.
Put a password on a downloaded copy (PDF or Word)
This is how to send a password-protected PDF or Word file. Start in the Doc: File > Download > PDF Document (.pdf) or Microsoft Word (.docx).
PDF on a Mac: Preview
- Open the PDF in Preview and choose File > Export. A new name keeps the unprotected original.
- Click Permissions, tick Require Password To Open Document, and enter it twice.
- Set an Owner Password, then click Apply and Save.
PDF with Adobe
Adobe's free online Password Protect PDF tool needs no sign-in: select the file, type the password twice, click Set password, download. In paid Acrobat, it's under Protect a PDF > Protect with password.
Word file
- Windows: File > Info > Protect Document > Encrypt with Password, enter it twice, then save.
- Mac: Review > Protect > Protect Document, set a password to open, then OK.
Passwords are case-sensitive, and Microsoft's help page caps them at 15 characters. Microsoft is also blunt that Word can't recover a lost one.
Send the password separately, say by text. A password in the same email as the attachment is a key taped to the lock.
The January 2026 gotcha: Drive can strip the password
Since January 2026, Drive opens password-protected Office files with two choices. Preview opens it read-only and keeps the password. Edit opens it in Docs, Sheets or Slides and, in Google's words, will "remove the password from the file". It covers Workspace and personal accounts, with no admin switch.
Only someone who knows the password can pick Edit. Once they do, that file in Drive has no password left, for anyone who can open it there. So email the encrypted .docx; don't park it in a shared Drive folder. Google's post covers Office files only, not PDFs.
Or use Gmail confidential mode
In a new email, click Toggle confidential mode, set an expiry, and choose whether to require an SMS passcode. Without one, non-Gmail recipients get the passcode by email. Recipients can't forward, copy, print or download the message or attachments; screenshots still work, Google notes.
Want the password on the link instead? The link controls for PDFs compare Drive, Dropbox, OneDrive and Hostsmith.
Share a read-only copy behind one password
Disclosure: Hostsmith is ours.
It fits a proposal, price list or handout for people without a Google account: one link, one password or a list of allowed emails. Document-sharing tools like Papermark and Peony sell password links too, with extras like view tracking and expiry. Hostsmith is plain hosting with a gate in front.
PDF route (simplest):
- In the Doc, File > Download > PDF Document (.pdf).
- At hostsmith.net, create a site and drop the PDF in.
- Turn on Private Sites for the site (Starter and up) and pick a shared password or an email whitelist.
- Send the
your-site.us.hostsmith.linkaddress, and the password separately. - Check: open the link in a private window. You should hit the password prompt before the PDF.
Web page route (reads like a page, not a file):
- File > Download > Web Page (.html, zipped), then unzip it. You should see one .html file and, if the Doc has pictures, an images folder.
- Rename the .html file to
index.html. Leave the images folder's name and place alone; the page points to it. - Zip both together and drop your zipped folder in the dashboard. Text-only Doc? Upload
index.htmlon its own. - Turn on Private Sites, run the same check, and make sure the pictures load and the links work.
Several PDFs need a tiny index.html beside them, each href matching a file name exactly. Zip it with the PDFs and upload:
<!doctype html>
<title>Project files</title>
<ul>
<li><a href="proposal.pdf">Proposal</a></li>
<li><a href="price-list.pdf">Price list</a></li>
</ul>
It's a snapshot. Doc edits don't flow through: download again and upload to the same site. The new upload replaces the files at the same address, so your link keeps working. Then reopen it to check the password prompt is still there.
Plans, as of October 2026 (pricing):
- Free: no Private Sites.
- Starter, $5/mo billed yearly ($60/year) or $9 monthly: Private Sites, 1 site, 50 MB.
- Pro, $15/mo billed yearly ($21 monthly): Private Sites, 5 sites, 500 MB.
The limits:
- Anyone past the password can download, print or copy the PDF; the browser's viewer has buttons for that. It's a gate, not copy protection.
- A shared password is a lobby code: whoever has it gets in. An email whitelist leaves nothing to forward. Here's how to pick a shared password or email whitelist.
Frequently asked questions
Can you password protect a Google Sheet?
No. Data > Protect sheets and ranges limits who can edit, by account. Google says it "shouldn't be used as a security measure": people can still print, copy and export. "Show a warning" only asks editors to confirm. For real protection, encrypt a downloaded copy.
How do I lock a Google Sheet?
Protect sheets and ranges for parts of it; Lock for the whole file, same as Docs.
Is a published Google Doc private?
No. File > Share > Publish to web makes a public page with no password option, and edits republish automatically unless you untick that. Work and school accounts may be able to limit it to the organization. To undo it: Published content & settings > Stop publishing. Drive's old website hosting is gone too; see the Google Drive website hosting alternatives.
What is the Google Drive Safe folder?
It isn't in Drive. It's in the Files by Google app on Android 8.0 and up, behind a PIN or pattern. Its files can't be shared or backed up to Drive. Forget the PIN and you're locked out, and a reset deletes the files for good.
How do I lock a folder with a password?
Not in Drive. On a Mac, use Disk Utility > File > New Image > Image from Folder and pick an encryption option. That's a .dmg, so it's for Mac recipients. For Windows, use a password-protected 7-Zip archive.
How do I password protect a PDF before emailing it?
Preview on a Mac or Adobe's free online tool, as above. Send the password by text, not in the same email.
Can you password protect Google Slides?
No, same as Docs. Encrypt a downloaded PDF, or Lock the file to stop edits.
Our pick, for what it's worth, costs nothing. Download the PDF. Add a password in Preview or Adobe's free tool. Email the file, text the password. No Google account needed on the other end. Want a link instead of an attachment? That's the Private Sites route.