Copilot Conversation Exporter

Export Microsoft Copilot conversations to Markdown or JSON (optionally includes AI Thoughts when present)

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
NoahTheGinger
Installazioni giornaliere
1
Installazioni totali
34
Valutazione
1 0 0
Versione
2.0.0
Creato il
12/04/2025
Aggiornato il
27/09/2025
Dimensione
17,7 KB
Licenza
MIT
Applica a

Copilot Conversation Exporter

A simple Tampermonkey userscript that adds an Export button to copilot.microsoft.com. This button lets you quickly export your Copilot conversation as a nicely formatted Markdown file or raw JSON data.

Copilot web chat exporter demo

Features

  • Multiple Export Formats: Export conversations as Markdown (.md) or JSON (.json) files.
  • API-Based Data Retrieval: Fetches conversation data directly from Copilot's API for complete accuracy.
  • AI Thoughts Included: Captures and includes AI reasoning content when present.
  • Clean Formatting: Properly formats messages with support for images, citations, and rich content.
  • Easy Access: The export button is fixed in the bottom-right corner of the screen.
  • Timestamped Files: Exported files include timestamps to prevent naming conflicts.

Installation

  1. Install Tampermonkey (or another userscript manager) in your browser.
  2. Create a new userscript and copy-paste the code from the repository into it.
  3. Save the script.
  4. Navigate to copilot.microsoft.com and you should see the Export button in the bottom-right corner.

Usage

  • Start a Conversation: Begin chatting with Copilot as you normally would.
  • Click the Button: Hit the Export button at the bottom-right.
  • Choose Format: Select either Markdown or JSON format from the dialog that appears.
  • Download: The script will fetch the conversation data and automatically download a file named {conversation_title}_{timestamp}.md or {conversation_title}_{timestamp}.json.

Customization

The script uses Copilot's official API endpoints to retrieve conversation data. If you need additional formatting for the Markdown output, you can modify the conversationToMarkdown() and partsToMarkdown() functions. The JSON export provides the raw conversation data for custom processing.

License

This project is released under the MIT License.