How To Hide Gridlines In Google Sheets

Google Sheets, an integral part of Google’s productivity suite, brings convenience and functionality to your spreadsheets. While it is a powerful tool, sometimes the default settings can be distracting. One such example is the visible gridlines in Google Sheets. In certain cases, you might prefer to hide these for a cleaner look. Don’t worry if you’re unsure how to do this, as this guide will walk you through the process step-by-step.

What are Gridlines?

Gridlines are the faint lines that separate cells, rows, and columns in Google Sheets and any other spreadsheet software. They help you to distinguish cells from each other. However, there are times when you might want to hide them, to make your sheet look cleaner or for presentation purposes.

Steps to Hide Gridlines in Google Sheets

Here are the steps to hide gridlines in Google Sheets:

  1. Open your Google Sheets document.
  2. Click on the ‘View’ option in the menu bar at the top.
  3. A drop-down menu will appear. Look for the ‘Gridlines’ option.
  4. By default, the ‘Gridlines’ option will be checked. To hide the gridlines, click on it to uncheck.

The gridlines should now be hidden in your Google Sheets document. Brilliant, isn’t it? The process is as easy as it sounds!

Using Google Apps Script to Hide Gridlines

If you’re more technically inclined and work with Google Apps Scripts, you can also use a script to hide the gridlines. Here’s a simple script:

function hideGridlines() {
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();

To run this script, open your Google Sheet, click on Extensions -> Apps Script, paste the code into the script editor, and run the function. This script gets the active sheet and sets gridlines to be invisible.


Google Sheets is a powerful tool that can be customized to suit your needs. Whether it’s for aesthetic reasons or to reduce clutter, knowing how to hide gridlines can enhance your spreadsheet experience. Remember, the steps are simple: navigate to ‘View’, and then uncheck ‘Gridlines’. Or, use Google Apps Script for a more technical approach. Happy spreadsheeting!