Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AfterChat — LLM Chat Exporter

Install on Greasy Fork License: AGPL-3.0

English | 简体中文

AfterChat is a free, open-source AI chat exporter / conversation backup tool.

Export chats from ChatGPT, Claude, Gemini, DeepSeek, GLM, Qwen and 28 major AI platforms to Markdown files with one click, fully preserving reasoning / thinking and citation sources for personal backup, 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
Claude claude.ai
Google Gemini gemini.google.com
Google AI Mode google.com/ai
Grok (X) x.com/i/grok
Grok grok.com
DeepSeek chat.deepseek.com
Microsoft Copilot copilot.microsoft.com
M365 Copilot copilot.cloud.microsoft
Perplexity perplexity.ai
Kimi kimi.com
Doubao doubao.com
ChatGLM chatglm.cn
Z.ai (GLM) chat.z.ai
Qwen chat.qwen.ai
Qianwen qianwen.com
Poe poe.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
Monica monica.im
Google AI Studio aistudio.google.com
DuckDuckGo AI Chat duck.ai
Tencent IMA ima.qq.com
Sakana AI chat.sakana.ai
Arena AI arena.ai
Dola dola.com

Installation

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

Install AfterChat — LLM Chat Exporter

Features

  • Multi-platform support: works with 28 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.

Usage

The script shows a circular download button in the bottom-right corner of the page:

Scenario Action Result
Conversation page Left-click Export the current conversation
Conversation page Right-click Save the current conversation to the AfterChat workspace
Default page Left-click Incremental export: pack only new conversations, skipping already-exported ones
Default page Shift + left-click Force full export, re-download all conversations

Privacy & Security

Your privacy matters. The script does not collect any information from you.

The script runs with @grant none, sends no data to any third party, and exported files are only stored locally.

About

  • This script pulls data through each platform's front-end same-origin API. These are unofficial interfaces and may stop working when platforms update, so please keep it updated.
  • If a platform breaks, please report it on Greasy Fork or open a GitHub issue.
  • Pull requests are welcome! If you find this useful, please star the repo.
  • Please follow each platform's terms of service. Exported content is intended for personal backup and learning only.

License

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

About

Exports chat history from major LLM platforms to Markdown files.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages