☕ If you find this tool helpful & would like to support its maintenance, please consider leaving a tip on:
https://ko-fi.com/piknockyou
Thank you! :-)
🖼 For a quick impression of this script, refer to the screenshots at the bottom.
ChatGPT/Claude/Grok/Arena | Conversation/Chat Markdown Export/Download
Export your AI chat conversations to clean, formatted Markdown files with a single click. Supports ChatGPT, Claude.ai, Grok.com, and Arena.ai.
Why You Need This
Most AI platforms make saving your data difficult or impossible:
- No native export: Sites like Arena and Grok often lack download buttons entirely, while ChatGPT's native data export can be slow, delayed, and difficult to read.
- Manual copying is broken: Copy-pasting long conversations loses formatting, code blocks, artifact versions, images, generated widgets, and model identity.
- Archival: You want local, offline copies of your best conversations, code generations, and reasoning chains.
This script gives you instant, complete, and highly-customizable exports of any conversation from the supported providers.
What It Does
- One-click export: A floating button appears automatically on chat pages.
- Always fresh: Fetches data directly from the API to ensure complete, high-fidelity content.
- Clean output: Generates properly formatted Markdown (compatible with Obsidian, GitHub, Notion) with headers, timestamps, and metadata.
- Draggable button: Right-click and drag to move the button anywhere; it remembers its location.
- Safe exports: Strictly sanitizes filenames to prevent OS-level saving errors.
Advanced Feature Support
(Availability depends on specific provider capabilities)
- 🖼️ Image Export: 7 granular image handling modes (Download files separately, Markdown Inline, HTML
<img> tags, Base64 data URIs, Remote URLs, and distinct Web/Local Clickable Links).
- 🧩 Interactive Widgets (Claude): Safely intercepts and exports rendered SVG widgets from Claude's
visualize tool. Includes a smart pre-export capture dialog and multiple embedding options (Raw HTML <svg>, Base64, Markdown, or Data URIs).
- 🧠 Thinking & Reasoning: Captures extended thinking blocks and reasoning chains (including ChatGPT's "Thoughts", Claude, and Arena) and thinking duration.
- 🛠️ Tools & Code Execution: Captures tool calls, inputs, and outputs (e.g., ChatGPT's Python code interpreter or Claude's bash/file tools).
- 📦 Artifacts & Attachments: Exports full Artifact code (including version history/updates) and embeds user-uploaded file content.
- 🤖 Model Attribution: Automatically detects and labels which model generated each response (essential for Arena Battle Mode and Grok).
- 🌿 Branching & Regenerations: Export just the current conversation path or the full tree of regenerations and branches across supported providers.
- 🔍 Search & Citations: Includes web search queries, raw results, inline citation markers, and formatted bibliography lists.
- 💻 Code Blocks: Preserves syntax highlighting and language tags (optionally collapsible).
⚙️ Configuration
Right-click the export button to open the Settings Panel.
You can toggle features individually for each provider using convenient master toggles and nested subsections.
- Example: Turn on the "Include Images" master toggle, then specifically choose to embed them as portable HTML Base64 tags wrapped in a collapsible
<details> block.
- Example: Enable "Collapsible Thinking" for ChatGPT, but disable it for Arena.
- Example: Turn off raw "Search Results" to keep the output cleaner, while keeping formatted inline citations active.
Usage
- Left-click: Download conversation as Markdown.
- Right-click: Open the Settings Panel.
- Right-click + Drag: Move the button anywhere on screen.
Installation
- Install Violentmonkey, Tampermonkey, orGreasemonkey.
- Install this script.
- Visit any chat on ChatGPT, Claude.ai, Grok.com, or Arena.ai.