🚀 AI对话导出工具 (AI Chat Exporter)
轻松将AI对话导出为标准Markdown格式
支持 ChatGPT, Grok 和 Gemini 平台

✨ 功能特点
- 🔄 多平台支持:同时支持 ChatGPT, Grok 和 Gemini 三大AI平台
- 📝 完整内容保留:精确导出所有对话内容,包括代码块、数学公式、链接和格式化文本
- 🎨 标准Markdown格式:输出符合标准的Markdown格式,确保最佳兼容性
- 💾 双重导出选项:支持直接下载.md文件或复制到剪贴板
- 🖼️ Typora完美兼容:特别优化以确保在Typora等Markdown编辑器中正确显示
- 🔘 界面控制:可以通过弹窗开关控制页面上导出按钮的显示
- 🛠️ 对应Google插件:提供Chrome插件版本,方便在Google平台上使用,插件市场搜索 ChatGPT to MarkDown plus
🛠️ 安装步骤
步骤 1: 下载代码库
克隆或下载本仓库到本地电脑。
步骤 2: 加载插件

- 打开Chrome浏览器,进入扩展程序页面(chrome://extensions/)
- 开启右上角的"开发者模式"
- 点击"加载已解压的扩展程序"
- 选择下载的仓库文件夹,点击确认
步骤 3: 使用插件

当您打开支持的AI平台网站时(ChatGPT, Grok或Gemini),您将在页面上看到绿色的"Export Chat"按钮。
使用方法:
- 浏览您想要导出的对话
- 点击绿色的"Export Chat"按钮直接下载Markdown文件
- 或者点击插件图标,选择"Copy to Clipboard"将内容复制到剪贴板
📋 导出效果
导出的.md文件可以完美在Typora等Markdown编辑器中打开:


🌐 支持的平台
| 平台 |
状态 |
支持的功能 |
| ChatGPT |
✅ 完全支持 |
代码块、数学公式、链接、列表、表格等 |
| Grok |
✅ 完全支持 |
代码块、数学公式、链接、格式化文本等 |
| Gemini |
✅ 支持 |
代码块、链接、列表、表格等 |
📜 许可证
本项目采用MIT许可证。详情请参阅LICENSE文件。
🚀 AI Chat Exporter
Easily Export AI Conversations to Standard Markdown Format
Support for ChatGPT, Grok, and Gemini platforms

✨ Features
- 🔄 Multi-platform Support: Works with ChatGPT, Grok, and Gemini
- 📝 Complete Content Preservation: Accurately exports all conversation content, including code blocks, mathematical formulas, links, and formatted text
- 🎨 Standard Markdown Format: Outputs compliant Markdown format for optimal compatibility
- 💾 Dual Export Options: Download .md files directly or copy to clipboard
- 🖼️ Typora Compatibility: Specially optimized for correct display in Typora and other Markdown editors
- 🔘 Interface Control: Toggle the export button visibility through popup settings
🛠️ Installation
Step 1: Download Repository
Clone or download this repository to your local computer.
Step 2: Load Extension

- Open Chrome browser and go to the extensions page (chrome://extensions/)
- Enable "Developer mode" in the top right corner
- Click "Load unpacked"
- Select the downloaded repository folder and confirm
Step 3: Use Extension

When you open a supported AI platform (ChatGPT, Grok, or Gemini), you'll see the green "Export Chat" button on the page.
Usage:
- Browse the conversation you want to export
- Click the green "Export Chat" button to download the Markdown file directly
- Or click the extension icon and choose "Copy to Clipboard" to copy the content
📋 Export Results
The exported .md files can be perfectly opened in Markdown editors like Typora:


🌐 Supported Platforms
| Platform |
Status |
Supported Features |
| ChatGPT |
✅ Full Support |
Code blocks, math formulas, links, lists, tables, etc. |
| Grok |
✅ Full Support |
Code blocks, math formulas, links, formatted text, etc. |
| Gemini |
✅ Supported |
Code blocks, links, lists, tables, etc. |
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.