export-chrome-profile
v1.0.2
Published
Export your Chrome profile as a zip — one command, no setup
Downloads
262
Maintainers
Readme
export-chrome-profile
Export your Chrome profile as a zip file — interactively and securely.
This tool is designed to help developers, AI agents, and browser automation engines (like Puppeteer/Playwright) securely move browser profiles between environments (e.g., from your local machine to a cloud sandbox).
Quick Start
No installation required. Just run:
npx export-chrome-profileFeatures
- Zero Config: Automatically discovers Chrome profiles (
Default,Profile 1, etc.) on your machine. - Interactive Prompts: Easily select which profile to export.
- Selective Export: Choose exactly what data to include (Cookies, History, Bookmarks, Extensions, Local Storage).
- Auto-Optimization: Automatically excludes massive regenerable cache directories (
GPUCache,Service Worker/CacheStorage, etc.) to keep your zip file small. (e.g., A 300MB profile becomes an ~11MB zip). - Secure by Default (AES-256): Easily password-protect your zip output so your sensitive cookies and session tokens never sit unencrypted on disk.
Usage
Running the command will launch an interactive wizard:
export-chrome-profile
─────────────────────────
✔ Which Chrome profile do you want to export? Default
✔ What data do you want to include in the export? Cookies, History, Bookmarks, Extensions, Local & Session Storage
✔ Do you want to secure the zip file with a password? Yes
✔ Enter the zip password: [hidden]
Estimated final export size: ~11.4 MB
✔ Ready to proceed with export? Yes
✔ Success — 10.8 MB
Saved to: /path/to/your/chrome-profile-2026-02-25T14-46-43.zip
File is encrypted. Do not forget your password!Advanced Usage
If you prefer to skip the interactive wizard, you can pass arguments directly:
# Export the Default profile to a specific location
npx export-chrome-profile --profile "Default" --output ~/Desktop/my-profile.zip
# Export a specific named profile
npx export-chrome-profile --profile "Profile 2"Supported Platforms
- [x] macOS (
~/Library/Application Support/Google/Chrome/) - [ ] Windows (Coming soon)
- [ ] Linux (Coming soon)
Privacy & Security
Browser profiles contain highly sensitive information including active session cookies, local storage tokens, and browsing history.
This tool runs 100% locally. No data is ever sent to any servers. The resulting .zip file is created directly on your machine. We strongly recommend using the built-in password encryption feature if you intend to move the resulting zip file across a network.
License
MIT
