Open GDocs is a lightweight Windows script that allows you to open Google Drive shortcut files
(.gdoc, .gsheet, .gslides, .gdraw, .gform, .gscript, .gjam, .gtable) directly from File Explorer,
without installing Google Drive for Desktop or syncing through Googleβs software.
Google Drive stores online documents as small JSON files when synced via tools like Synology Drive or rclone.
These files contain only a link to the actual document (for example, .gdoc β a Google Docs URL),
so when you double-click them, Windows just opens a text viewer.
Open GDocs reads that JSON file, extracts the "url" field, and opens it in your default browser β
as if you clicked the document directly in Google Drive.
- Lets you open Google Docs, Sheets, Slides, etc. directly from File Explorer.
- Works even when syncing Google Drive through Synology Drive, rclone, nextcloud or any third-party client.
- Requires no installation, no admin rights, and no background sync software.
- Fully portable β just a single
.batfile.
Get the file OpenGDocs.bat and place it somewhere permanent, for example:
C:\Tools\OpenGDocs.bat
- Right-click any
.gdoc,.gsheet, or.gslidesfile. - Choose Open with β Choose another app β More apps β Look for another app on this PC.
- Browse to
OpenGDocs.bat. - Check βAlways use this appβ and confirm.
Now, double-clicking any Google Drive shortcut file will open it directly in your browser.
| Extension | Google file type |
|---|---|
.gdoc |
Docs |
.gsheet |
Sheets |
.gslides |
Slides |
.gdraw |
Drawings |
.gform |
Forms |
.gscript |
Apps Script |
.gjam |
Jamboard |
.gtable |
Tables |
The script automatically works with all these extensions β it simply opens whatever URL is stored inside.
If you encounter issues or have ideas for improvement:
- Open an Issue on GitHub describing the problem.
- Or start a Discussion if youβd like to contribute enhancements or translations.
Maintained by Nikolai Balabanov.
Contributions, bug reports, and pull requests are welcome!
If you find this tool useful, consider giving it a βοΈ on GitHub.
This project is released under the MIT License.
You are free to use, modify, and distribute it for personal or commercial purposes.