Pocket Portfolio's Sovereign Sync turns your Google Drive into a personal database for your portfolio. Own your data, sync bidirectionally, and edit trades in JSON or Excel—all with zero vendor lock-in.
Sovereign Sync is Pocket Portfolio's bidirectional Google Drive integration that gives you complete control over your financial data. Instead of storing your portfolio in a proprietary database, your trades live in a JSON file on your Google Drive—making it your database.
pocket_portfolio_db.json—a human-readable, developer-friendly format.pocket_portfolio_db.json. Changes sync every 5 seconds.Do not open pocket_portfolio_db.json with Google Sheets or Excel. These tools will convert the file and break the sync. Always use a text editor (VS Code, Sublime, Notepad++) for editing.
Edit trades programmatically, use Git for version control, or integrate with your own tools via the JSON API.
Make bulk changes to trades in a text editor, then sync back to Pocket Portfolio instantly.
Access your portfolio from any device. Changes sync automatically across all your devices.
Your data lives in your Google Drive. No vendor lock-in, no proprietary formats—complete ownership.
Sovereign Sync is available for Corporate Sponsors and Founders Club members. Upgrade to unlock this feature and take control of your financial data.
Yes! That's the whole point. Open pocket_portfolio_db.json in any text editor, make changes, and they'll sync back to Pocket Portfolio within 5 seconds.
Pocket Portfolio will detect invalid JSON and pause syncing to protect your local data. You'll see a warning message, and your local trades remain safe. Fix the JSON syntax in Drive, and sync will resume automatically.
The primary sync file is JSON. However, you can optionally enable Excel export (pocket_view.xlsx) for viewing in Google Sheets—but this is read-only. To edit trades, use the JSON file.
Yes. Pocket Portfolio only accesses files it creates in your Google Drive. Your data remains private and is stored in your own Drive account. We never see your portfolio data.
Upgrade to Corporate Sponsor or Founders Club, then go to Settings → Data Sovereignty & Sync → Connect Google Drive. The setup takes less than a minute.