Download Chat History from Claude
Built-In Account Export
- Plan availability: Available to individual Free, Pro, Max, and Ultra accounts. On Team or Enterprise plans, an Owner or Primary Owner must enable member exports first. [1]
- What is included: Conversation data, account user data, voice recordings shared with Anthropic, and saved monthly recaps (with exceptions). Original uploaded files and saved Personal Finance dashboard data are excluded. [1]
Download Chat History from Cursor
Cursor saves workspace and global state data locally under your user profile: [1]
- macOS:
~/Library/Application Support/Cursor/User
- Linux:
~/.config/Cursor/User
- Windows:
%APPDATA%\Cursor\User[1]
Inside this directory, conversations are split across
globalStorage/ and workspaceStorage/ SQLite databases. [1]Download Chat History from Codex
How you export chat history from Codex depends on whether you are using the Codex CLI, local session files, or ChatGPT account data exports. [1, 2, 3]
1. Local Codex CLI Session Files (.jsonl)
- Copy or parse directly: Copy the
.jsonlfile directly, or process it with a CLI tool likejqto extract specific messages or tool outputs.
- CLI export / community tools: A user on the OpenAI Developer Community noted that
/exportcan be used in the Codex CLI and pointed to the local.jsonlsession path. You can also use third-party utilities such as codex-session-export or Cooontext to convert local session logs into Markdown or shareable formats. [1, 2, 3, 4]
2. Full ChatGPT Account Data Export
If you use Codex through ChatGPT and want an account-level archive: [1]
- Sign in to ChatGPT and open Settings > Data controls.
- Select Export under Export data, then confirm.
- Wait for the email or SMS notification (exports can take up to 7 days), then download the ZIP archive within 24 hours.
- Extract the ZIP file and open
index.htmlin your browser to browse your exported data locally, including Codex data when present in the archive. [1]
Download Chat History from Antigravity
You can download and export Antigravity chat history using built-in interface options or third-party tools that export conversations to Markdown and JSON. [1, 2, 3]
Built-In & CLI Options
- Chat Panel Export: Open a chat session in the Google Antigravity IDE and click the Export icon in the top-right corner of the chat panel to save the conversation. [1]
- View & Resume Conversations: You can view previous sessions via the clock or arrow icon at the top of the chat interface, or manage/resume sessions through the Antigravity CLI (
agy -cfor the most recent chat oragy --conversation <id>for a specific session). A single user on Reddit r/google_antigravity noted accessing past chats through this top icon, while also mentioning issues where the button is greyed out or older chats do not show up. [1, 2, 3]
Tools to Export & Recover Chat History
- Antigravity History: An IDE extension (for VS Code
^1.85.0) that lets you browse, search, and do one-click exports to Markdown or JSON, plus recover unindexed conversations locally. [1]
- antigravity-history: A Python CLI and library (
aghistory) that exports conversations (including thinking chains, code diffs, and command outputs) to Markdown or JSON and scans.pbfiles to recover lost chats. [1]
- Antigravity IDE – History & Chat Migrator: A batch script (
Antigravity-Migrator.bat) designed to restore missing chat history in the Antigravity IDE without overwriting newer data. [1]