rashidazarang/chatgpt-chat-exporter
A lightweight browser-based tool to export your ChatGPT conversations in beautiful Markdown or PDF format.
What it solves
This tool solves the problem of saving ChatGPT and Google Gemini conversations in a clean, readable, and permanent format. It allows you to export entire chat histories—including long, lazily-loaded threads—into Markdown, HTML, or print-ready PDF files without needing to copy-paste manually or rely on external servers.
How it works
It runs entirely within your browser as a userscript, bookmarklet, or console script. It captures the conversation directly from the page, preserving formatting like code blocks, tables, math equations, and images. For ChatGPT, it can also pull data directly from the conversation's internal record to ensure complete captures, even for very long threads that would otherwise be hidden by the browser's scroll-loading.
Who it’s for
It is for users who want to archive their AI interactions for offline reference, documentation, or printing. It is particularly useful for power users who need to preserve complex formatting, citations, and images that standard copy-paste methods often break.
Highlights
- Exports to Markdown, HTML, and print-ready PDF.
- Automatically handles long conversations by scrolling through virtualized content.
- Preserves code blocks, tables, MathJax/KaTeX equations, and web-search citations.
- Keeps images intact, downloading them as a ZIP folder for Markdown exports.
- Works locally in your browser with no account or server-side processing required.
- Supports both ChatGPT and Google Gemini.
Related
- Project
- Project
- Project
- Project
- Project