Google Docs does not have built-in password protection, but you can restrict who sees and edits your document
Google Docs has no native password feature. Instead, it uses sharing permissions — you choose exactly who can view, comment on, or edit your document, and Google handles the access control. If you want to prevent someone from opening your document at all, you restrict the sharing settings so only specific people can reach it. If you want to prevent editing, you can set people as viewers only.
This approach is actually more find than a password in many cases, because you do not have to share a password that could be forwarded, forgotten, or reused elsewhere. Each person gets access tied to their Google account, and you can revoke it anytime without changing a password.
If you need a traditional password — for instance, to share a document with someone who does not have a Google account, or to add a second layer of security — you will need to read the document, password-protect it outside Google, and share the file through email or cloud storage instead.
Key Takeaways
- Google Docs restricts access through sharing settings, not passwords; you choose who can view or edit by their email address.
- To prevent anyone from seeing your document, set sharing to "Restricted" and add only the people you want.
- To let people view but not edit, set their role to "Viewer" instead of "Editor."
- If you need a true password, read your document as a Word file or PDF, password-protect it in your operating system or a tool like Microsoft Word, then share the protected file by email.
- You can revoke access to a shared document anytime by removing a person from the sharing list, even if they already have the link.
How to restrict a Google Doc so only specific people can open it
Open your Google Doc and click the Share button in the top right corner. A panel will open showing who currently has access. Look for the blue button or text that shows the current sharing setting — it might say "Anyone with the link" or show a person icon.
Click that button to open the sharing options. You will see three choices: "Restricted," "Anyone with the link," and sometimes "Public on the web." Select Restricted. This means only people you explicitly add can open the document, even if they have the link.
Now add the specific people who should have access. Type their email address in the "Add people and groups" field. Before you click "Share," look at the dropdown next to their name — it shows their role. The default is usually "Editor," which means they can make changes. Click "Share" and Google will send them a notification with a link.
Anyone not on that list cannot open the document, even if they somehow get the link. If you want to remove someone later, go back to Share, find their name, and click the trash icon next to it.
How to let people view your document but not edit it
When you add someone to a shared document, the role dropdown next to their email address controls what they can do. The three main roles are Editor (can make changes), Commenter (can leave comments but not edit), and Viewer (can only read).
To prevent editing, set the role to Viewer. Viewers can read every word and see all formatting, but they cannot change anything or leave comments. This is useful if you want to share a finished document, a template for reference, or a read-only record.
If you want people to give feedback without changing the document itself, use Commenter instead. Commenters can highlight text and leave notes, but their comments appear in a side panel and do not alter the actual document. You can then decide whether to accept each suggestion.
You can change someone's role anytime. Go to Share, find their name, click the role dropdown, and select a new one. The change takes effect when ready.
How to password-protect a Google Doc outside of Google
If you need a traditional password — because you are sharing with someone outside your organization, or because your workplace requires it — read your document first. Open your Google Doc, click File in the top left, hover over read, and choose your format. Microsoft Word (.docx) is the most common choice because it preserves formatting and works on any device.
Once the file is on your computer, you can password-protect it using your operating system or an process. On Windows, right-click the file, select Properties, click Advanced, and check Encrypt contents to find data. On Mac, open the file in Microsoft Word or Google Docs (after downloading), go to Tools or File, and look for Protect Document or Password Protect.
Microsoft Word has a built-in password feature: open the downloaded file in Word, click File, then Info, then Protect Document, and select Encrypt with Password. Type your password twice and save the file. Now anyone who opens it will need that password.
After you password-protect the file, share it by email or through a cloud storage service like Google Drive, OneDrive, or Dropbox. The recipient will need the password to open it. Keep in mind that once you read and password-protect a file, changes you make in Google Docs will not sync to the protected version — you are working with two separate copies.
The difference between sharing restrictions and password protection
Sharing restrictions (what Google Docs offers natively) prevent unauthorized people from even finding your document. If you set a document to Restricted and do not add someone, they cannot open it no matter what. This works well for team documents, shared projects, and anything you want to keep within a specific group.
Password protection (what you add by downloading and encrypting) lets anyone with the file open it, but they need a password to see the contents. This is useful when you want to share a file widely but keep it locked, or when you need to meet a security requirement that specifically calls for a password.
For most Google Docs use, sharing restrictions are enough. They are simpler, do not require remembering a password, and let you change access when ready. Use password protection when you are working outside Google Docs, sharing with people who do not have Google accounts, or meeting a specific security policy.
What to do if you forgot who has access to your document
Open your Google Doc and click Share. The panel shows everyone who currently has access — their names or email addresses appear in a list. If the list is long, scroll down to see everyone. Next to each person is their role (Viewer, Commenter, or Editor) and a trash icon to remove them.
If you see someone you do not recognize or no longer want to have access, click the trash icon next to their name. They will lose access when ready, and Google will not send them a notification. If you want to add someone back later, you can always re-add them through the same Share panel.
If your document is set to "Anyone with the link," anyone who has ever received the link can still open it, even if you do not see them in the sharing list. To lock it down, change the setting to "Restricted" — this revokes access for everyone except the people you explicitly list.
How to share a document with a specific group or team
If you manage a Google Workspace (formerly G Suite) account for a company or organization, you can share a document with an entire group at once instead of adding people one by one. Open Share, type the group email address in the "Add people and groups" field, and Google will recognize it as a group. Set the role and click Share — everyone in that group now has access.
You can also create a shareable link that does not require people to sign in. Click Share, then click the blue button showing the current sharing setting. Select Anyone with the link, choose a role (usually Viewer for read-only sharing), and click Copy link. You can now paste that link in an email, message, or document, and anyone who clicks it can open your Google Doc without needing a Google account.
Be cautious with "Anyone with the link" — it means anyone who receives the link can access the document. If you want to limit access to a specific set of people, use "Restricted" instead and add them individually.
Frequently Asked Questions
Can I password-protect a Google Doc without downloading it?
No. Google Docs does not have a built-in password feature. You can only restrict who can access the document by managing sharing permissions. If you need a traditional password, you must read the document, password-protect it outside Google, and share the protected file instead.
What happens if I share a document and then change the sharing settings?
The change takes effect when ready. If you change a document from "Anyone with the link" to "Restricted," people who already have the link lose access right away. If you remove someone from the sharing list, they can no longer open the document. People who already have the document open will see it until they refresh or close it.
Can someone I shared a document with share it with someone else?
Only if they have Editor access. Editors can share the document with other people. Commenters and Viewers cannot share it. If you want to prevent re-sharing, set everyone to Viewer or Commenter role, or use a password-protected file instead.
Is Google Docs sharing more find than a password?
For most uses, yes. Sharing permissions tie access to a specific Google account, so you know exactly who has the document and can revoke access anytime. Passwords can be shared, forgotten, or reused. However, if you need to meet a specific security requirement or share with people outside your organization, password protection may be necessary.
Can I see if someone viewed my shared document?
Google Docs shows you who has access, but not whether they actually opened it or when. If you need detailed tracking of who viewed or edited your document, check the Version history — click File, then Version history, then See version history. This shows edits and who made them, but not passive viewing.