Skip to content
Projects

pinguarmy/ai-chat-exporter

View on GitHub

About

Export ChatGPT, Gemini, Claude, DeepSeek & Grok conversations to beautifully formatted Markdown and PDF. One-click, bulk download, custom filenames. Open source.

Productivity & Automation

How these counts are measured

What you can do

  • Single conversation or bulk. Export the open chat, or load your signed-in history and export many conversations at once with search, date and quantity rules.
  • Preview and message selection. Copy or download all messages, hand-picked messages, or just the last answer. Partial exports are always labelled as partial.
  • Completeness-aware. The exporter uses provider data when it can verify it and says so when it cannot. A visible-page snapshot is never presented as a complete archive; see the user guide.
  • Scheduled auto-export. Optional Markdown-only runs on a bounded schedule, while the browser and extension are running.

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

AI Chat Exporter

English | 简体中文

Export ChatGPT, Gemini, Claude, DeepSeek & Grok conversations to clean PDF, Markdown or ZIP archives. 100% free. No paywalls. No accounts. No tracking.

Chrome Extension Firefox Add-on Edge Extension MIT License CI TypeScript WXT


AI Chat Exporter popup on a ChatGPT page

Install · Features · Usage · Privacy · Support · Development


Install

Latest release: v1.6.0. See GitHub Releases for downloads and release notes; store review can lag behind GitHub, so a store may still offer the previous version for a few days.

Browser Get it
Chrome Chrome Web Store
Firefox Firefox Add-ons
Edge Edge Add-ons
Any of the above GitHub Releases (ZIP packages; build from source is described in CONTRIBUTING.md)

The interface is available in English, 简体中文, 繁體中文, Deutsch, 日本語 and 한국어.

Supported platforms and formats

  • Platforms: ChatGPT, Gemini, Claude, DeepSeek and Grok.
  • Reading PDF: print-ready, with headings, lists, code blocks, LaTeX, images and page breaks.
  • Editable Markdown: structured .md with code blocks, LaTeX and optional metadata.
  • Archive ZIP: Markdown plus references.json, trace.json, a manifest.json that hashes each payload, and inline artifact files. External attachments are not downloaded and the manifest says so.

Features

  • Single conversation or bulk. Export the open chat, or load your signed-in history and export many conversations at once with search, date and quantity rules.
  • Preview and message selection. Copy or download all messages, hand-picked messages, or just the last answer. Partial exports are always labelled as partial.
  • Completeness-aware. The exporter uses provider data when it can verify it and says so when it cannot. A visible-page snapshot is never presented as a complete archive; see the user guide.
  • Scheduled auto-export. Optional Markdown-only runs on a bounded schedule, while the browser and extension are running.
  • Filenames and folders. Template tokens such as {date}, {title}, {platform} and {last_message_datetime}; save to the Downloads root, per-platform folders or a custom folder. Unicode titles are preserved.
  • Share copy. Optionally redact common credential patterns before sharing. It is a heuristic, not anonymization; always review the result.
  • Optional local recovery for page snapshots, off by default.
  • Free and open source. MIT licensed, no extension accounts, no analytics, no paid export caps.

Usage

  1. Open a conversation on ChatGPT, Gemini, Claude, DeepSeek or Grok.
  2. Click the AI Chat Exporter toolbar icon.
  3. Choose Editable Markdown, Reading PDF or Archive ZIP, check the filename and output summary, then click Export.
  4. For many chats, open the Bulk tab, select conversations, and click Export Selected.

Everything else, including selection and preview, bulk and background exports, filename tokens, download folders and scheduled export, is in the user guide.

Privacy

Exports are built in your browser and are not sent to extension-operated servers. The extension talks only to the AI platform you are already signed in to, uses no analytics or tracking, and keeps settings in local browser storage. The source is fully auditable. Read the full privacy policy (web version).

Support

Email [email protected] without a GitHub account, or use GitHub Issues. Do not send private chats, credentials, or unredacted exports. The optional feedback page submits privately to the maintainer when you click Submit; no account, email application, or automatic submission is involved. Feedback processing and retention are described in the privacy policy.

Development

Node 22 (.nvmrc):

npm ci
npm run dev        # WXT dev mode (hot reload)
npm test           # unit suite (node by default, jsdom per file)
npm run lint       # typecheck (src and tests), ESLint, Prettier check
npm run build      # Chrome/Edge, Firefox and source-review packages

npm run test:browser runs an unpacked-extension smoke test and needs a prior build; it does not log into providers. Unit tests passing does not prove a live provider integration works.

Read this For
CONTRIBUTING.md Setup, scripts, code style, pull requests, build outputs
GUIDE.md Architecture and the provider data-integrity model
docs/MAINTENANCE.md Verification and release gates
docs/release-workflow.md Publishing to Chrome, Firefox, Edge and GitHub (read before any release)
docs/README.md Index of all documentation

Project structure

src/
├── core/          pure logic: conversation model, integrity, exporters, filenames, i18n (no chrome.*)
├── providers/     provider parsers and APIs, shared parser runtime
├── platform/      browser-extension adapters (storage, downloads) and typed background messages
├── hooks/         shared React hooks
├── background/    service worker modules (entry: index.ts)
├── components/    popup/ and options/ UI
├── contents/      one content script per provider
├── tabs/          preview, export workspace and recovery pages
└── styles/
tests/             Vitest suite mirroring src/ (see tests/README.md)
scripts/           build, verification, publishing
store-assets/      store screenshots and promotional art
docs/              user guide, maintenance, release and design docs

Layer rules and where new code goes: src/README.md.

Contributing

Contributions are welcome. Fork, branch, run npm test and npm run lint, and open a pull request; see CONTRIBUTING.md for the process and the list of good first issues.

License

MIT

Acknowledgments


Built and maintained by pinguarmy. If this saved you time, a GitHub star helps others find it.

Explore related projects

Loading…