pacmax beta

Userscripts Pac by pionxzh on GitHub

Chatgpt Exporter

Export and Share your ChatGPT conversation history

From their README

ChatGPT Exporter

A GreasyFork script to export the chat history of ChatGPT

license release GreasyFork

English   |   Français   |   Indonesia   |   한국어   |   Türkçe   |   繁體中文   |   简体中文

The ChatGPT Exporter menu opened from its icon in the ChatGPT sidebar

Install

Prerequisites

Install Tampermonkey

Chrome    Firefox    Chrome

UserScript

Greasyfork GitHub
Install Install

Make sure that the Allow User Scripts is enabled in your browser settings for Tampermonkey.

📚 Supported Formats

  • Copy as text
  • Screenshot (PNG)
  • Markdown
  • HTML
  • JSON (OpenAI official format, TavernAI/SillyTavern and Ooba)

Use Export All to export many conversations at once.

💬 Using DeepSeek too?

Check out DeepSeek Exporter, a sister project that brings the same one-click export to DeepSeek, including DeepThink reasoning and web-search sources.

🤝 Contribution

See CONTRIBUTING.md

⭐ Star History

Star History Chart

Latest release

  • userscript-v2.40.32 days agoDownload

    2.40.3 (2026-12-03)

    Bug Fixes

    • embed images from older conversations that use file-service pointers (#431) (3cb8dbf)
    • show image carousels in interactive replies (#431) (33b8e4e)
19 earlier releases
  • userscript-v2.40.23 days agoDownload

    2.40.2 (2026-12-02)

    Bug Fixes

    • keep batch exports going past failed conversations and show a report (#430) (4830858)
    • restore width and theme the toggles in HTML export (#428) (8104dec)
  • userscript-v2.40.16 days agoDownload

    2.40.1 (2026-11-29)

    Bug Fixes

    • format writing blocks in official exports (0cf6b87)
    • include chats of pinned projects in All conversations (#426) (b1f70cf)
  • userscript-v2.40.07 days agoDownload

    2.40.0 (2026-11-28)

    Features

    • export Canvas documents (#260) (907ec83)
    • save Export All straight into a folder (#425) (5d0b1f7)
    • track exports per format and select not exported or updated (#425) (55408e1)

    Bug Fixes

    • explain Canvas edits that cannot be replayed (9df0ce2)
    • keep math formulas visible in screenshots (7fece4b)
    • keep writing block drafts in exports (416772e)
    • read Canvas calls stored as code (f3833f7)
  • userscript-v2.39.014 days agoDownload

    2.39.0 (2026-11-20)

    Features

    • add prompt headings to Markdown exports (5879a14), closes #370
    • import an official export split across several files (023cf2b)
    • use # prompt headings and title code-first prompts by their text (e2eb460)

    Bug Fixes

    • hide thinking preambles in official data exports (8e5bd2a)
    • keep prompt and thinking headings under the prompt heading (ac320be)
    • keep scheduled task runs as separate replies (8b924f5)
    • retain official JSON messages with missing recipient (44affd4)
  • userscript-v2.38.31 month agoDownload

    2.38.3 (2026-11-04)

    Bug Fixes

    • go back to jszip 3.9.1 so zip exports finish in the userscript sandbox (2e9b8e9), closes #419
  • userscript-v2.38.21 month agoDownload

    2.38.2 (2026-11-03)

    Bug Fixes

    • check the highlight.js theme's integrity like the other CDN files (35cd24d)
    • don't wait on cancelling the temporary chat stream copy (fa23073)
    • keep entity names and drop image groups left in interactive replies (7a7b447)
    • keep the user avatar in the HTML export's CSS (f69361e)
    • load every image in the HTML export up front (85634cf)
    • mark exported zips as made on Unix so macOS unzip keeps names (cf44458)
    • show the menu in the expanded sidebar of another layout variant (6588bee), closes #397

    Performance Improvements

    • reduce export polling and image processing overhead (fa6662a)
  • userscript-v2.38.11 month agoDownload

    2.38.1 (2026-10-30)

    Bug Fixes

    • keep inline links that ChatGPT writes as url markers (ba36a28), closes #413
  • userscript-v2.38.01 month agoDownload

    2.38.0 (2026-10-17)

    Features

    • add TavernAI JSONL to bulk export (c8bd69c), closes #404

    Bug Fixes

    • keep the bulk export buttons together when the bar wraps (9e8d822)
  • userscript-v2.37.11 month agoDownload

    2.37.1 (2026-10-12)

    Bug Fixes

    • export interactive replies from their Markdown version (7076330)
    • highlight the export trigger while its menu is open (ee812c6)
    • keep code blocks and charts that ChatGPT draws as widgets (9a0ac68)
    • keep menu labels clear of the item edge (f78692c)
    • keep the page's CJK font in screenshots when it already fits (88e293f)
    • skip hidden cached conversations during export (a14a5e9)
    • use PostScript names for CJK font faces in screenshots (1fe8e1b)
  • userscript-v2.37.01 month agoDownload

    2.37.0 (2026-10-11)

    Features

    • choose how Markdown exports save images (ec966c5), closes #405
    • save JSON (ZIP) images as files too (82ec4bc), closes #295

    Bug Fixes

    • keep assistant text as written in markdown and text exports (4c8fe6e)

    Performance Improvements

    • compile markdown to HTML with micromark directly (f9d9e4c)
  • userscript-v2.36.32 months agoDownload

    2.36.3 (2026-09-26)

    Bug Fixes

    • fetch message timestamps only when they are enabled (5208543)
    • keep a partial conversation list exportable after a list error (c6f1588)
    • line up the sidebar Export row with ChatGPT's own rows (87b26a1)
    • load 200 conversations by default in Export All (fd55afd)
    • match ChatGPT's switch style for exporter toggles (1757ece)
    • own the exporter UI styles instead of borrowing ChatGPT's classes (1b309f7)
    • surface conversation-list errors in Export All (1715ca7)

    Performance Improvements

    • replace i18next with a small built-in translator (5cc7269)
    • replace Radix and headlessui with native dialog and own hover card (03ebb1d)
  • userscript-v2.36.22 months agoDownload

    2.36.2 (2026-09-26)

    Bug Fixes

    • follow ChatGPT's accent color for checkboxes and toggles (188ba3b)
    • keep the exporter menu visible in the collapsible sidebar layout (11de3cd)
  • userscript-v2.36.12 months agoDownload

    2.36.1 (2026-09-25)

    Bug Fixes

    • escape non-assistant text in HTML export (8be1e9a)
    • keep multi-line math intact in HTML export (#264) (932f9ea)
    • list uploaded files in HTML and Markdown exports (a8682e6)
    • match ChatGPT's math and inline code styles in HTML export (d7552bc)
    • pad code blocks in HTML export (4c80341)
    • render code messages as code blocks in markdown export (0325599)
    • stop rendering prices as math in HTML export (b6f9a0b)
  • userscript-v2.36.02 months agoDownload

    2.36.0 (2026-09-25)

    Features

    • cache conversations and images to skip refetching on export (471e877)
    • show the cached conversation list instantly in Export All (816d9fe)

    Bug Fixes

    • alert which conversations were skipped in batch export (75a2d4d)
    • capture the full conversation in screenshots on the redesigned layout (49a4c2b)
    • expose exporter menu items as buttons (061d81f)
    • place exporter above the help menu in the redesigned rail (bdebb09)
    • restore menu hover on the redesigned layout (48178f4)
    • show message timestamps on the redesigned layout (ca91cbf)
    • support redesigned ChatGPT layout and theme attributes (4a48c24)
  • userscript-v2.35.22 months agoDownload

    2.35.2 (2026-09-23)

    Bug Fixes

    • derive model name from the slug (bb9ea2c)
    • escape title and metadata in HTML export (7787cdc)
    • keep display math and $ in HTML export (4662547)
    • keep formulas intact in text export (6376c96)
    • keep product names in shopping answers (4ffda29)
    • keep raw conversation intact when processing (fc910b5)
    • keep thinking order and include preambles in thinking export (c9877f2)
    • label generated images as ChatGPT (ba8bea2)
    • preserve all text parts in Ooba exports (3244bf1)
    • preserve raw conversations in JSON exports (b06d472)
    • replace every metadata variable occurrence (f71c1ca)
    • replace model_name metadata variable in HTML (d7841a2)
    • show file names for citations of uploaded files (15368f9)
    • show image search results as images (56bb8ae)
    • skip empty assistant replies in exports (82ff6c8)
    • skip thinking preamble messages in exports (16fd74d)
    • use one avatar style for assistant messages in HTML export (439c727)
    • write display math as $$ blocks in markdown export (64132e6), closes #281
  • userscript-v2.35.12 months agoDownload

    2.35.1 (2026-09-22)

    Bug Fixes

    • export chats from nested share URLs (c1dddad)
    • honor shouldReplaceAssets for shared conversations (62963b8)
    • skip timestamp injection on share pages (39dc8bd)
    • support new ChatGPT sidebar layout (e7f25fc)
    • throw instead of exporting __share__null when share id is missing (f0c0ffb)
  • userscript-v2.35.03 months agoDownload

    2.35.0 (2026-08-28)

    Features

    • replace screenshot renderer with SnapDOM (f6c38b2)

    Bug Fixes

    • export temporary chat response callbacks on Firefox (66aeac8)
    • permission denied on Firefox (87dbdf0)
  • userscript-v2.34.13 months agoDownload

    2.34.1 (2026-08-20)

    Bug Fixes

    • paint the menu background in light mode (1388cdf)
    • pin the settings Save button below the scrollable body (25264ad)
    • raise the export menu above ChatGPT's main column (20e6b2e)
  • userscript-v2.34.03 months agoDownload

    2.34.0 (2026-08-20)

    Features

    • export: select not-exported or updated conversations (68eee3a)
    • replace Last 100 and offset-resume controls with a shift-select hint (43fb9f7)

    Bug Fixes

    • add missing translations and drop unused locale keys (a476616)
    • keep the select toolbar on one line at any width (cc04675)
    • natural translations for the batch-select options (25358f8)
    • shorten Screenshot menu label in es/fr/id so it fits on one line (2b7ad45)
    • show the real selected total in the export progress instead of batches x 100 (918e3a3)
    • stop idle queues silently on cancel and translate the Cancel button (6136a9b)