Firefox Extension: Claude-ChatGPT JSON Export/Backup
GitHub Repository
HumainLabs/claude-chatgpt-backup-extensionFirefox extension for exporting Claude and ChatGPT transcripts to JSON
Install the Extension on Firefox https://addons.mozilla.org/en-US/firefox/addon/humainlabs-claude-chat-backup/
A Firefox browser extension that allows users to download JSON transcripts from Claude and ChatGPT conversations, making it easy to load this data into vector databases like ChromaDB or Milvus for advanced analysis and retrieval.
Simplifying AI Conversation Backup and Analysis
The Claude-ChatGPT Backup Extension was developed to address a common challenge for researchers and developers working with large language models: how to efficiently capture, store, and analyze AI conversations at scale.
This lightweight Firefox extension provides a simple one-click solution to download structured JSON transcripts of your conversations with Claude and ChatGPT. What sets it apart is its focus on producing clean, well-structured data that's immediately compatible with vector database systems, eliminating the need for complex parsing or transformation steps in your workflow.
By enabling seamless exports to JSON format, the extension creates a direct bridge between your AI interactions and powerful vector databases like ChromaDB and Milvus. This integration unlocks advanced capabilities such as semantic search across thousands of conversations, similarity analysis between different AI responses, and pattern recognition across large conversation datasets.
Key Capabilities
This extension offers several essential features for researchers and developers:
One-Click JSON Export provides instant downloads of your current conversation in a structured JSON format, preserving all messages, timestamps, and metadata for complete context retention.
Multi-Platform Support ensures compatibility with both Claude and ChatGPT interfaces, allowing you to standardize your data collection process across different AI systems.
Vector Database Compatibility features specially formatted JSON output designed for immediate ingestion into ChromaDB, Milvus, and other vector databases without additional transformation steps.
Privacy-First Design operates entirely within your browser with no external API calls or data storage, ensuring your conversations remain private and secure.
Real-World Applications
The Claude-ChatGPT Backup Extension enables powerful use cases across research and development:
For AI researchers, the extension facilitates the creation of comprehensive training datasets by capturing diverse interactions across multiple models. By exporting to vector databases, researchers can perform sophisticated comparisons between different AI systems and analyze how responses evolve over time.
Developers building RAG (Retrieval-Augmented Generation) applications can use the extension to build custom knowledge bases from their AI conversations. The exported JSON serves as a valuable source of structured data that can be embedded and retrieved to enhance the context available to AI systems.
The extension also supports educational use cases, allowing instructors to capture and analyze AI interactions for teaching purposes or to build curriculum materials around LLM capabilities and limitations.
Looking Forward
Future development plans for the extension include adding support for additional AI platforms, implementing batch export capabilities for multiple conversations, and creating direct integrations with popular vector database systems for even more streamlined workflows.
We're also exploring options for conversation filtering and tagging features to help users organize and categorize their exported data more effectively.
Installation & Usage
Installation
- Download the extension from the Firefox Add-ons store (coming soon)
- Or install directly from GitHub:
- Clone the repository
- Navigate to
about:debugging
in Firefox - Click "This Firefox"
- Click "Load Temporary Add-on"
- Select any file in the extension directory
Basic Usage
- Navigate to Claude.ai or ChatGPT
- Have a conversation with the AI
- Click the extension icon in your browser toolbar
- Select "Export Conversation"
- The JSON file will be automatically downloaded to your default download location
Using with Vector Databases
The exported JSON can be directly imported into vector databases:
# Example with ChromaDB
import chromadb
import json
# Load the exported conversation
with open("claude_conversation_2025-04-11.json", "r") as f:
conversation = json.load(f)
# Create a ChromaDB collection
client = chromadb.Client()
collection = client.create_collection("claude_conversations")
# Add the messages to the collection
for message in conversation["messages"]:
collection.add(
documents=[message["content"]],
metadatas=[{"role": message["role"], "timestamp": message["timestamp"]}],
ids=[message["id"]]
)