Export AI Studio conversations to Markdown with intelligent mode detection, toolbar integration, and abortable processing. Features dual-mode extraction and configurable filters.
Export Google AI Studio chats to Markdown: auto-detects Raw/Rendered modes, abortable scrolling, configurable filters (user/AI/thinking). Toolbar-integrated for quick capture and archiving.
https://aistudio.google.com/*The script automates the complete conversation export process:
This entire process is reduced to a single button click in the toolbar.
The script includes runtime-configurable settings accessible via the settings panel:
// Core preferences
let PREFER_RAW_MODE = true; // Auto-switch to Raw Mode for cleaner extraction
let INCLUDE_USER_MESSAGES = true; // Include user prompts in export
let INCLUDE_AI_RESPONSES = true; // Include AI answers in export
let INCLUDE_AI_THINKING = false; // Include AI reasoning/thought process
This script builds upon concepts from two projects:
Userscript: Google AI Studio 聊天记录导出器 (now deleted)
Extension: Gemini to PDF