Version: v0.5.0
Export your full ChatGPT conversations as clean, readable Markdown or PDF files — including all messages, sender labels, and code blocks.
🎯 Major Update: Added Google Gemini support! Now exports conversations from both ChatGPT and Gemini with the same high-quality accuracy.
- 🆕 NEW: Google Gemini conversation export support
- 📝 Captures all messages with proper sender attribution
- 🔧 Preserves code blocks, formatting, and structure
- 📄 Supports export as Markdown or Printable PDF
- 🚀 Works directly from browser — no install required
- 🛡️ Future-proof against interface changes
- Open a conversation in ChatGPT
- Open DevTools → Console (F12)
- Choose your export format:
- Markdown (.md): Paste contents of exporter-markdown.js
- PDF (via HTML): Paste contents of exporter-pdf.js
- HTML (.html): Paste contents of exporter-html.js
- Hit Enter — file will download with conversation title in filename
This is the safest and most convenient method:
-
Install a userscript manager extension in your browser:
- Tampermonkey (Chrome, Firefox, Safari, etc.)
- Violentmonkey (Chrome, Firefox)
- Greasemonkey (Firefox)
-
Click one of these links to install the userscript:
Directly from GitHub:
From GreasyFork (Recommended):
-
Open ChatGPT and click the "Export as Markdown" or "Export as PDF" button that appears in the sidebar.
- Open your conversation at gemini.google.com
- Open DevTools → Console (F12)
- Paste contents of gemini-exporter-markdown.js
- Hit Enter —
.mdfile downloads automatically
| Markdown Output | PDF View |
|---|---|
![]() |
![]() |
Major Improvements:
- 🎯 Smart File Naming: Exported files now use conversation titles instead of generic names
- 📄 True PDF Support: PDF exporter creates print-optimized HTML that converts perfectly to PDF
- 🔍 Better Message Detection: Improved selectors to prevent duplicate messages
- 🛡️ CSP Compliant: All exporters work within ChatGPT's security restrictions
New Features:
- 🆕 Google Gemini Support: Full conversation export for Gemini
- 🔧 Unified Codebase: Shared logic and improvements across platforms
Enhanced Features (Both Platforms):
- ✅ Modern selector cascade with platform-specific optimizations
- ✅ Platform-specific sender detection and content processing
- ✅ Intelligent duplicate prevention across both platforms
- ✅ Conversation title extraction for better file naming
- ✅ Console logging for transparency and debugging
- v0.5.0 (Current) - Smart file naming, true PDF support, improved duplicate detection
- v0.4.0 - Added Google Gemini support, multi-platform architecture
- v0.3.0 - Major ChatGPT stability fixes, modern selectors, duplicate prevention
- v0.2.0 (Archived) - Original ChatGPT working version


