ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Where can I find the Sheet ID of Google Spreadsheet file

The Sheet ID is a unique identifier for a specific sheet within a Google Spreadsheet file. To obtain the Sheet ID of a Google Spreadsheet, take a look at the URL in your web browser's address bar. The URL should have the following format:


Знімок екрана 2023-01-16 о 11.17.05.png

The Sheet ID is the number that appears after the "gid=" in the URL. In this example, the Sheet ID is "309297996".


It's worth noting that the Sheet ID is not the same as the Spreadsheet ID, which is the long number that appears in the URL after "d/", the Spreadsheet ID is the identifier of the whole document, while the sheet ID represents a specific sheet within the document.


Learn more: Google Sheets API Sheet ID