Convert your ChatGPT ZIP export into organized Markdown files, ready to use as context in Claude Projects.
When you export your data from ChatGPT, you get a ZIP file with a messy conversations.json inside. This tool parses that file and generates one clean Markdown file per conversation, organized into monthly folders — so you can upload them to a Claude Project and use your full history as context.
claude_export/
├── INDEX.md ← full index of all conversations
├── 2026-01/
│ ├── 001_My_first_topic.md
│ └── 002_Another_chat.md
├── 2026-02/
│ └── ...
Each .md file contains the full conversation with roles, timestamps, and all messages.
- Python 3.8 or higher
- No external libraries needed — standard library only
- Export your ChatGPT data from Settings → Data controls → Export data
- Download the ZIP file ChatGPT sends you by email
- Place
chatgpt_to_claude.pyin the same folder as the ZIP - Run:
python chatgpt_to_claude.py your_export.zipYou can also pass the conversations.json directly:
python chatgpt_to_claude.py conversations.jsonOr if both files are in the same folder, just run:
python chatgpt_to_claude.pyIf you prefer not to use the terminal, open the notebook directly in your browser:
👉 Open in Google Colab ← replace with your Colab link
- Upload your ChatGPT ZIP file when prompted
- Click Run all
- Download the generated
claude_exportfolder
- Go to claude.ai and create a new Project
- Open the project and go to the files section
- Upload the
.mdfiles from yourclaude_exportfolder — you can select multiple at once
Tip: If you have a large history, don't upload everything into one project. Organize by topic instead: one project for work, one for coding, one for personal research. Use
INDEX.mdto decide what goes where.
Made by Santi Moreno — a Spanish-language channel about AI tools, news, and tutorials.
If this was useful, consider subscribing to @iaconsanti