ChatGPT Conversation Export

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

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Advertisement:

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Advertisement:

Autor
Crimsab
Instalaciones diarias
0
Instalaciones totales
3
Calificaciones
0 0 0
Versión
0.1.6
Creado
18/6/2026
Actualizado
18/6/2026
Tamaño
42,2 KB
Licencia
Desconocida
Funciona en

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.