> ## Documentation Index
> Fetch the complete documentation index at: https://help.memoryplugin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I export all my chats?

> Download your whole chat history as one ZIP of Markdown and JSON files

![Alara](https://help.memoryplugin.com/images/author-alara.jpg)

Written by Alara

Last updated

Click **Export all chats** at the top of [Chat History](https://memoryplugin.com/dashboard/chat-history). We build one ZIP of every chat you've imported or synced and email you a link to download it. Each chat comes as a Markdown file and a JSON file.

## Steps

**1. Start the export**

In Chat History, click **Export all chats** in the header, next to **Import chats**. The button is there on every Chat History tab.

**2. Watch for the email**

A message confirms we're preparing your export and names the address we'll send it to. The email arrives with the subject **Your chat export is ready** and tells you how many chats it holds and how big the file is. A large history can take up to a couple of hours.

**3. Download within 3 hours**

Click **Download your chats** in the email and sign in to the same MemoryPlugin account if asked. The file saves as `memoryplugin-chats-YYYY-MM-DD.zip`.

> [!WARNING]
>
> The download link works for 3 hours, and only for the account that started the export. After that the file is deleted, and you can start a new export from Chat History.

## What's in the ZIP

The ZIP has two folders, `markdown` and `json`. Inside each is one folder per source, such as `ChatGPT`, `Claude`, or `Claude Code`, with one file per chat named after the chat's title. Each file is dated by the chat's last message.

* **Markdown** is for reading. Each file starts with the title, the source, and when the chat started and ended, then lists every message under **You** or the AI's name, with its time.
* **JSON** is for tools and scripts. Each file has `title`, `source`, `started_at`, `last_message_at`, `exported_at`, and a `messages` list where every message has a `role`, `content`, and `timestamp`.

### What isn't included

* Chats you've excluded from your history, and empty chats
* Images and attachments from your chats. The export holds the text of each message.
* Your memories, uploaded files, and [Ask](https://help.memoryplugin.com/features/ask.md) conversations. Export those separately: see [Export memories](https://help.memoryplugin.com/questions/export-my-memories.md) and [Export an Ask conversation](https://help.memoryplugin.com/questions/export-an-ask-conversation.md).

## Good to know

* **Clicking twice won't start a second export.** If you click again within 10 minutes, you get the export already on its way, and one email.
* **Very large histories.** If you have more than 32,000 chats, or the archive would be larger than about 3.5 GB, it can't be built as one file. Contact support and we'll send it to you another way.
* **If the export fails**, we usually email you to say it didn't finish. If nothing arrives within a few hours, start it again or contact support.
* **One chat at a time.** Open a chat and use its **⋮** menu: **Export as Markdown** or **Export as JSON** downloads it straight away.
* Export all chats is part of Chat History, which comes with every paid plan.

## Related

> [card] [Chat History Dashboard](https://help.memoryplugin.com/features/chat-history/dashboard.md)
>
> Browse, search, and manage your chats

> [card] [Delete all my data](https://help.memoryplugin.com/questions/delete-all-my-data.md)
>
> Wipe everything and start fresh


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.