您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Export your ChatGPT, Claude, Copilot or Gemini chat into a properly and elegantly formatted Markdown or JSON.
ChatGPT-Claude-Copilot-Gemini AI Chat Exporter is a Tampermonkey user script that allows you to export your conversations from ChatGPT, Claude, Copilot, and Google Gemini with rich Markdown formatting, a Table of Contents (TOC), YAML metadata, and more.
This version focuses on enhancing cross-platform compatibility and providing a more consistent user experience.
This version introduces support for the Claude platform and includes several refinements.
turndownService
rule has been implemented to correctly handle and format Claude's unique code block structure, ensuring the language label is properly included in the Markdown output.This version introduces significant enhancements focused on customization, output quality, and UI polish.
{platform}
: The platform name (e.g., chatgpt
or gemini
).{title}
: The cleaned chat title.{timestamp}
: The ISO 8601 timestamp (UTC).{timestampLocal}
: The local timestamp with timezone offset.{tags}
: A hyphen-separated list of all tags found in the title.{tag1}
through {tag9}
: Individual tags for more granular control.
#project-name
) from chat titles and cleans the title, while intelligently ignoring numeric tags (e.g., #250731
) that are often used as dates. For example, you can name your chat as #project #250731 #teamA Review of AI technologies
. This will produce a title Review of AI technologies
and tags [project, teamA]
..md
or .json
file.Floating Chat Outline with Selective Export: A new, collapsible floating panel that provides an outline of all questions and responses in the conversation. This allows for:
Turndown Integration: Safely converts HTML content into Markdown using a customized Turndown service.
Local Time Formatting: Includes the exact local time when the conversation was exported.
- [Chrome](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo)
- [Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey)
- [Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd)
Create a new script in Tampermonkey and paste the code from this repository, or click below to install directly:
Navigate to any ChatGPT, Claude, Copilot, or Google Gemini conversation page.
A floating "⬇ Export MD" and "⬇ JSON" button will appear at the bottom right of the page.
Click the desired button to download your conversation.
The Markdown export includes:
---
title: Chat with ChatGPT
tags: [testchat, docs]
author: chatgpt
count: 3
exporter: 2.5.0
date: 2025-07-31T17-47-00+0800
url: https://chatgpt.com/c/...
---
# Chat with ChatGPT
## Table of Contents
- [1: How does GPT-4 work?](#chat-1)
- [2: Can GPT-4 answer any question?](#chat-2)
- [3: what's your chatgpt version](#chat-3)
### chat-1
> How does GPT-4 work?
###### AI said:
GPT-4 works by using a transformer-based architecture that processes and generates text based on large datasets.
### chat-2
> Can GPT-4 answer any question?
###### AI said:
GPT-4 can answer a variety of questions, though it may not always provide perfect responses.
### chat-3
> what's your chatgpt version
###### AI said:
You're currently chatting with **AI using GPT-4o**, which is the latest and most advanced model as of June 2025.
...
MIT License. See LICENSE for more information.
This was created with the assistance of chatgpt and google gemini.
For issues or suggestions, please create an issue or submit a pull request on GitHub.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址