Souvenance GitHub

Export your ChatGPT history and keep it

Years of conversations with ChatGPT contain your projects, doubts and decisions. Exporting them takes two minutes. Making them useful afterwards is the part nobody explains.

Request the export

In ChatGPT, go to Settings → Data controls → Export data and confirm. OpenAI sends an email with a download link, usually within minutes, sometimes much longer for large accounts. The link expires after about a day, so download it promptly. Menu labels move from time to time; if you do not find them, search OpenAI's help center for "export data".

What is in the zip

FileWhat it holds
conversations.jsonEvery conversation, message by message, with timestamps. This is the file that matters.
chat.htmlThe same history as a single page you can open in a browser.
other filesAccount details, feedback you gave, uploaded files depending on your usage.

What is missing

The export returns your conversations. The profile ChatGPT built about you — saved memories and what it inferred — does not travel in a reusable form. Copy the list by hand from Settings → Personalization → Manage memories. Read it while you are there: most people find statements they never explicitly made.

From archive to memory

A ZIP in a downloads folder is not memory; nobody opens a 200 MB JSON file. Souvenance imports the official export with one command:

scripts/import_history.py conversations.json --dry-run to preview, then the same command without --dry-run to import.

Each conversation becomes an event, deduplicated by hash so you can re-run it safely, and filtered by your own exclusion rules — for example, everything about your employer stays out. The nightly consolidation then extracts what matters. The next morning, you can ask any MCP-capable assistant what you were working on two years ago. The same script reads Claude's official export.

Do it even if you import nothing

Export once a quarter and keep the ZIPs. Accounts get closed, policies change, products are retired. The raw export is the only copy of that part of your thinking that you hold.

Questions

How long does a ChatGPT export take?

Usually a few minutes. Large accounts can take much longer. The download link in the email expires after about 24 hours.

Does the export include ChatGPT's memories about me?

Not in a reusable form. Copy them by hand from Settings, Personalization, Manage memories.

Can I import my ChatGPT history into Claude?

Claude can import a list of memories, not your full conversation history. To make the full history searchable by Claude, import it into a memory server you host and connect that server to Claude over MCP.

Is it safe to import everything?

Souvenance filters each conversation through exclusion rules you write yourself before anything is stored, and keeps everything on your own server. Nothing is sent to a third-party service by the import.

Run the engineArchitecture, local install, MCP connection. Read the sourceOpen source, Apache-2.0.

Related: give Claude a long-term memory · vs ChatGPT memory · own your AI memory