ChatGPT Conversation Export

Export ChatGPT conversations to Markdown, HTML, or text, with best-effort Deep Research capture and manual paste fallback.

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!)

Advertisement:

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!)

Advertisement:

Autore
Crimsab
Installazioni giornaliere
1
Installazioni totali
2
Valutazione
0 0 0
Versione
0.1.6
Creato il
18/06/2026
Aggiornato il
18/06/2026
Dimensione
42,2 KB
Licenza
Non disponibile
Applica a

ChatGPT Conversation Export

A standalone userscript for exporting ChatGPT conversations as clean Markdown, HTML, or plain text.

It is designed for normal ChatGPT chats and Deep Research threads. The exported files are meant to be readable by humans and useful for agents, knowledge bases, note-taking systems, and local study workflows.

Features

  • Adds an Export button to the ChatGPT header.
  • Exports conversations to:
    • Markdown (.md)
    • HTML (.html)
    • Plain text (.txt)
  • Preserves headings, paragraphs, lists, code blocks, links, images, and tables.
  • Renders Markdown tables as real HTML tables in the HTML export.
  • Removes ChatGPT interface noise such as copy/share buttons and hidden screen-reader labels.
  • Removes raw internal ChatGPT citation markers such as turn9search18 artifacts.
  • Detects embedded Deep Research frames.
  • Supports Deep Research with a manual paste fallback when browser sandboxing prevents automatic reading.
  • Does not use external libraries or remote code.

Deep Research Support

Deep Research often lives inside sandboxed cross-origin iframes. A browser extension can inject code into those frames more reliably, but a GreasyFork/Tampermonkey userscript cannot always do that.

This script handles Deep Research in two ways:

  1. It first tries to capture readable Deep Research content automatically.
  2. If the iframe is detected but cannot be read, it opens a small non-blocking panel called Paste Deep Research content.

The fallback flow is:

  1. Start an export from the Export button.
  2. If the paste panel appears, leave it open.
  3. Click Copy contents inside the Deep Research panel in ChatGPT.
  4. Paste the copied report into the userscript panel.
  5. Click Continue export.

The paste panel is intentionally non-modal, so it does not block the page and you can still interact with ChatGPT behind it.

Clean Output

The export is cleaned before saving:

  • ChatGPT action buttons are removed.
  • Sandboxed iframe placeholders are removed.
  • Raw internal citation markers are stripped.
  • Markdown spacing is normalized.
  • Deep Research pasted content is cleaned with the same pipeline as normal chat content.

This makes the output suitable for:

  • Obsidian or other Markdown notebooks
  • Local archives
  • OpenClaw or other agent memory systems
  • Research notes
  • HTML reading copies
  • Plain text ingestion

Installation

Install a userscript manager such as Tampermonkey, Violentmonkey, or Greasemonkey, then install the .user.js file.

The script runs on:

Usage

  1. Open a ChatGPT conversation.
  2. Click Export in the conversation header.
  3. Choose Markdown, HTML, or Text.
  4. If Deep Research is blocked by iframe sandboxing, paste the copied Deep Research content into the panel and continue.

Privacy

The script runs locally in your browser.

It does not send conversation content to any server. Exported files are created locally through the browser download flow.

Limitations

  • Deep Research automatic capture is best-effort because userscripts cannot reliably access every sandboxed iframe.
  • If automatic capture fails, use the built-in paste fallback.
  • The script follows ChatGPT's current DOM structure; future ChatGPT UI changes may require updates.