Sertaç Yıldız413 downloadsComprehensive, security-first sync of your vault to a Google backend you own — Google Drive or Google Cloud Storage. Bring your own Google account; no third-party server.
Sync your Obsidian vault to a Google backend you own — your personal Google Drive, or your own Google Cloud Storage bucket — privately, with optional end-to-end encryption and no third-party server.
Your notes are yours. Keeping them backed up and in sync across devices shouldn't mean paying a subscription, routing your vault through someone else's server, or letting a plugin rewrite your files.
Google Sync keeps everything on infrastructure you already own and control:
Use one, or set up both and choose which is active.
You can install Google Sync directly from the Obsidian Community Plugins directory:
Requires Obsidian 1.13.0 or newer.
This plugin ships with no OAuth credentials of its own. You create a Google
OAuth client once and paste it into settings; it then lives only in this vault's
plugin data. That means there is no shared credential bundled into the plugin
for anyone to extract, and every release can be rebuilt from source byte for
byte — see SECURITY.md.
On the desktop, sign-in uses the OAuth loopback flow (PKCE) against 127.0.0.1 —
your browser opens, you approve, and the token is captured locally.
The same plugin runs on Obsidian mobile; install it from Community Plugins on the phone. A phone app cannot listen on a local port, so sign-in goes through your browser and comes back to Obsidian instead:
https://sertacyildiz.github.io/obsidian-google-sync/oauth/ — the phone's
settings show it too, with a Copy button.The redirect page is a static page in this repository (docs/oauth/). It only
passes a one-time code back to Obsidian, and that code is useless without the
key that never leaves your phone — see SECURITY.md. You can host
the page yourself and set Redirect page (advanced) to your copy.
Google Cloud Storage with an HMAC key needs no sign-in at all, on any device.
Is your vault's
.obsidianfolder synced by something else (iCloud, Obsidian Sync with plugin settings, Syncthing)? Then this plugin's settings, sign-in included, travel to your phone with it. On a phone that receives them, automatic sync stays off until you press Sync now there, and settings say so. Better: exclude.obsidian/plugins/google-cloud-sync/from that other sync, so each device keeps its own sign-in.
If your OAuth consent screen is still in Testing, Google expires refresh tokens after 7 days, on every device. Switching it to In production avoids that; for your own client, Google may show an "unverified app" screen that you can continue past.
Upgrading from 0.6.x or earlier? Those versions signed in through a shared OAuth client that was bundled into the plugin. That client has been removed, so an existing sign-in can no longer be refreshed: create your own client as above and press Connect again. Your synced files are not affected.
Security is the first priority, not an afterthought: credentials are never
synced and never logged, permission scopes are kept minimal, and content
encryption is available so a backend leak is never a content leak. Details in
SECURITY.md.
If you encounter any issues or have feature requests, please check the Issues page to report them or contribute.
MIT.