Gem Backup

Open Source · MIT License

Save your Gemini Gems before they disappear. Google is sunsetting Gems (custom Gemini instructions) in October 2026. Export every Gem's custom instructions from a public Google Drive folder into a searchable Excel backup — attachments included.

① Paste Drive folderany public folder link, no account needed
② Backup Gemsserver lists, downloads and parses every Gem
③ Download Excel + Attachmentshuman-readable XLSX + machine-readable ZIP

No login · No Google API · No AI · Files deleted after 30 minutes

Source on GitHub

What you get

FileContent
Gems_Backup.xlsxManifest sheet (backup time, source folder, counts, version) + Gems sheet (name, description, full system prompt, Drive file ID, modified, status)
Gems_Backup.zipgem-backup/ tree: manifest.json (with per-file sha256), gems/gem-001/… (metadata.json + instructions.txt + description.txt), attachments/

How it works

StepWhat happens
1. ListPublic folder parsed via Google's embeddedfolderview endpoint (no API key)
2. DownloadEach Gem + attachment streamed via the public uc?export=download endpoint, with timeouts and size caps
3. ParseGem files are protobuf — name, description and instructions extracted with a small decoder
4. PackageExcel with 32,767-char-safe cell chunking + ZIP with manifest + sha256 checksums
5. HandoutBoth files downloadable for 30 minutes, then deleted from the server (5 GB global storage quota)

Requirements

Just one: the folder must be shared as Anyone with the link (Viewer). Everything else is handled automatically.

Gem Backup is unaffiliated with Google. Gems and Gemini are trademarks of Google LLC.