mirror of
https://github.com/agoramachina/claude-exporter.git
synced 2026-07-09 15:59:52 +00:00
Multiple files had drifted out of sync over recent commits. Brought
Firefox in line with Chrome (canonical copy per CLAUDE.md):
- popup.html: removed Chrome typo "dd" after --error-text: #ff9999;
- popup.html: synced firefox label { margin: 6px 0 } -> 6px (chrome's value)
- browse.html: synced firefox td { padding: 15px } -> 15px 20px
- browse.html: removed stale .btn-view CSS from firefox (the v1.10.9
cleanup only touched chrome)
- browse.html: bumped firefox body min-width 1140 -> 1200 and added
min-width: 1200px to .container to match chrome's recent tweak
- browse.js: synced firefox tooltip label "Now using" -> "Currently"
- options.html: synced firefox width: 800px -> 810px
- content.js: removed firefox-only [Claude Exporter] debug console.log
lines at top of file
Legitimate differences left alone:
- background.js: chrome MV3 scripting.executeScript vs firefox MV2
tabs.executeScript loop (per CLAUDE.md API differences)
- popup.js: chrome.tabs.* (chrome) vs browser.tabs.* (firefox idiom)
Uncertain (left for direction):
- browse.js exportConversation toast handling differs (chrome emits
inline showToast per branch; firefox has them removed with a
"Toast handled below after timestamp save" comment, but no
unified toast was found later in the function)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| chrome | ||
| docs | ||
| firefox | ||
| tests | ||
| .gitignore | ||
| CLAUDE.md | ||
| LICENSE.md | ||
| README.md | ||
Claude Exporter
A browser extension for Chrome and Firefox that allows you to export your Claude.ai conversations and artifacts in various formats with support for bulk exports, artifact extraction, and conversation browsing.
Features
- 📥 Export Individual Conversations - Export any conversation directly from Claude.ai
- 📚 Bulk Export - Export all or filtered conversations as a ZIP file
- 🔍 Browse & Search - View all your conversations in a searchable table
- 🔀 Sort Conversations - Sort by name, date, project, model, and more
- 🌳 Branch-Aware Export - Correctly handles conversation branches
- 📝 Multiple Formats - JSON (full data), Markdown, or Plain Text
- 📦 Artifact Export - Extract artifacts (code, documents, etc.) as separate files
- 🎯 Flexible Export Options - Choose to include conversations, artifacts inline, or artifacts as separate files
- 🗂️ ZIP Archives - Bulk exports create organized ZIP files with conversations and artifacts
- 🏷️ Metadata Options - Include or exclude timestamps, models, and other metadata
- 🤖 Complete Model Information - Preserves and displays model information for all conversations
- 🔮 Smart Model Inference - Automatically infers the correct model for conversations that used the default model at the time
- 🔒 Secure - All data processing happens in your browser and is never sent anywhere
- ☀️ Light/Dark Mode - Toggle between color schemes
Installation
See docs/INSTALL.md for installation instructions (browser stores, manual, and from source).
Usage
Export Current Conversation
- Navigate to any conversation on claude.ai
- Click the extension icon
- Choose your export format and metadata preferences
- Click "Export Current Conversation"
Browse All Conversations
- Click the extension icon
- Click "Browse All Conversations" (green button)
- In the browse page, you can:
- Search conversations by name
- Filter by model
- Sort by date or name
- Export individual conversations
- Export all filtered conversations as ZIP
Bulk Export
- In the browse page, select your format and filters
- Click "Export All"
- A progress dialog will show the export status
- Once complete, a ZIP file will download containing all conversations
Export Formats
JSON
- Complete data including all branches and metadata
- Best for data preservation and programmatic use
- Includes all message versions and conversation branches
Markdown
- Human-readable format with formatting
- Shows only the current conversation branch
- Includes optional metadata (timestamps, model info)
- Great for documentation or sharing
Plain Text
- Simple format following Claude's prompt style
- Uses "User:" and "Claude:" prefixes
- Shows only the current conversation branch
- Ideal for copying into other LLMs or text editors
Troubleshooting
"Organization ID not configured"
- Follow the setup steps in docs/INSTALL.md
- Make sure you're copying the complete UUID from the URL
"Not authenticated" error
- Make sure you're logged into Claude.ai
- Try refreshing the Claude.ai page
Export fails for some conversations
- Some very old conversations might have different data structures
- Check the browser console for specific error messages
- The ZIP export includes a summary file listing any failed exports
Content Security Policy errors
- Make sure you're using the latest version of the extension
- Try reloading the extension from chrome://extensions/
For browser-specific troubleshooting issues, see docs/INSTALL.md
Known Limitations
- Rate limiting: The extension processes conversations in small batches to avoid overwhelming the API
- Using a VPN may return a 403 error when trying to connect to the Claude API
- Plaintext and markdown formats only export the currently selected branch in conversations with multiple branches
- Large bulk exports may take several minutes
- Some special content types (like artifacts) may not export perfectly
- API does not preserve per-message model data
conversation.modelfrom the API is the current model only — when chats get bounced (deprecation, guardrails kicking to Sonnet 4, etc.) the original model is lost
Privacy & Security
- Local Processing: All data processing happens in your browser
- No External Servers: The extension doesn't send data anywhere
- Your Authentication: Uses your existing Claude.ai session
- Open Source: You can review all code before installation
Contributing
Feel free to submit issues or pull requests if you find bugs or have suggestions for improvements!
Acknowledgments
- Original Project: Forked from socketteer/Claude-Conversation-Exporter
- Code Development: Written in collaboration with Claude Code (Sonnet 4.5 and Opus 4.5, 4.6, 4.7)
- ZIP Library: Uses JSZip for creating ZIP archives
Note: This extension is not officially affiliated with Anthropic or Claude.ai. It's a community tool that uses the web interface's API endpoints.