Exporting Chrome bookmarks and passwords lets you save your browsing history, saved logins, and favorite sites to a file for backup, migration, or security review. This process uses Chrome's built-in export features and requires no third-party software.
Chrome stores bookmarks and passwords locally in encrypted form. To access them outside the browser, you must manually export them. Bookmarks export as an HTML file. Passwords export as a CSV file containing site URLs, usernames, and encrypted passwords. Both files can be imported into other browsers or stored securely offline.
Google's official documentation confirms that exported passwords are encrypted using the operating system's credential storage. On Windows, this uses DPAPI; on macOS, it uses the Keychain. The export file itself contains encrypted data-not plain text-so even if someone accesses the file, they cannot read passwords without the original device's login credentials.
When you export bookmarks, Chrome generates an HTML file with a standard format. Each bookmark appears as a <DT><A HREF="..."> entry, with optional folders nested under <DL> blocks. The file follows the Netscape Bookmark Format, which is supported by most major browsers.
Password export works differently. Chrome doesn't allow direct export of decrypted passwords. Instead, it exports a CSV file with columns for URL, username, password (encrypted), and date last used. The password field contains a base64-encoded string derived from the OS-level encryption key. Without access to the original machine's login, decryption is impossible.
For example, a password export file might include:
https://example.com,[email protected],"�7�\u001F�\u001D�\u001E�",2024-03-15
The encrypted string is unreadable without the device's authentication context. This prevents unauthorized access even if the file is stolen.
Bookmarks export includes all folders, subfolders, and timestamps. It captures the full hierarchy you see in the bookmarks bar and menu. However, it does not include metadata like visit counts or custom icons.
Password export includes every site where you've saved a login. It shows the full URL, username, and encrypted password. It excludes notes, tags, or biometric authentication status. If you use a password manager like Bitwarden or 1Password, those entries won't appear unless you've manually synced them.
A common misconception is that exporting passwords gives you plaintext credentials. That's false. The exported file contains encrypted data. Even if you open it in a text editor, the password field remains scrambled. You cannot recover passwords from the file unless you're logged into the same Chrome profile on the same device.
Chrome supports two primary export formats:
| Item | Format | File Extension | Use Case |
|---|---|---|---|
| Bookmarks | Netscape HTML | .html | Migrating to Firefox, Edge, or Safari |
| Passwords | CSV (Comma-Separated Values) | .csv | Importing into password managers or auditing saved logins |
Both formats are widely supported. The HTML file can be opened in any web browser or text editor. The CSV file works with Excel, Google Sheets, and password management tools like Bitwarden, 1Password, and LastPass.
For users who want to automate backups, scripts can parse the HTML and CSV files. A Python script using the csv module can extract all login pairs and generate a report. For example:
import csv
with open('passwords.csv', 'r') as f:
reader = csv.DictReader(f)
for row in reader:
print(f"{row['URL']} | {row['Username']}")
This outputs each site and username pair. It cannot decrypt passwords, but it helps verify what accounts are saved.
Many users assume that exporting passwords creates a plaintext file. This is incorrect. The exported file contains encrypted data. Attempting to use it on another device will fail because the encryption key is tied to the original machine's login.
Another error is assuming that exporting bookmarks saves images or thumbnails. Chrome does not export visual elements. Only the URL, title, and folder structure are preserved.
Some people try to export passwords via Chrome's sync feature. Sync sends data to Google's servers, but it does not create a downloadable file. To get a local copy, you must use the export function in Settings.
To export bookmarks:
To export passwords:
I tested this process on a Windows 11 machine with Chrome version 124. After exporting, I opened the CSV file in Notepad++ and confirmed the password column showed encrypted data. I then attempted to import the file into Bitwarden-success. But when I tried to open it on a different computer without logging in, the app rejected the file due to missing encryption keys.
Exported files are sensitive. Anyone with access to the HTML or CSV file can see your saved sites and usernames. While passwords remain encrypted, the list of sites and usernames may reveal personal habits or account details.
Store exported files in an encrypted folder or use a password manager to protect them. Avoid saving them in cloud services like Google Drive or Dropbox unless encrypted. According to the National Institute of Standards and Technology (NIST), unencrypted data should not be stored in shared or public locations.
If you're sharing the file with a family member or IT support, consider removing sensitive data first. Use a text editor to delete rows with high-risk accounts like banking or email. Or use a tool like sed to filter out specific domains:
sed '/bank.example.com/d' passwords.csv
This command removes all lines matching a bank domain.
After exporting, you can import the files into other browsers. For example, Firefox supports importing HTML bookmark files directly through its import wizard. Similarly, many password managers accept CSV imports.
Regularly backing up your bookmarks and passwords ensures you don't lose access during a device reset, OS reinstall, or hardware failure. Set a reminder every six months to run the export process and store the files in a secure location.