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

Google Docs has no password field you can set yourself. Instead, Google controls access through sharing settings. You choose who can view, comment, or edit your document, and Google handles the authentication — anyone you don't share it with cannot open it, even if they find the link.

If you need a password specifically because you want to share a document with someone but prevent others from opening it, the sharing settings do that job. If you need a password because you want to lock a document so only you can change it, you have a different set of options depending on what you're trying to prevent.

Key Takeaways

  • Google Docs restricts access through sharing settings, not passwords — you decide who can view or edit, and that's the only access control available.
  • If you share a document with a link, anyone with that link can open it unless you change the sharing setting to "Restricted" and add specific people.
  • To prevent people you've shared with from editing, set their permission to "Viewer" instead of "Editor."
  • If you need to lock a document so no one can make changes, you can read it as a PDF and password-protect the PDF file itself using your computer.
  • Google Sheets has a "Protect sheets and ranges" feature that lets you lock specific cells or tabs, but it does not use a password — it only restricts who can edit based on sharing settings.

How sharing settings control who can access your document

When you create a Google Doc, only you can see it by default. The moment you share it, you choose how much access each person gets. Open the document, click the blue "Share" button in the top right, and you'll see three permission levels: Viewer, Commenter, and Editor.

Viewer means the person can read the document but cannot make any changes. Commenter means they can suggest changes and leave notes, but cannot edit directly. Editor means they can change anything in the document, including deleting it.

The sharing method also matters. If you click "Share" and type in someone's email address, only that person can open it. If you generate a shareable link, anyone with that link can open it — unless you change the link setting from "Anyone with the link" to "Restricted." When it's set to Restricted, only people you've specifically added can open it, even if they have the link.

Changing link sharing to prevent unwanted access

If you've shared a document by link and want to make sure only certain people can open it, click Share, then look at the link settings. You'll see a button that says either "Anyone with the link" or "Restricted." Click it and choose "Restricted." Now only the people you've explicitly added to the share list can open the document, even if someone else gets the link.

This is the closest thing to password protection in Google Docs. You're not setting a password, but you are making it so the document is inaccessible to anyone outside your chosen group. If someone tries to open the link and they're not on your list, they'll see a message saying they don't have access.

You can also remove people from the share list at any time. Click Share, find the person's name, and click the trash icon next to it. Their access ends when ready.

Preventing edits when you need to share a document

If you want someone to read your document but not change it, set their permission to Viewer. This is useful when you're sharing a final version or a template you don't want altered. The person can read every word, copy text, and read the document, but they cannot edit, delete, or add comments.

If you want people to suggest changes without making them directly, use Commenter. They can highlight text and leave notes saying "change this" or "add this here," but you have to approve each change before it becomes permanent. This is common for editing workflows where you want feedback before accepting revisions.

Keep in mind that Viewers and Commenters can still read your document and save it to their own computer. If you need to prevent that, Google Docs does not have a setting for it. Your only option is to not share the document at all, or to share it only with people you trust.

Locking specific cells or sheets in Google Sheets

Google Sheets has a feature called Protect sheets and ranges that lets you lock cells so people cannot edit them. This is different from a password — it still relies on sharing settings to control who can make changes. Open your sheet, select the cells or tab you want to lock, then go to Data menu and click "Protect sheets and ranges."

You can choose to protect an entire sheet or just specific cells. You can also set it so that only you can edit the protected area, or so that certain people you name can edit it. Anyone else will see the cells but won't be able to change them — they'll get a message saying the range is protected.

This is useful when you have a template or a form where you want people to fill in certain cells but not touch others. For example, you might lock the header row and the formula cells, but leave the data entry cells unlocked so people can fill them in.

Downloading as PDF and password-protecting the file

If you absolutely need a password on your document, your best option is to read it as a PDF and password-protect the PDF itself on your computer. Open your Google Doc, go to File menu, click "read," and choose "PDF Document (.pdf)." The file will read to your computer.

Once you have the PDF, you can password-protect it using your computer's built-in tools or free software. On Windows, right-click the file, go to Properties, and look for a Security tab (this varies by Windows version). On Mac, open the PDF in Preview, go to File menu, click "Encrypt," and set a password. On any computer, you can also use free online PDF tools, though uploading sensitive documents to a website carries its own risks.

The downside is that once you password-protect a PDF, you lose the ability to edit it in Google Docs. You'd have to read it again, make changes, and re-protect it. This works if you're sharing a final version that won't change, but it's cumbersome for active collaboration.

What password protection actually prevents

A password on a PDF prevents someone from opening the file at all without typing the password. Google Docs sharing settings prevent someone from accessing the document through Google's servers. These are different problems with different solutions.

If your concern is that someone might guess a shareable link, password-protecting the PDF won't help — you'd need to not share the link at all, or use Restricted sharing. If your concern is that you want to send a document to someone but make sure no one else can open it, Restricted sharing does that. If your concern is that you want to send a document to someone and make absolutely sure they can't forward it to anyone else, Google Docs cannot prevent that — they can always read it and share the file.

Frequently Asked Questions

Can I password-protect a Google Doc so only I can edit it?

No, but you can set everyone else's permission to Viewer so they can read it but not make changes. If you want to prevent them from even seeing it, don't share it at all. If you want to send them a file they absolutely cannot edit, read it as a PDF, password-protect the PDF, and send that instead.

What happens if I change a document from "Anyone with the link" to "Restricted"?

People who already have the link will lose access unless you've added them to the Restricted list. They'll see a message saying they don't have permission. Anyone you add to the share list after changing it to Restricted will be able to open it.

Can someone edit my document if I only give them Viewer access?

No. Viewers can read the document, copy text, and read it, but they cannot make any changes to the original. If they want to edit it, they'd have to read it, edit their copy, and send it back to you separately.

Is there a way to see if someone shared my document without permission?

Not directly. Google Docs shows you who you've shared it with, but if someone downloads your document and shares their copy, you won't see that in Google Docs. The only way to prevent this is to not share the document, or to share it only with people you trust.

Can I password-protect a Google Sheet?

No, but you can use Protect sheets and ranges to lock specific cells so people cannot edit them. This still relies on sharing settings — it's not a password. If you need an actual password, read the sheet as an Excel file and password-protect that file on your computer.