Have you ever had an amazing conversation with ChatGPT that you wished you could save and share—or just store for later reference? Maybe it was a debugging session, a writing draft, or a list of creative ideas that you didn’t want to lose in the infinite scroll.
That’s exactly why I built ChatGPT Exporter — a lightweight Chrome extension that lets you export your current ChatGPT chat as a clean, formatted Markdown (.md) file with just one click.
While ChatGPT is incredibly useful, it doesn’t offer a native way to export your chats in a portable, readable format. You can copy and paste, sure—but that strips out code formatting, roles like "User" and "Assistant", and can be messy when dealing with long prompts or responses.
I often found myself wanting to:
Save chats for future reference
Share solutions with others
Archive useful code snippets
Keep learning records in Markdown notes
Instead of copying and cleaning every time, I made ChatGPT Exporter to solve this once and for all.
The extension adds a simple popup to your Chrome toolbar:
✅ One-click export of your current conversation
✅ Outputs a clean .md file
✅ Preserves roles (### User, ### ChatGPT)
✅ Keeps code blocks intact (```language)
✅ Works instantly without login or setup
It even follows your system’s light or dark theme in the popup UI.
You can download the code from GitHub and install it manually:
Clone or download this repo:
git clone https://github.com/yang-shuohao/chatgpt-export.git
Go to Chrome and open:chrome://extensions/
Turn on Developer mode
Click “Load unpacked” and select the downloaded folder
Pin the extension icon to your toolbar for quick access
Go to https://chat.openai.com and open any conversation.
Click the ChatGPT Exporter icon in your browser toolbar.
Click “Export as Markdown” in the popup.
That’s it! You’ll get a neatly formatted .md file downloaded immediately.
🔹 Simple and fast
🔹 No sign-in or API needed
🔹 Clean Markdown with role separation
🔹 Code blocks preserved
🔹 Works only on chat.openai.com
🔹 Red GitHub button for quick access to the source
This is just the beginning. I plan to:
Add custom file names based on chat title or date
Enable export of saved past conversations
Provide a “Copy to Clipboard” feature
Support themes and more file formats (optional)
ChatGPT Exporter is 100% open-source and MIT licensed.
GitHub: https://github.com/yang-shuohao/chatgpt-export
Feel free to contribute, suggest features, or open issues if you have feedback!
ChatGPT is amazing—but sometimes you just want to keep the conversation going offline. With this extension, now you can.
If you find it useful, give it a ⭐️ on GitHub and share it with friends who use ChatGPT daily.
Thanks for reading—and happy exporting!