Ori Kabeli79 downloadsPublish a note to Google Docs and keep the two in two-way sync, auto-merging changes and surfacing real conflicts.
Publish a single Obsidian note to Google Docs and keep the two in two-way sync — so you can collaborate with people on a specific document without leaving Obsidian.
Obsidian is built around local Markdown files and is great as a personal knowledge base — but it has no easy way to collaborate on a document with someone who lives in Google Docs. The usual workarounds mean copy-pasting back and forth or migrating the note out of your vault entirely.
This plugin gives you a middle ground: pick a note, hit Publish, and it becomes a Google Doc you can share and co-edit. Edits flow both ways — what you change in Obsidian updates the Doc, what collaborators change in the Doc flows back into your note — while the note stays a normal local file in your vault. You collaborate on the docs that need it, and keep everything else local.
gdoc_url).<<<<<<< / ======= / >>>>>>> markers into the note and leaves the Google Doc untouched until you resolve them — it never silently overwrites the other side. Non-overlapping changes merge automatically.Click Connect Google account once and approve in your browser (the standard Google consent screen). That's it — no API keys, no Google Cloud project to create.
drive.file scope, which is per-file: the plugin can only see and touch the Docs it creates, nothing else in your Drive.127.0.0.1 loopback redirect with PKCE; tokens are stored in the plugin's local data.Manually (until it's in the Community Plugins directory):
main.js, manifest.json, and styles.css from the latest release.<your vault>/.obsidian/plugins/google-docs-sync/.| Command | What it does |
|---|---|
| Publish to Google Docs | Create a Doc from the current note and start syncing it. |
| Sync now | Force a sync of the current note. |
| Sync all published notes | Sync every tracked note. |
| Connect Google account | Run the one-time sign-in. |
| Open Google Doc for this note | Open the linked Doc in your browser. |
The status bar shows the current note's state (synced ✓, conflict ⚠, etc.). There's also a ribbon icon and per-note auto-sync on save.
A few other efforts target the same Obsidian ↔ Google Docs space (most are GitHub-only, not in the official directory):
This plugin focuses on per-note publishing + reliable two-way sync with explicit conflict surfacing, and zero-setup auth (bundled OAuth client, drive.file scope).
Note: these are independent projects, not Google products. "Google Docs" and "Google Drive" are trademarks of Google LLC; this plugin is not affiliated with or endorsed by Google.
npm install
npm run build # outputs main.js
The bundled OAuth client is injected at build time from GDOCS_CLIENT_ID / GDOCS_CLIENT_SECRET env vars (or a local credentials.local.md). Building without them produces a "bring-your-own-client" plugin — users then set their own client under Settings → Advanced.