Skip to content

How to Protect or Password Lock Google Sheets?

Lock Cells in Google Sheets from Editing. Here are a Couple of Best Methods to Password Protect Google Sheets and also Prevent Editing of Cells.
How to Password Protect Google Sheets

Google Sheets is a Spreadsheet word processor that offers users a tabular data collection online service free of cost. Like the popular Microsoft Excel, users can use web-based Google Sheets to create perfect Spreadsheets and keep the progress saved on Google Servers to continue the work from anywhere using their Google Account.

Google Sheets also offers collaboration to work with the team. There might be instances when you want to password encrypt Google Sheets, Google does not offer any such tool to password protect by default, but you can use some 3rd party tools to password lock the Google Sheets. Let us look at a couple of best methods in detail.

Protect Complete Google Sheets Document

You can restrict the file permission preventing others from performing editing functions on Google Sheets. This will help prevent modification of the data in the cells and the user can only view the Sheet data without manipulating the contents of the Spreadsheet.

  1. Click on the Share button on the Google Sheets.
    Click on Share Button
  2. A sharing box will open. Here click on the Gear_ICon_Google_drive Gear icon to open Share with people settings.
  3. Now disable the right tick for ‘Viewers and commenters can see the option to download, print, and copy.’
  4. That’s it, and now you can share the file with the Viewer or Commentator permissions.
  5. Now if someone opens the document then they can only download or view the Google Sheets but cannot perform any editing actions on the file.
    Editing Disabled on Google Docs

Protect only Required Sheet

If you wish to only protect a particular section on the Google Sheets document then you can use a simple trick to restrict editing on Sheets.

  1. Right-click on Sheet that you want to protect.
  2. Click on Protect the Sheet option on the menu.
  3. Then click on Set Permissions.
    Set Permissions
  4. Now set who can edit this range to only you to avoid 3rd person editing.
    range editing permissions
  5. You can also set custom permissions and enter the email addresses to allow access to users to edit the spreadsheet.
    custom permissions and enter your email addresses to allow access

Lock Google Sheets Using Link Lock Tool

You can use a free 3rd party tool named Link Lock by Jacob Strieb. The tool is free and ad-free, built for open source use. Encryption, decryption, and key derivation are all performed by the SubtleCrypto API.

  • Visit Link Lock Site.
  • Past the Google Sheets Sharing Link in Secret Link section.
  • Create and Confirm Password. Click Encrypt.
  • Copy the Encrypted Link.
  • Now one needs to enter the password to unlock to get the G-Sheets URL.

Password Protect Google Sheets Using G-Forms

If you do not trust any 3rd party service, then you can use Google Forms to password lock. This method will lock the Google Sheets sharing the link.

  1. Click on the New option in GDrive Desktop.
  2. Now open Google Forms, Blank Form.
  3. Add any Title Name in place of ‘Untitled form.’ I added ‘BytesBin Lock‘ for the demo.
    Untitled Form
  4. Add Password Detail in ‘Untitled Question.’ I added ‘Enter Password to Unlock.’
    Add Password Detail in 'Untitled Question
  5. Change Multiple Choice Option to Short Answer.
  6. Now Turn on the Required Toggle.
    Turn ON Required Option
  7. Next to Required Toggle, you will see the 3 vertical Dots menu option; click on it.
  8. Here select Response validation.
    Response Validation
  9. Now more options will appear on the form.
  10. You can select Number as a Password, Text as a Password, or Regular expression for Password.
  11. I will go with Regular expression.
  12. Make sure to use the Contains as the option.
  13. Enter the password in the Pattern option to set the lock code.
  14. Now in custom error text, add a custom error message to display the wrong password. I used ‘Incorrect Password‘ as a custom error message.
    custom error text
  15. Click on the Gear Gear_ICon_Google_drive icon.
    Gear Icon Google Forms
  16. Here tap on the Presentation option.
    Click Presentation
  17. Now under the Confirmation message: enter the Google Sheets Sharing Folder URL and click Save.
    Add URL under Confirmation message and hit save
  18. Click on the Send button.
    Click Send
  19. You can now either share the file using Mail, copy the link or embed the link.
    Share the Protected URL
  20. That’s it! When someone opens the form, they need to enter the password.
  21. Entering the correct password will fetch them the Google Sheets URL.😀


With this simple guide, you can password encrypt your Google Sheets and protect its content even if someone has access to the Sheets Sharing Link.

Leave a Reply

Your email address will not be published. Required fields are marked *