A lightweight, open-source tool to export chats to Markdown & PDF from your browser: clean Markdown, print-ready PDF, proper code blocks — and Gemini support.
Works on ChatGPT; Gemini Markdown supported.
Works entirely client-side in your browser. No Chrome Web Store installation required.
Userscripts have a smaller permission footprint than full extensions. Your data stays private.
Produces cleaner Markdown and stable PDF exports with properly preserved code blocks.
MIT licensed. Review the code, contribute, or modify it for your needs.
Compare with popular extensions to see the full differences.
The file downloads automatically with smart naming based on your conversation.
Perfect for one-time exports. See the full documentation for the console snippet.
| Format | File Type | Best For | Features |
|---|---|---|---|
| Markdown | .md | Note-taking apps, version control | Clean formatting, code blocks preserved, Obsidian-ready |
| Sharing, archiving, printing | Print-optimized, maintains layout, professional appearance | ||
| HTML | .html | Web publishing, custom styling | Self-contained, customizable CSS, embeddable |
| Gemini | .md | Google Gemini conversations | Markdown export for Gemini chats (v0.4+) |
Your conversations never leave your browser. ChatGPT Exporter runs entirely client-side with no external servers or data collection.
OpenAI offers an account-level data export, but it's designed for different use cases:
| Feature | ChatGPT Exporter | OpenAI Account Export |
|---|---|---|
| Export Type | Individual conversations | All data at once |
| Format | Markdown, PDF, HTML | JSON in ZIP file |
| Speed | Instant download | Email delivery (can take time) |
| Use Case | Share, publish, reference specific chats | Archive, account transfer, compliance |
Learn more: How to export all your ChatGPT data
Created by Rashid Azarang
GitHub Repository • Markdown Script • PDF Script • Release Notes
Version 0.5.0 • MIT License • Last updated: January 2025