A Claude Code plugin to export all your ChatGPT conversations to Markdown and JSON files.
Especially useful for ChatGPT Business/Team plans where the built-in export feature is disabled.
- All regular conversations (active and archived)
- All Project conversations
- Full message history with metadata
- Output as human-readable Markdown and machine-readable JSON
- Claude Code installed
- Claude in Chrome extension installed and connected
- Logged into ChatGPT in Chrome
claude plugin install neilwjsimpson/export-chatgptclaude
> /export-chatgpt:export-chatgptClaude will:
- Open ChatGPT in Chrome (or use an existing tab)
- Verify you're logged in
- Discover all conversations including Projects
- Download every conversation's full content (progress shown in tab title)
- Present download buttons for you to click
You'll get two files:
chatgpt_export.md— all conversations as readable Markdownchatgpt_export.json— full raw data with metadata, message trees, timestamps
The plugin uses ChatGPT's internal backend API (/backend-api/conversations) via the Chrome extension's JavaScript execution. It authenticates using the session token from /api/auth/session, which is only accessible from within the browser context.
Key technical details:
- Auth tokens expire after ~1 hour
- Project conversations use a separate endpoint:
/backend-api/gizmos/{project-id}/conversations - Chrome blocks programmatic blob downloads, so the plugin creates visible download buttons
- Large exports (1000+ conversations) take 5-10 minutes; the Chrome extension may disconnect but the script continues running in the page
MIT