Try the following procedure (which I’ve tested for version 2024.6.2 of the Chrome browser extension; minor adjustments may be necessary for other versions):
-
Open and unlock the browser extension, and then use the pop-out button to open the browser extension in a floating browser window.
-
With the floating browser extension window in focus, press F12 to open the DevTools window.
-
In the DevTools window, select the Sources tab in the top navigation menu, then use the left-hand navigation tree to navigate to
webpack://
→libs
→tools/export/vault-export
→vault-export-ui/src/components
→export.component.ts
, and click on theexport.component.ts
file to view its source code. -
Scroll to Line 251 (
const userVerified = await this.verifyUser();
) of the source code, and left-click once on the line number (251
) in the left column to set a breakpoint. The line number should be highlighted as shown in the screenshot below:
-
Go back to the floating browser extension window, and press F5 to refresh the window contents.
-
In the floating browser extension window, go to Settings → Vault → Export vault.
-
Set the File Format to
.json
, and click the Submit button in the upper right corner. If you prefer, you could also select the.json (Encrypted)
file format, but only if you specify the Password-Protected Export Type when you get to the next screen. -
As you proceed with the export, you will see the notice “Paused” in the browser extension window, and the DevTools window will pop up into the foreground.
-
In the DevTools window, select the Console tab in the top navigation menu, and at the
>
prompt in the console, typethis.doExport()
(lowercase, except for the capitalE
), then hit Enter. -
In the DevTools window, select the Sources tab in the top navigation menu, and then press F8 to resume code execution. Alternatively, you can also press the “play” button in the DevTools window or in the floating browser extension window.
-
At this point, the export should be created in your Downloads folder (you should see a new file with a name like
bitwarden_export_20240725183559
there), or the browser may prompt you for a location to save the file.
Let me know how it goes.
P.S. There used to be a much simpler method, as explained by @Quexten in this Reddit comment, but it doesn’t seem to work anymore.