Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync?
chrome://sync-internals/
doesn't seem to display the actual contents of the synchronized storage per extension.
Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync?
chrome://sync-internals/
doesn't seem to display the actual contents of the synchronized storage per extension.
[Update 2023]
For a native way of doing it without installing anything, check the other answers.
Storage Area Explorer extension provides a UI for viewing, editing, clearing, importing and exporting of chrome.storage.local
, chrome.storage.sync
, localStorage
and sessionStorage
.
In the future this feature may be implemented natively: https://crbug.com/848752.
Warning for ManifestV3: since devtools for service worker doesn't show storage, you'll have to open any visible page of your extension like the popup or options, right-click the page, then click "inspect", then go to Storage Explorer. If your extension doesn't have any visible pages, you can open chrome-extension://ID/manifest.json
where ID is the id of the extension as shown in chrome://extensions page. Another method is to right-click any script from your extension in devtools (when you inspect the content script or service worker), then click "Open in a new tab". You can add a bookmark for this tab to open it quickly next time.
chrome://sync-internals/
Sync Node Browser
tab and wait for it to load (may give a blank screen or in progress cursor)Extension settings
A poor workaround is to call get
and obtain all the stored values. Of course, this doesn't let you conveniently edit them:
chrome.storage.sync.get(null, function callback(items) { console.log(items) });
For ManifestV3 in modern Chrome:
await chrome.storage.session.get()