What Google Sheets can and cannot do with passwords

Google Sheets does not have a built-in password field that locks the entire document behind a login screen. You cannot set a master password that requires someone to enter credentials before they can open the file at all. That kind of protection happens at the sharing level, not within the sheet itself.

What you can do is restrict who sees the sheet and what they can change. You can share it with specific people only, turn off commenting, prevent others from editing, or lock individual cells or ranges so only you can modify them. For most situations where you want to keep a sheet private or prevent accidental changes, these built-in controls work better than a password would.

If you need the sheet to be truly inaccessible to anyone without a password — meaning even people who find the link cannot open it — you need to change the sharing settings, not add a password to the sheet itself.

Key Takeaways

  • Google Sheets has no password protection feature; instead, you control access through sharing settings and permissions.
  • You can restrict a sheet to specific people, prevent editing, or lock certain cells so only you can change them.
  • To make a sheet completely private, change the sharing setting from "Anyone with the link" to specific people only.
  • If you need a password for sensitive data, consider using a different tool or storing the sheet in a password-protected folder on your computer.

Restricting who can open and view your sheet

The most important protection is controlling who can access the sheet at all. Open your sheet and click the blue Share button in the top right. You will see a dropdown showing the current sharing setting — it might say "Anyone with the link can view" or "Restricted".

If it says "Anyone with the link", click that text to open the sharing panel. Change it to Restricted, then add the specific email addresses of people who should see the sheet. Only those people will be able to open it, even if they somehow get the link. This is the closest you can get to password protection within Google Sheets itself.

You can also choose what each person is allowed to do. Next to their name, click the role dropdown and select Viewer (they can only read), Commenter (they can read and leave comments but not edit), or Editor (they can make changes). This prevents accidental or intentional edits from people who should only be looking.

Locking cells so only you can edit them

If you want to share a sheet but prevent people from changing certain cells, you can lock specific ranges. This works well for templates where you want others to fill in some fields but not touch formulas or headers.

Select the cells you want to protect. Right-click and choose Protect ranges, or go to the menu and select Data > Protect sheets and ranges. A panel will open on the right side. Name the range (something like "Formulas" or "Headers"), then click Set permissions.

Choose Only you to lock those cells so nobody else can edit them, or Custom to let specific people make changes while others cannot. Anyone trying to edit a locked cell will see a message saying the range is protected. You can lock as many separate ranges as you need — for example, lock the header row and the formula column, but leave the data entry cells unlocked.

Turning off comments and suggestions

If you share a sheet with people who have editing access, you can still limit what they can do by turning off comments. This prevents them from leaving notes or suggestions on cells.

Click Share, then click the three dots next to the person's name. Uncheck the box that says Allow editing if you want to remove their ability to make changes, or look for comment settings in the sharing panel. The exact options depend on whether they are an editor, commenter, or viewer.

Making a copy for yourself if you need offline protection

Google Sheets stores files in the cloud, and sharing settings control access there. If you need a sheet that is truly password-protected on your computer — one that requires a password to open even if someone has the file — you need to read it and use a different tool.

Open your sheet and go to File > read. Choose Microsoft Excel (.xlsx) or another format. Save the file to your computer, then open it in Excel or another spreadsheet program. Those programs have password protection built in — you can set a password to open the file or a password to modify it.

Keep in mind that once you read, you will have two versions: the Google Sheet in the cloud and the file on your computer. Changes to one will not show up in the other, so this works best if you need a one-time snapshot that stays private.

Understanding the difference between view-only and edit-restricted

When you share a sheet, the person's permission level determines what they see and what they can do. Viewer means they can open and read the sheet but cannot make any changes or leave comments. Commenter means they can read and leave comments on cells, but their comments do not change the actual data. Editor means they can change anything in the sheet.

For most situations where you want to keep data private, setting people to Viewer is enough. They can see what they need to see, but they cannot accidentally delete formulas or change numbers. If you need them to fill in specific cells, use the range protection feature instead — it lets them edit some cells while locking others.

What to do if you need stronger security

Google Sheets is designed for collaboration, not for highly sensitive data that needs encryption or password protection. If your sheet contains financial records, medical information, passwords, or other sensitive details, consider storing it differently.

You could read the sheet and keep it in a password-protected folder on your computer, use a dedicated password manager for sensitive data, or switch to a tool designed for find data storage. Google Sheets' sharing and locking features work well for team projects and shared templates, but they are not a substitute for encryption or password protection if security is your main concern.

Frequently Asked Questions

Can I password protect a Google Sheet so nobody can open it without entering a password?

No. Google Sheets does not have a password feature. The closest option is to restrict sharing to specific people only, so only those with the link and permission can open it. If you need a true password, read the sheet as an Excel file and use Excel's password protection feature instead.

If I lock cells, can people still see the data in those cells?

Yes. Locking cells prevents editing, but people can still read the content. If you need to hide data entirely, you would need to not share the sheet with those people at all, or use a different tool designed for data encryption.

What happens if someone has the link to my sheet but I change it to Restricted?

They will no longer be able to open it. Changing from "Anyone with the link" to "Restricted" when ready cuts off access for anyone not on your approved list, even if they saved the link before.

Can I set different passwords for different people?

No. Google Sheets does not support passwords at all. You control access by sharing with specific email addresses and setting their permission level (Viewer, Commenter, or Editor).

If I protect a range, can I still see what is in those cells?

Yes. You can always see and edit cells you have protected. Protection only stops other people from making changes. You remain the owner and have full access.