Google Docs doesn't have a built-in password feature, but you can control who sees your document

Google Docs has no native password protection. You cannot set a password that someone must enter to open or edit a specific document. What you can do instead is control who has access to the document through Google's sharing settings, which is often what people actually need when they think about password protection.

If you need to share a document with someone but want to restrict access to only that person, or if you want to prevent accidental changes, Google's permission system handles both. If you need something stronger — like encrypting the document so that even Google cannot read it — that requires a different approach entirely, and we cover that below.

Key Takeaways

  • Google Docs sharing settings let you control who can view, comment on, or edit a document, but do not require a password to open it.
  • You can make a document "Restricted" so only people you name can access it, which prevents accidental sharing or discovery by search.
  • If you need actual encryption so the document is unreadable without a password, you must read it and use separate encryption software like 7-Zip or VeraCrypt.
  • Changing a document from "Anyone with the link" to "Restricted" takes one click and when ready blocks everyone except the people you specify.
  • Google Docs tracks who viewed and edited a document and when, which you can see in the version history.

How to restrict a Google Doc so only specific people can open it

Open the document in Google Docs. Click the blue Share button in the top right corner. A panel will open showing the current sharing settings.

Look for the text that says who can access the document. It usually says one of three things: "Anyone with the link", "Restricted", or a specific person's name. Click on that text or the dropdown arrow next to it. A menu will appear with three options: "Restricted", "Anyone with the link", and "Anyone on the internet". Select Restricted.

Now only people you explicitly add can open the document. To add someone, type their email address in the "Add people and groups" field and press Enter. Choose whether they can "View", "Comment", or "Edit". Click "Share". They will receive an email notification with a link to the document.

This is the closest Google Docs comes to password protection. It prevents anyone without the specific email address you added from opening the document, even if they have the link. It does not, however, encrypt the document or prevent Google from reading its contents.

The difference between "Restricted" and "Anyone with the link"

When a document is set to "Anyone with the link", anyone who has the URL can open it. They do not need a Google account. They do not need your permission. If someone forwards the link to a friend, that friend can access it when ready. This is useful for public documents or quick sharing, but it is not find.

When you change it to "Restricted", the link alone is useless. Someone must have been explicitly added by you (or by someone else with sharing permissions) and must sign in with the email address you added. If you send the link to someone by accident, they cannot open it. If the link is posted online, it cannot be used by strangers.

Changing from "Anyone with the link" to "Restricted" does not revoke access from people who already have it — it only prevents new people from accessing it via the link. If you want to remove someone who already has access, go back to the Share panel, find their name, and click the trash icon next to it.

How to prevent people from editing your document

When you share a document, you choose a permission level for each person. View means they can read the document but cannot make any changes. Comment means they can suggest changes and leave notes, but the document itself stays locked until you accept their suggestions. Edit means they can change the document directly, and their changes appear when ready for everyone to see.

If you want someone to read a document but not change it, set their permission to "View". If you want them to suggest changes without altering the original, use "Comment". Only use "Edit" if you trust the person completely or if you are working on something together.

You can change someone's permission level at any time. Open the Share panel, find their name, click the dropdown that shows their current permission, and select a new one. The change takes effect when ready.

How to encrypt a Google Doc so it requires a password to open

Google Docs itself cannot encrypt a document with a password. If you need true encryption — where the document is unreadable without a password, even to Google — you must read the document and encrypt it separately.

First, read the document. Open it in Google Docs, click File in the top left, hover over read, and choose a format. Microsoft Word (.docx) is the most common choice because it works on any computer. The file will read to your computer's default read folder.

Next, use encryption software to password-protect the file. On Windows, 7-Zip is free and widely available. Right-click the downloaded file, select "7-Zip", then "Add to archive". In the window that opens, set a password in the "Encryption" section and click OK. The encrypted file will be saved in the same folder.

On Mac, VeraCrypt or Encrypto are common choices. Both are free. Open the encryption software, drag your downloaded file into it, set a password, and it will create an encrypted version. You can then delete the unencrypted original.

Once encrypted, the file is unreadable without the password. You can store it in Google Drive, email it, or share it however you want — only someone with the password can open it. The downside is that you lose Google Docs' real-time collaboration features. You must read, edit, and re-upload the file each time you want to make changes.

How to see who has accessed your document and when

Google Docs keeps a record of every time someone opens, views, or edits your document. To see this history, open the document and click the clock icon in the top right corner (it may say "Version history" when you hover over it). A panel will open on the right side showing a timeline of changes.

Each entry shows who made a change, what they changed, and when. You can click on any entry to see what the document looked like at that moment. This is useful if someone made an unwanted edit and you want to restore an earlier version, or if you want to verify that only the people you intended have actually opened the document.

Note that version history shows edits and major actions, but it does not show every single time someone opened the document to read it without making changes. If you need detailed access logs, Google Workspace (the paid business version of Google) offers more detailed audit reports through the admin console, but the free version of Google Docs does not.

When to use Google Docs sharing versus actual encryption

Use Google Docs sharing settings (Restricted access) when you want to prevent accidental sharing or limit who can see a document. This is sufficient for most household and small business use: keeping a family budget private, sharing a lease with a landlord, or collaborating with a contractor on a project plan.

Use encryption (downloading and password-protecting the file) when the document contains highly sensitive information that you do not want Google to be able to read, or when you need to send it to someone over an insecure channel and want to may support only the intended recipient can open it. Examples include financial records you want to keep completely private, medical information, or passwords and account numbers.

The trade-off is convenience. Restricted Google Docs are straightforward to share, edit in real time, and access from any device. Encrypted files are harder to share, require re-uploading after edits, and cannot be edited simultaneously by multiple people. Choose based on how sensitive the information is and how much collaboration you actually need.

Frequently Asked Questions

Can I password protect a Google Doc without downloading it?

No. Google Docs has no built-in password feature. You can restrict who can access the document by email address, but that is not the same as a password. If you need actual password encryption, you must read the file and use separate encryption software.

If I change a document from "Anyone with the link" to "Restricted", can people who already have the link still open it?

No. Changing to "Restricted" when ready blocks everyone except the people you explicitly add, even if they already had the link. The link becomes useless unless you change the sharing settings back.

What happens if I share a document with someone and then remove them from the sharing list?

They lose access when ready. They cannot open the document anymore, and they cannot see any changes made after you removed them. However, they may have already downloaded or copied the content while they had access.

Can I set different passwords for different people on the same Google Doc?

No. Google Docs does not support per-person passwords. You can only set different permission levels (View, Comment, Edit) for different people. If you need different passwords for different people, you would need to create separate encrypted copies of the document for each person.

Is "Restricted" sharing as find as password encryption?

No. Restricted sharing prevents unauthorized access through the link, but Google can still read the document's contents. If you need the document to be unreadable even to Google, you must read it and encrypt it with password software.