https://github.com/DREwX-code/omnichat-exporter
Export and download conversations from ChatGPT, Gemini, Claude, Grok, and DeepSeek in TXT, PDF, JSON, or Markdown format.
https://github.com/DREwX-code/omnichat-exporter
ai chatgpt claude deepseek developer-tools export gemini grok json markdown pdf tampermonkey userscript
Last synced: 2 days ago
JSON representation
Export and download conversations from ChatGPT, Gemini, Claude, Grok, and DeepSeek in TXT, PDF, JSON, or Markdown format.
- Host: GitHub
- URL: https://github.com/DREwX-code/omnichat-exporter
- Owner: DREwX-code
- License: apache-2.0
- Created: 2026-02-27T16:44:06.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-05-24T17:34:23.000Z (about 1 month ago)
- Last Synced: 2026-05-24T19:24:09.797Z (about 1 month ago)
- Topics: ai, chatgpt, claude, deepseek, developer-tools, export, gemini, grok, json, markdown, pdf, tampermonkey, userscript
- Language: JavaScript
- Homepage: https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly
- Size: 1.38 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - DREwX-code/omnichat-exporter - Export and download conversations from ChatGPT, Gemini, Claude, Grok, and DeepSeek in TXT, PDF, JSON, or Markdown format. (JavaScript)
README
# OmniChat Exporter
[](https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly)
[](https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly)
[](https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly/versions)
[](./LICENSE)

## Export conversations from major AI platforms in multiple formats
[OmniChat Exporter](https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly) allows you to export conversations from **ChatGPT, Gemini, Claude, Grok, and DeepSeek** in **TXT, Markdown, JSON, or PDF**.
**Fast. Clean. Reliable.**
---
## What OmniChat Exporter does
- Adds export controls directly inside supported AI platforms
- Allows exporting a full conversation thread
- Allows exporting individual messages
- Generates structured and clean output files
- Works instantly in the browser
Everything runs locally.
---
## Main Features
### Export Control
- Full conversation export
- Per-message export
- Clean file structure depending on format
- Native UI integration on each supported platform
---
## Supported Formats
TXT – simple and universal
- Plain text export
- Preserves message roles and readable chat structure
- Lightweight and compatible with any text editor
- Suitable for quick backups and simple archiving
Markdown – perfect for documentation and reuse
- Converts chat content into clean and reusable Markdown
- Preserves headings, paragraphs, lists, quotes and code blocks
- Supports links, tables and inline code
- Supports math conversion for KaTeX / LaTeX content
- Suitable for documentation, notes, publishing and reuse in other tools
JSON – structured data for automation
- Structured export format designed for automation and processing
- Exports message roles, plain text and HTML content
- Preserves message order and conversation structure
- Suitable for scripts, pipelines, backups and data analysis
PDF – browser-generated document, ready to share
### Core features
- Client-side PDF generation using **pdfmake**
- Automatic conversation scan before PDF generation
- Local language and script detection
- Smart loading of fonts based on detected scripts
- Multilingual text support with mixed-script rendering
- Script-aware font routing to ensure correct character rendering
### Content rendering
- Per-message PDF rendering with preserved role blocks
- Conversation metadata included in the document header
- Support for formatted text, lists, quotes, code blocks, tables and HTML-derived content
- Syntax-highlighted code rendering
- Support for AI-generated images (embedded directly in the PDF output)
### Character support
- Support for emoji, symbols and extended Unicode characters (rendered in black and white when necessary)
### Reliability and compatibility
- Built-in PDF generation popup with progress indicator
- Progressive preparation stages: scan → detection → font loading → generation
- Automatic fallback and retry strategy when a font triggers a rendering error
- No conversation data is sent to external services
- Improved compatibility with strict CSP environments through Tampermonkey requests
---
### Multilingual PDF Support
The PDF export system supports many writing systems including:
Latin, Extended Latin, Cyrillic, Greek, Arabic, Hebrew, Chinese, Japanese, Korean,
Devanagari, Bengali, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam,
Sinhala, Thai, Khmer, Lao, Myanmar, Georgian, Armenian, Ethiopic and Egyptian hieroglyphs.
Fonts are automatically loaded depending on detected scripts to keep the export lightweight and reliable.
---
## Export Characteristics
All export formats share the following properties:
- Includes the source URL
- Includes the export date / timestamp
- Includes the conversation title when available
- Keeps a readable conversation structure with message roles
- Generated locally in the browser
- No external API used
---
## Supported Platforms
- ChatGPT
- Gemini
- Claude
- Grok
- DeepSeek
---
## Privacy
All export operations are performed **locally in the browser**.
No conversation data is sent to external servers.
---
## Third-Party Libraries
### pdfmake
Used for generating PDF files directly in the browser.
- Website:
- Source:
- License: MIT
### franc-min
Used for local language detection before PDF generation.
- Source: https://github.com/wooorm/franc
- License: MIT
### Noto Fonts
Used for multilingual PDF rendering when required.
- Sources:
-
-
- Licenses:
- SIL Open Font License 1.1
- Apache License 2.0
---
## Installation
[](https://update.greasyfork.org/scripts/567743/OmniChat%20Exporter%20-%20Export%20Any%20AI%20Chat%20Instantly.user.js)
[](https://github.com/DREwX-code/omnichat-exporter/blob/main/src/omnichat-exporter.user.js)
1. Install a userscript manager such as **Tampermonkey**
https://www.tampermonkey.net/
2. Click **Install OmniChat Exporter** above or install from [GreasyFork](https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly).
3. Open a supported AI platform.
4. Use the export controls directly in the interface.
---
## Feedback and Contributions
Feedback and improvement suggestions are welcome via:
- [GreasyFork feedback](https://greasyfork.org/scripts/567743-omnichat-exporter-export-any-ai-chat-instantly/feedback)
- [GitHub Issues](https://github.com/DREwX-code/omnichat-exporter/issues)
---
## Author
Developed and maintained by **Dℝ∃wX** (GitHub: [DREwX-code](https://github.com/DREwX-code)).
Engineered for performance, precision, and long-term evolution.
---
## License
This project is licensed under the **Apache License 2.0**.
You are free to use, modify, and redistribute it under the terms of the license.