CLI Reference
The six commands and their flags: dump, dumpkeys, archive, restore, list, and version.
HackBrowserData ships six commands. dump is the default — running hack-browser-data with no command is the same as hack-browser-data dump.
Commands
| Command | What it does |
|---|---|
dump | Extract and decrypt browser data — the default command. |
dumpkeys | Export Chromium master keys as JSON for cross-host decryption . |
archive | Pack Chromium profile files into a zip for cross-host restore. |
restore | Restore copied Chromium data with exported keys on another supported OS. |
list | List the browsers and profiles detected on this machine. |
version | Print the build’s version, commit, and date. |
Tip
Start with
listto discover browsers and profiles, then use the canonical key from Supported Browsers with--browser.
Global flags
| Flag | Default | Description |
|---|---|---|
-v, --verbose | false | Enable debug logging |
dump’s flags are also available directly on the root command. Output formats and the file model are documented on Output & Data Formats
.
version
version prints the build’s version, commit, and build date — handy for bug reports:
$ hack-browser-data version
hack-browser-data v0.0.0
commit: a1b2c3d4
built: 2026-01-01The commit is the short Git SHA the binary was built from.
- dump— Extract and decrypt browser data — the default command.
- dumpkeys— Export Chromium master keys as JSON for cross-host decryption.
- archive— Pack Chromium profile files into a zip for cross-host restore.
- restore— Decrypt copied Chromium profile data using exported master keys.
- list— List detected browsers and profiles.