You can import/export IndexedDB data using leveldb-cli
:
To install:
go install github.com/cions/leveldb-cli/cmd/leveldb@latest
To dump all data in text form:
leveldb -i -d <path/to/my/indexedDB> show -w > dump.txt
Command-line usage:
$ leveldb -h
NAME:
leveldb - A command-line interface for LevelDB
USAGE:
leveldb [global options] command [command options] [arguments...]
VERSION:
1.1.0
COMMANDS:
init, i initialize a database
get, g get the value for the given key
put, p set the value for the given key
delete, d delete the value for the given key
keys, k list all keys
show, s show all entries
dump dump the database as MessagePack
load load MessagePack into the database
repair repair the database
compact compact the database
destroy destroy the database
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--dbpath dir, -d dir path to the database directory (default: ".") [$DBPATH]
--indexeddb, -i open Chromium's IndexedDB database (default: false)
--help, -h show help
--version, -v print the version