AI Chat Archive is a Chrome extension that exports ChatGPT conversations to Markdown. It can create readable Q/A notes, full transcripts, organized folders, and best-effort attachment exports.
This README is the developer quick-start and the top-level documentation index. Full documentation lives in docs/.
-
Clone or download this repository.
-
Open Chrome.
-
Go to
chrome://extensions/. -
Turn on
Developer mode. -
Click
Load unpacked. -
Select this project folder:
chrome-extention -
Confirm that
AI Chat Archiveappears in the extension list. -
Open a supported ChatGPT page:
https://chatgpt.com/* https://chat.openai.com/* -
Click the extension icon and run an export.
No build step is required. The extension is loaded directly from manifest.json, popup.html, popup.js, content.js, and assets/icons/.
When you edit extension files:
- Go back to
chrome://extensions/. - Find
AI Chat Archive. - Click the reload icon.
- Refresh the ChatGPT tab.
- Test the popup again.
Reloading the extension updates the popup. Refreshing the ChatGPT tab ensures the content script is current.
- Export current ChatGPT conversation as readable Markdown notes.
- Export full User/Assistant transcript as Markdown.
- Preserve code blocks with safe Markdown fences.
- Save to Chrome Downloads or a user-selected advanced folder.
- Organize exports by project, standalone chat, chat-title folder, or flat folder.
- Save accessible attachments and write an
attachments.jsonmanifest. - Store popup preferences in Chrome local storage.
- Docs home
- Developer Chrome guide
- Detailed requirements
- Detailed feature documentation
- Non-technical user guide
- Extension architecture
- Troubleshooting
- GitHub setup and metadata
manifest.json Chrome Manifest V3 configuration
popup.html Extension popup UI and styles
popup.js Popup state, export flow, downloads, and folder writes
content.js ChatGPT page inspection, Markdown conversion, attachments
assets/icons/ Extension icons and editable SVG source
assets/social/ GitHub social preview image source and PNG
docs/ Product, developer, user, and support documentation
The current implementation supports ChatGPT pages on chatgpt.com and chat.openai.com. The naming and folder model are designed so future AI chat platforms can be added later, but those platforms are not implemented yet.
- Project detection depends on ChatGPT page structure and can break when the site changes.
- The extension exports visible conversation content from the browser page.
- Some uploaded files are visible only as metadata and do not expose downloadable URLs.
- Advanced folder mode depends on browser support for the File System Access API.
Released under the MIT License.
Copyright (c) 2026 Vikram.