- 🎯 One-Click Export - Export complete chat history with a simple click
- 📦 Batch Processing - Automatically export all conversations in bulk
- 📊 Formatted Output - Standard JSON format for data analysis and machine learning
- 🔒 Privacy First - All data processed locally, no server uploads
- 📅 Smart Naming - Auto-extract timestamps with intelligent file naming
-
Download Extension
git clone https://github.com/xvfeiran/ChatExporter.git cd ChatExporter -
Open Chrome Extensions Page
- Visit
chrome://extensions/in Chrome - Or click Menu → More Tools → Extensions
- Visit
-
Enable Developer Mode
- Toggle "Developer mode" in the top right
-
Load Extension
- Click "Load unpacked"
- Select the
extensionfolder
-
Build Extension Package
./build-extension.sh
-
Extract and Load
- Extract the generated ZIP file
- Load the extracted folder in
chrome://extensions/
-
Open Supported AI Service
- Visit chat.deepseek.com
- Currently only supports DeepSeek
-
Open Control Panel
- Click the extension icon in browser toolbar
-
Choose Export Method
- 💾 Save Current - Export current conversation
▶️ Collect All - Batch export all conversations- ⏩ Start from Current - Export from current conversation onwards
Please keep focus on the conversation area during collection. Do not click elsewhere on the page, otherwise data collection may fail.
- ✅ DeepSeek - Fully supported
- 🚧 Claude - In development
- 🚧 ChatGPT - Planned
- 🚧 Kimi - Planned
- 🚧 通义千问 - Planned
- Manifest V3 - Chrome extension latest standard
- Vanilla JavaScript - No dependencies, lightweight and efficient
- Content Scripts - Secure page interaction
- Chrome Downloads API - Reliable file downloads
Exported JSON file format:
{
"title": "Conversation Title",
"url": "Conversation URL",
"conversationId": "Unique ID",
"timestamp": 1734321234567,
"capturedAt": 1734327890123,
"messages": [
{
"role": "user",
"content": "User message content",
"timestamp": 1734321234567
},
{
"role": "assistant",
"content": "AI response content",
"timestamp": 1734321245678
}
]
}# Clone repository
git clone https://github.com/xvfeiran/ChatExporter.git
cd ChatExporter
# Modify files in extension/ directory
# Reload extension in chrome://extensions/
# Build release package
./build-extension.shChatExporter/
├── extension/ # Chrome extension source
│ ├── manifest.json # Extension config
│ ├── popup.html/js # Popup window
│ ├── content/ # Content scripts
│ ├── background/ # Background service
│ └── icons/ # Extension icons
├── build-extension.sh # Build script
├── LICENSE # MIT License
└── README.md # Project documentation
Contributions are welcome! Please follow these steps:
- Fork this repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
Extension not working?
- Ensure you're using on supported AI service sites
- Refresh the page and retry
- Check browser console for error messages
- Try disabling and reloading the extension
Where are exported files saved?
All exported JSON files are automatically saved to your browser's default download folder.
Is data secure?
Completely secure! All data processing happens locally in your browser, nothing is uploaded to any server.
Why only DeepSeek?
The current version focuses on stability and feature completeness for DeepSeek. Other platforms are under development, stay tuned!
This project is licensed under the MIT License - see LICENSE file for details
- Issues: GitHub Issues
- Feature Requests: GitHub Discussions
If this project helps you, please give it a ⭐️Star!
Made with ❤️ by AI Assistant