Google Docs does not have a built-in password feature
Google Docs itself has no native password protection tool. You cannot set a password that prevents someone from opening a specific document. What Google Docs does offer is sharing controls — you can restrict who can view, comment on, or edit a document, and you can revoke access at any time. For most situations, these sharing restrictions are what people actually need when they think about "password protecting" a document.
If you need a password specifically because you want to share a document with someone but prevent others from accessing it, sharing controls solve that problem. If you need encryption or password protection for a file stored on your computer, that requires a different approach outside of Google Docs.
Key Takeaways
- Google Docs sharing controls let you decide who can view, edit, or comment on a document, which prevents unauthorized access without a password.
- You can change sharing settings at any time and revoke access from specific people, even after they have seen the document.
- To share securely with one person, use "Restricted" sharing and add only their email address.
- If you need a password on a downloaded file, you can password-protect a PDF or Word document after exporting it from Google Docs.
- Google Docs does not support password-protecting the document itself within the platform.
How to restrict who can access your document
Open the Google Doc you want to protect. In the top right corner, click the blue Share button. A panel will open showing current sharing settings.
Look at the top of the sharing panel where it says "Restricted" or shows a name or email. Click that button. A dropdown menu appears with three options: "Restricted," "Anyone with the link," and "Public on the web." Select Restricted. This means only people you specifically add can access the document.
Below that, you will see a field that says "Add people and groups." Type the email address of the person you want to share with. Click their name when it appears. Then choose whether they can View, Comment, or Edit the document. Click Share. Google Docs will send them an email notification with a link to the document.
Only the people you add by email can open this document. No one else can find it or access it, even if they have the link.
How to change permissions for people who already have access
Open the document and click Share in the top right. The sharing panel shows everyone who has access. Find the person whose permissions you want to change.
Click the role next to their name — it will say "Viewer," "Commenter," or "Editor." A dropdown menu appears. Select the new role you want them to have. The change takes effect when ready. If you want to remove someone entirely, click the three dots next to their name and select Remove.
When you remove someone, they lose access to the document right away. They cannot open it anymore, even if they bookmarked it or saved the link.
How to password-protect a document after downloading it
If you need an actual password on a file, you must read the document first, then password-protect the downloaded file. Open your Google Doc and click File in the top left menu. Select read and choose the format you want: PDF, Microsoft Word (.docx), or another option.
Once the file is on your computer, you can password-protect it using your computer's built-in tools or a third-party program. On Windows, you can password-protect a Word document by opening it in Microsoft Word, clicking File, then Info, then Protect Document, and selecting Encrypt with Password. On Mac, open the file in Word, go to Tools, select Protect Document, and choose Encrypt.
For PDFs, most PDF readers have password protection features. Adobe Acrobat (the paid version) lets you add a password to a PDF. Free alternatives like PDFtk or online PDF tools can also add password protection, though you should only use tools you trust with sensitive documents.
When sharing controls are not enough
If you are worried that someone with access might share the document with others, sharing controls alone will not stop that. Once someone has the link, they can forward it to anyone. In this case, you have two options: read and password-protect the file as described above, or use Google Docs' Viewer role, which prevents people from downloading, printing, or copying the document.
Set someone as a Viewer by opening Share, clicking their role, and selecting Viewer. Viewers can read the document but cannot save a copy, print it, or copy text from it. They still cannot share it with others, but they can take screenshots. If the document contains highly sensitive information, consider whether Google Docs is the right tool, or whether you need to read it and password-protect the file instead.
How to see who has access to your document
Click Share in the top right of your document. The panel shows everyone who can access it. At the top, you will see the current sharing setting — "Restricted" means only listed people can access it. Below that is a list of every person and their role.
If the sharing setting says "Anyone with the link," anyone who has the link can open the document, even people you did not add. Change this to "Restricted" if you want to control access. If it says "Public on the web," anyone on the internet can find and open the document through search engines. Only use this if the document is meant to be public.
Frequently Asked Questions
Can I password-protect a Google Doc so people need a password to open it?
No. Google Docs does not have a password feature for documents stored in Google Drive. You can only control who has access by managing sharing settings. If you need a password on a file, read the document and password-protect the downloaded file on your computer.
What happens if I change someone from Editor to Viewer?
They keep access to the document but can no longer make changes. They can read it and comment on it (if comments are allowed), but cannot edit the text or delete the document. The change happens when ready.
Can someone access my document if I share the link but do not add their email?
Only if the sharing setting is "Anyone with the link" or "Public on the web." If sharing is set to "Restricted," only people you add by email can open it. Anyone else who tries to use the link will see an error message.
If I remove someone from a shared document, can they still see it?
No. Once you remove them, they cannot open the document anymore. If they try to use a saved link, they will see a message saying they do not have access. Removing someone is when ready and permanent unless you add them back later.
Is there a way to prevent people from copying text out of my document?
Yes. Set people as Viewers instead of Editors or Commenters. Viewers cannot copy, read, or print the document. They can still read it and take screenshots, but they cannot extract the text easily.