Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Extractor

Extract clean chat conversations from ChatGPT, Claude, and Gemini. Copy to clipboard or download as Markdown or plain text.

Supported Platforms

  • ChatGPT (chatgpt.com, chat.openai.com)
  • Claude (claude.ai)
  • Google Gemini (gemini.google.com)

Installation

  1. Download or clone this repository
  2. Open chrome://extensions (or brave://extensions)
  3. Enable Developer mode
  4. Click Load unpacked and select the project folder
  5. The extension icon appears in your toolbar

Usage

  1. Open a chat on any supported platform
  2. Click the CE button in the bottom-right corner
  3. Click Extract to load all messages
  4. Choose:
    • Copy Text - plain text to clipboard
    • Copy Markdown - formatted Markdown to clipboard
    • Download TXT / MD - save as a file

Architecture

src/
├── content.js        # Entry point, platform detection
├── extractor.js      # Orchestrates extraction and formatting
├── ui.js             # Floating panel and toast logic
├── styles.css        # Injected UI styles (isolated)
├── utils.js          # Shared: DOM-to-Markdown, text normalization
└── extractors/
    ├── chatgpt.js    # ChatGPT extraction strategy
    ├── claude.js     # Claude extraction (3 fallback strategies)
    └── gemini.js     # Gemini extraction (3 fallback strategies)

Manifest V3. Vanilla JavaScript. No dependencies.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages