This documentation covers the userscript installation flow, console snippet, Gemini support, troubleshooting, and release history for ChatGPT Exporter.
For an overview or feature comparison, read the landing page. For step-by-step tutorials, visit the Markdown or PDF guides.
Updates arrive automatically; your manager will prompt you before applying new versions.
For restricted environments or quick one-off exports, run the exporter from the browser console without installing anything.
await import("https://cdn.jsdelivr.net/gh/rashidazarang/chatgpt-chat-exporter@main/exporter-markdown.js");
window.chatGPTChatExporter.exportCurrentChat();
Open Developer Tools (F12), switch to the Console tab, paste the snippet, and press Enter. A .md file downloads instantly.
await import("https://cdn.jsdelivr.net/gh/rashidazarang/chatgpt-chat-exporter@main/exporter-pdf.js");
window.chatGPTChatExporter.exportCurrentChat({ format: "pdf" });
Make sure popups are allowed so the browser can open the print dialog.
Version 0.4+ includes Gemini selectors. The userscript automatically detects gemini.google.com. Approve the additional domain the first time you export.
-gemini.md.Ensure the script is enabled and refresh the tab. In Tampermonkey, the icon should be green on ChatGPT/Gemini domains.
Expand all messages before exporting. Collapsed responses are skipped because the DOM isn’t loaded.
Images are referenced as inline placeholders. Download originals via the chat viewer if you need binaries.
Fork the repo, edit the HTML template in exporter-html.js, and build locally. Contributions welcome.