English | 简体中文
Convert conversation backups from various AI platforms into standardized AfterChat Markdown / ZIP archives for local storage, migration, and offline reading.
Supports 5 backup sources: Google AI Studio, Cherry Studio, Qwen, Claude, and RikkaHub. Generated Markdown documents can be directly imported into the AfterChat workspace.
| Source | Input | Output |
|---|---|---|
| Google AI Studio | Exported JSON | Markdown (Single file or directory tree) |
| Cherry Studio | Backup ZIP | Markdown ZIP |
| Qwen | Web exported JSON | Markdown ZIP |
| Claude | Data export ZIP | Markdown ZIP |
| RikkaHub | Backup ZIP | Markdown ZIP |
Example output structure:
chat-export-claude-all-1730000000000.zip
├── 20241114-101500-First_Conversation.md
├── 20241113-090000-Second_Conversation.md
└── export-failures.md # Recorded here if a session contains no exportable messages
Platforms grouping by assistant (Cherry / Qwen / RikkaHub) include a subfolder:
chat-export-rikka-all-1730000000000.zip
└── Gemini/
└── 20241114-101500-First_Conversation.md
Visit Releases to download pre-built binaries:
| File | Description |
|---|---|
afterchat-converter_<version>_x64-setup.exe |
Installer: Desktop application (includes Start Menu shortcut and uninstaller) |
afterchat-converter-<version>-windows-x64.zip |
Portable: Extract and run afterchat-converter.exe directly |
- Launch the application and drag backup files (or folders) into the window.
- The application automatically routes the file to the corresponding converter based on file attributes.
- Upon completion,
chat-export-<platform>-all-<timestamp>.zipis saved alongside the source file.
You can check "Output to custom directory" at the bottom of the window to select an alternative destination. See docs/GUI.md for details.
Both the installer and portable archive contain 5 standalone executable binaries:
rikka RikkaHub-backup.zip # RikkaHub backup (automatically extracts and reads SQLite DB)
cherry cherry-backup.zip # Cherry Studio backup
qwen qwen-all.json # Qwen export (supports multiple files)
claude data-export.zip # Claude data export archive
ai-studio prompt.json # Google AI Studio export fileOutputs are saved in the source directory by default. Use -o to specify an output directory or file name:
rikka backup.zip -o out\ # Writes to out\chat-export-rikka-all-<timestamp>.zip
rikka backup.zip -o out\my-name.zip # Explicitly specifies the ZIP filenameFiles can also be directly dropped onto individual executable icons in File Explorer (ai-studio outputs single Markdown files and is best run via CLI).
- Unified Output Contract: All converters adhere strictly to the AfterChat-Format Specification.
- Reasoning Process Preservation: Thought processes and final responses are cleanly separated as
#### 🤔 Thought Processand#### 💡 Response. - Empty Session Aggregation: Sessions without exportable messages are aggregated into
export-failures.mdinstead of creating empty files. - Fault-Tolerant Processing: Failure of an individual session does not interrupt the batch conversion process.
Prerequisites: Rust (stable) and Bun:
# Build 5 CLI converters
cargo build --release
# Build desktop application (sidecars are compiled and packaged automatically)
cd gui
bun install
bun run build- AfterChat-Script: browser userscript that exports online web chats into Markdown, the same format this tool outputs.
- AfterChat Desktop App: manage your conversations and build a knowledge base locally.
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).