Google Docs doesn't have a built-in password field, but you can restrict access so only specific people can open the document

When you share a Google Doc, you're not adding a password that protects the file itself. Instead, you're controlling who can access it through Google's sharing settings. You choose whether each person can view only, comment, or edit — and you can revoke access at any time. This approach is actually more flexible than a single password, because different people can have different permission levels.

The trade-off is that anyone with the link can access the document if you've set it to "Anyone with the link can view." If you want to prevent strangers from opening it, you need to switch to "Specific people" and add only the names or email addresses you trust.

Key Takeaways

  • Google Docs uses permission levels (Viewer, Commenter, Editor) instead of passwords, and you control who sees the document through the Share button.
  • To prevent anyone with the link from opening your doc, change the sharing setting from "Anyone with the link" to "Specific people" and add only approved email addresses.
  • You can give different people different access levels — some can only view, others can comment or edit — all from the same Share menu.
  • If you want to lock a document so no one can edit it, set everyone's permission to "Viewer" and they'll only be able to read it.
  • You can remove someone's access when ready by clicking the X next to their name in the Share panel, even if they already opened the document.

How to restrict access to specific people only

Open your Google Doc and click the blue Share button in the top right corner. A panel will open showing who currently has access. At the top, you'll see a dropdown that says something like "Anyone with the link can view" or "Specific people can access." Click that dropdown.

Select Restricted (or "Specific people" depending on your Google account version). This when ready locks the document so that only people you explicitly add can open it. The link itself becomes useless to anyone you haven't invited — they'll see an error message saying they don't have access.

Now add the email addresses of people who should see the document. Type each person's email in the field that appears, then choose their permission level from the dropdown next to their name: Viewer (read-only), Commenter (can suggest changes), or Editor (can make changes directly). Click Share to send them an invitation.

Setting different permission levels for different people

You don't have to give everyone the same access. In the Share panel, each person's name has a dropdown showing their current permission. Click that dropdown to change it for just that person.

Viewer means they can read the document but cannot make any changes or leave comments. Use this for people who only need to see the final version. Commenter lets them highlight text and leave notes without changing the actual content — useful for feedback. Editor gives them full control to add, delete, or rewrite anything.

You can change someone's permission level at any time, even after they've already opened the document. The change takes effect when ready on their next refresh.

Removing someone's access

In the Share panel, find the person whose access you want to remove and click the X button next to their name. They will no longer be able to open the document. If they had the link bookmarked or saved, clicking it will now show an access denied message.

This works even if they're currently viewing the document — their access disappears right away, though they may not notice until they try to refresh or make a change.

Making a document read-only for everyone

If you want people to see your document but prevent them from editing it, set everyone's permission to Viewer. They can read every word and copy text if they want, but they cannot add comments, suggest edits, or change anything in the document itself.

This is useful when you're sharing a final version, a template, or a reference document that shouldn't be altered. You can still edit it yourself — Viewer permission only restricts what other people can do.

What happens when you share a link without restricting access

If your sharing setting is "Anyone with the link can view" or "Anyone with the link can edit," then anyone who has the link — whether you gave it to them or they found it — can open the document. Search engines can sometimes index these links, making the document discoverable to strangers.

Switching to "Restricted" or "Specific people" closes this gap. The link still exists, but it only works for people you've explicitly added. If you've already shared the link widely and want to lock it down, change the setting to Restricted and then decide who gets access.

Frequently Asked Questions

Can I password protect a Google Doc so people need to enter a password to open it?

No. Google Docs doesn't have a password feature built in. Your only option is to restrict access by email address through the Share settings. If you need actual password protection, you'd have to read the document as a Word file or PDF and use separate password-protection software.

If I change someone's permission from Editor to Viewer, do they lose access to changes they already made?

No. Changing their permission level only affects what they can do going forward. Any edits they made while they were an Editor stay in the document. You can see who made each change by opening the Version History (click the clock icon in the toolbar).

What if someone has the link but I haven't added them to the Share list?

If your document is set to "Restricted" or "Specific people," they cannot open it, even with the link. They'll see a message saying they need access. If your document is set to "Anyone with the link," they can open it with whatever permission level you've set for that option.

Can I see who has accessed my Google Doc?

You can see who you've shared it with in the Share panel. Google doesn't show you a log of who opened it or when, but you can see edit history by clicking the clock icon in the toolbar — that shows you who made each change and when.

If I remove someone's access, can they still see a copy they downloaded?

Yes. Removing access only prevents them from opening the document in Google Docs. If they downloaded it as a Word file or PDF before you removed them, they have a copy on their computer that you can't control. If that's a concern, ask them to delete it or use a document that requires sign-in to read.