Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Save Your AI Chats

Save Your AI Chats by Robert Silven

Export and save your ChatGPT conversations as clean HTML or Markdown with code highlighting and images. Support for other AI chats (ChatGPT, Claude, Gemini, etc.) coming soon

5 (1 review)5 (1 review)
2 Users2 Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Open the extension from the Firefox toolbar. Click the Firefox extensions icon in the toolbar. Find “Save Your AI Chats — Save GPT Chats” and click “Pin to Toolbar” if it’s not visible yet. This makes the extension always accessible while you browse.How it works

1. Open the extension from the Firefox toolbar
2. Save your ChatGPT conversation
3. View your saved conversation

You can open the file at any time in any browser, share it, or archive it safely.Save your ChatGPT conversation. In your ChatGPT window, use the built-in export menu and choose: HTML or 
Markdown. The extension will detect the file and save the chat with its full structure.Your conversation is saved as an HTML file like: 
chat-2025-11-18T07-04-27-264Z.html

The saved file includes: the entire chat text, code blocks with syntax highlighting, embedded images, clean, readable formatting.
About this extension
Save Your AI Chats lets you export your AI conversations as clean HTML or Markdown with proper formatting, code highlighting and embedded images.

Features
  • One-click export of ChatGPT conversations
  • Clean HTML with preserved structure and spacing
  • Markdown output with syntax highlighting
  • Images saved locally and kept in the exported file (as HTML)
  • Works fully offline after the page loads
  • Perfect for documentation, research, archiving or sharing

Current Support
  • ChatGPT

Support for other AI chats like Claude, Gemini and more - is planned for future updates.

Privacy
This extension does not collect, store, or transmit any personal data.
All processing happens locally in your browser.
Developer comments
Changelog

[2.0] - 2025-11-17

Fixed
  • ChatGPT inline uploads: Images added from disk or pasted screenshots are now detected even when rendered as blob URLs or background images, then embedded directly into the exported HTML.
  • Image authorization: Fetching remote attachments now keeps session credentials, allowing files served from OpenAI's authenticated CDN to be saved correctly.

Improved
  • Media extraction: Entire message containers are cloned to ensure any attachment wrapper that lives outside the text bubble is preserved.
  • Background media handling: Elements with CSS background-image definitions are scanned and converted to base64 data URLs so UI-styled attachments (e.g., screenshot previews) survive offline.
  • Reusable media pipeline: A new hydrateCloneWithMedia helper deduplicates inline/base64 conversion logic for both the main and fallback extraction paths, reducing missed attachments.

[1.92] - 2025-11-17

Added
  • Inline save controls: A persistent "Save Chat as: HTML • Markdown" control now appears next to ChatGPT's Share button, allowing in-page downloads without opening the popup.

Changed
  • Unified export pipeline: Popup-triggered downloads and inline controls now reuse the same saveChatContent helper, ensuring consistent filenames, formats, and logging.
  • Visual polish: Lightweight styles mimic radio buttons (HTML selected by default) and show inline success/error states so users always know when a save completes.

[0.6] - 2025-01-13

Fixed
  • ChatGPT message extraction: Completely rewritten extraction algorithm to capture ALL messages by directly querying all elements with data-message-author-role attribute
  • Message loss: Fixed critical issue where messages were being lost by using direct DOM queries instead of relying on turn containers
  • User message formatting: User questions now maintain their original formatting from ChatGPT interface
  • Code syntax highlighting: Restored dark theme (github) for code blocks as it provides better syntax highlighting visibility
  • Message ordering: Improved message sorting by using actual DOM position instead of calculated positions
  • Image handling: Fixed issue where messages with image attachments were being skipped or causing extraction to fail
  • Image preservation: Images are now properly inlined as base64 data URLs in HTML files, ensuring they work offline
  • Message order with images: Fixed bug where presence of images would break message ordering - now images are processed without disrupting the extraction flow

Changed
  • Code block styling: Restored dark theme (#1e1e1e background) for code blocks with proper syntax highlighting
  • Code text colors: Restored light text color (#d4d4d4) on dark background for better code readability
  • Image processing: Images are now processed for both user
Rated 5 by 1 reviewer
Log in to rate this extension
There are no ratings yet

Star rating saved

5
1
4
0
3
0
2
0
1
0
Read 1 review
Permissions and data

Required permissions:

  • Download files and read and modify the browser’s download history
  • Access browser tabs
  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
2.0
Size
32.89 KB
Last updated
6 days ago (Nov 18, 2025)
Related Categories
  • Web Development
  • Download Management
  • Social & Communication
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Tags
  • chat
  • download
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.