AfterChat — LLM Chat Exporter

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
plasma-green
Усталяванняў за дзень
8
Усяго ўсталяванняў
216
Рэйтынг
0 0 0
Версія
1.11.3
Створаны
02.08.2026
Абноўлены
23.08.2026
Памер
279.7 КБ
Ліцэнзія
AGPL-3.0
Ужываецца на

AfterChat — LLM Chat Exporter

简体中文 | 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.

🖥️ Supported Platforms

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

✨ Features

  • Multi-platform support: works with 23 major LLM platforms.
  • Single or batch export: exports the current conversation or all conversations at once.
  • Incremental export: on the list page, batch export skips conversations you've already downloaded (by update-time anchor) and only fetches new/updated ones — dramatically faster on repeat runs.
  • Content fidelity: exports include user messages, AI replies, reasoning / thinking, and citation sources.
  • One-click save to AfterChat: on a conversation detail page, right-click the button to save the current conversation directly to your AfterChat workspace.

📦 Installation

After installing Violentmonkey (Chrome / Firefox) or Tampermonkey (Chrome / Firefox), click the link below and confirm in the popup:

Install AfterChat — LLM Chat Exporter

🚀 Usage

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

⚠️ Disclaimer

  • This script pulls data through each platform's front-end same-origin API. These are unofficial interfaces and may stop working when platforms update.
  • Please follow each platform's terms of service. Exported content is intended for personal backup and learning only.
  • The script uses @grant none and sends no data to any third party; exported files are only saved locally.

📄 License

Licensed under the GNU Affero General Public License v3.0.