rashidazarang/chatgpt-chat-exporter
A lightweight browser-based tool to export your ChatGPT conversations in beautiful Markdown or PDF format.
What it solves
Users often want to save their AI conversations for offline access, archiving, or sharing in a more readable format than a screenshot. This project provides a way to export ChatGPT and Google Gemini conversations into clean, formatted files without requiring a server, account, or installation.
How it works
The tool operates as a client-side script that runs directly in the browser. It can be used as a userscript (via managers like Tampermonkey), a bookmarklet, or by pasting code directly into the browser's developer console. It extracts conversation data—including text, code blocks, tables, and math equations—and converts it into the user's chosen format.
For ChatGPT, it can read the conversation's internal record to avoid the need for manual scrolling through long histories. For Gemini, it performs a faithful read of the page content.
Who it’s for
Anyone who uses ChatGPT or Google Gemini and needs to archive their chat histories in Markdown, HTML, or PDF formats while maintaining the original formatting and structure.
Highlights
- Multiple Export Formats: Supports Markdown, HTML, and print-ready PDF.
- High Fidelity: Preserves code blocks, tables, MathJax/KaTeX equations, and original line breaks.
- Media Handling: Captures images and downloads them as a ZIP (for Markdown) or embeds them (for HTML/PDF).
- Comprehensive Capture: Auto-scrolls through lazy-loaded conversations to ensure all messages are captured.
- ** webinars Privacy-First**: Runs locally in the browser; exports do not embed private conversation URLs.
- Broad Compatibility: Works across Chromium, Firefox, and WebKit browsers.
Related
- Project
- Project
- Project
- Project
- Dispatch