View and change IndexedDB data Stay organized with collections Save and categorize content based on your preferences.
This guide shows you how to useChrome DevTools to view and changeIndexedDB data. Itassumes you're familiar with DevTools. If not, seeGet started. It also assumes you're familiarwith IndexedDB. If not, seeUsing IndexedDB.
View IndexedDB data
Click theApplication tab to open theApplication panel.Expand theIndexedDB menu to see which databases are available.

Figure 1. TheIndexedDB menu
notes -https://mdn.github.io represents a database, wherenotes is the name of the database andhttps://mdn.github.io is the origin that can access the database.
notes is anobject store.- title andbody areindexes.
<iframe> to embed an ad on your page, and your ad network uses IndexedDB, your ad network'sIndexedDB data won't be visible. Seeissue #943770.Click a database to see its origin and version number.

Figure 2. Thenotes database
Click an object store to see its key-value pairs.
Caution: IndexedDB data does not update in real-time. SeeRefresh IndexedDB data.
Figure 3. Thenotes object store
- Total entries is the total number of key-value pairs in the object store.
- Key generator value is the next available key. This field is only shown when usingkeygenerators.
Click a cell in theValue column to expand that value.

Figure 4. Viewing an IndexedDB value
Click an index, such astitle orbody inFigure 6 below, to sort the object storeaccording to the values of that index.

Figure 5. An object store that is sorted alphabetically according to itstitle key
Refresh IndexedDB data
IndexedDB values in theApplication panel do not update in real-time. ClickRefresh
when viewing an object store torefresh its data, or view a database and clickRefresh database to refresh all data.

Figure 6. Viewing a database
Edit IndexedDB data
IndexedDB keys and values are not editable from theApplication panel. Since DevTools has accessto page context, however, you can run JavaScript code within DevTools that edits IndexedDB data.
Edit IndexedDB data with Snippets
Snippets are a way to store and run blocks of JavaScript code within DevTools. When you run aSnippet, the result is logged to theConsole. You can use a Snippet to run JavaScript code thatedits an IndexedDB database.

Figure 7. Using a Snippet to interact with IndexedDB
Delete IndexedDB data
Delete an IndexedDB key-value pair
- View an IndexedDB object store.
Click the key-value pair that you want to delete. DevTools highlights it blue to indicate thatit's selected.

Figure 8. Selecting a key-value pair in order to delete it
Press theDelete key or clickDelete Selected
.
Figure 9. How the object store looks after the key-value pair has been deleted
Delete all key-value pairs in an object store
View an IndexedDB object store.

Figure 10. Viewing an object store
ClickClear object store
.
Delete an IndexedDB database
- View the IndexedDB database that you want to delete.
ClickDelete database.

Figure 11. TheDelete database button
Delete all IndexedDB storage
- Open theClear storage pane.
- Make sure that theIndexedDB checkbox is enabled.
ClickClear site data.

Figure 12. TheClear storage pane
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-03-18 UTC.
