Export chat history from ChatGPT, Gemini, DeepSeek, Qwen, Kimi, Doubao, Dola, Grok, Google AI Studio, Microsoft Copilot, M365 Copilot, Tencent Yuanbao, Tencent Hunyuan, MiniMax, Mistral, Sakana AI, Qianwen, Arena AI, Tencent IMA, Z.ai, ChatGLM, DuckDuckGo AI Chat, Perplexity
简体中文 | English
AfterChat is a free, open-source AI chat history exporter — a userscript that backs up your LLM conversations with one click.
Export chats from ChatGPT, Gemini, DeepSeek, GLM (Z.ai / ChatGLM) and 23 major AI platforms to Markdown, preserving reasoning / thinking and citation sources, for personal archive, migration and offline reading.
After installing the AfterChat client, you can also save the current conversation to your AfterChat workspace with one click.
| Platform | Site |
|---|---|
| ChatGPT | chatgpt.com |
| Google Gemini | gemini.google.com |
| Google AI Studio | aistudio.google.com |
| M365 Copilot | m365.cloud.microsoft |
| Microsoft Copilot | copilot.microsoft.com |
| Grok (xAI) | x.com/i/grok |
| DeepSeek | chat.deepseek.com |
| Qwen | chat.qwen.ai |
| Kimi | kimi.com |
| Qianwen | qianwen.com |
| Tencent Yuanbao | yuanbao.tencent.com |
| Tencent Hunyuan | aistudio.tencent.com / aistudio.tencent.ai |
| MiniMax | agent.minimax.io / agent.minimaxi.com |
| Mistral Le Chat | chat.mistral.ai |
| Sakana AI | chat.sakana.ai |
| Doubao | doubao.com |
| Dola | dola.com |
| Arena AI | arena.ai |
| Tencent IMA | ima.qq.com |
| Z.ai | chat.z.ai |
| ChatGLM | chatglm.cn |
| DuckDuckGo AI Chat | duck.ai |
| Perplexity | perplexity.ai |
After installing Violentmonkey (Chrome / Firefox) or Tampermonkey (Chrome / Firefox), click the link below and confirm in the popup:
Install AfterChat — LLM Chat Exporter
The script shows a circular download button in the bottom-right corner of the page:
| Action | Where | Result |
|---|---|---|
| Left-click | Detail page | Export the current conversation (Markdown) |
| Left-click | Default/list page | Incremental export: ZIP with only new/updated conversations (skips already-exported ones) |
| Shift + left-click | Default/list page | Force full export: ZIP with all conversations, ignoring the incremental anchor |
| Right-click | Detail page | Save the current conversation to the AfterChat workspace |
@grant none and sends no data to any third party; exported files are only saved locally.Licensed under the GNU Affero General Public License v3.0.