Gemini Chat Markdown Exporter (Thoughts Included)

Export the current Gemini chat to Markdown via internal batchexecute RPC (with Thoughts content when present).

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
NoahTheGinger
日安装量
0
总安装量
26
评分
2 0 0
版本
0.4.2
创建于
2025-09-16
更新于
2025-10-08
大小
19.0 KB
许可证
MIT
适用于

Gemini Chat Markdown Exporter

Export your Google Gemini conversations to clean, readable Markdown files with a single click.

Features

  • One-click export - Adds an "Export" button to the Gemini interface
  • Preserves conversation structure - Exports User prompts, Assistant responses, and Gemini 2.5 Pro's "Thoughts" (reasoning steps)
  • Clean Markdown formatting - Well-structured output with proper headers and dividers
  • Proper conversation titles - Uses the conversation title for the filename and document header

Screenshot

Gemini Chat Export Example

Left: Original Gemini chat | Right: Exported Markdown rendered

How to Use

  1. Install the userscript via GreasyFork
  2. Navigate to any Gemini conversation at https://gemini.google.com/app/[chatId]
  3. Click the blue "Export" button in the bottom-right corner
  4. Your conversation downloads as a .md file with timestamp

Output Format

The script exports conversations with:

  • Conversation title as the main header
  • User messages, Thoughts (when present), and Assistant responses clearly labeled
  • Section dividers for improved readability
  • Filename format: [Conversation_Title]_YYYY-MM-DDTHH-MM-SS.md

Compatibility

Works with both Gemini 2.5 Flash and Gemini 2.5 Pro models. Thoughts/reasoning steps are only included when actually present (typically with 2.5 Pro).

Technical Notes

The script uses Gemini's internal batchexecute RPC to fetch conversation data directly, ensuring complete and accurate exports.