Gemini Chat Markdown Exporter (Thoughts Included)

Export the current Gemini chat (/app/:chatId) to Markdown via internal batchexecute RPC, ordered oldest→newest, with Thoughts content only when present (Gemini 2.5 Pro).

作者
NoahTheGinger
今日安裝
0
安裝總數
0
評價
0 0 0
版本
0.3.2
建立日期
2025-09-16
更新日期
2025-09-16
尺寸
17.9 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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址