whatsapp-chat-exporter

Batch exports WhatsApp Web chat histories to Markdown or plain text files. Used to back up, export, save, or archive WhatsApp chats, conversations, or messages, triggered when a user requests exporting or backing up WhatsApp chats.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "whatsapp-chat-exporter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-733eb5ad9c503849fce83875bb30b123f94fed80f37f6ab7e7ab4f0cacafaab9. Verify the upstream source and version against https://skillhub.cn/skills/user_a80a7fe6/whatsappchatexporterpro before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Batch exports WhatsApp Web chat histories to Markdown or plain text files. Used to back up, export, save, or archive WhatsApp chats, conversations, or messages, triggered when a user requests exporting or backing up WhatsApp chats.

0 Downloads

Introduction source: third_party · user_a80a7fe6 · 3.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: whatsapp-chat-exporter
description: Batch export WhatsApp Web chat conversations as Markdown or plain text files. Use when the user wants to backup, export, save, or archive WhatsApp chats, conversations, or messages from WhatsApp Web. Triggers on "export WhatsApp", "backup WhatsApp chats", "save WhatsApp messages", "导出WhatsApp聊天", "备份WhatsApp", "WhatsApp聊天导出", or any request to download/archive WhatsApp conversations.
description_zh: "WhatsApp Web 聊天记录批量导出器 — 一键备份对话为 Markdown 或纯文本"
description_en: "WhatsApp Web Chat Exporter — batch backup conversations as Markdown or plain text with one click"
version: 3.0.0
allowed-tools: Bash

WhatsApp Chat Exporter Pro v3

A zero-dependency browser bookmarklet that adds a floating panel to WhatsApp Web for batch exporting chat conversations.

Key features:

  • Select multiple chats and export all at once
  • Export as Markdown (.md) or Plain Text (.txt)
  • Deep scroll to load full message history
  • Merge all selected chats into one backup file
  • 100% local — no data transmission, no server

Quick Start

Method 1: Bookmarklet (Recommended)

Pin the script as a browser bookmark:

  1. Open bookmarklet-install.html in the broswer and drag the green button to the bookmarks bar.
  2. In Chrome/Edge, make sure the bookmarks bar is visible (Ctrl+Shift+B).
  3. Go to web.whatsapp.com.
  4. Click the "WA Chat Exporter Pro" bookmark.
  5. A floating panel appears — select chats and export.

Method 2: Browser Console (Alternative)

When bookmarks don't work:

  1. Open web.whatsapp.com
  2. Press F12 → Console tab
  3. Paste the entire contents of scripts/whatsapp-chat-exporter.js
  4. Press Enter

Usage

After activation, a floating panel appears on the right side:

┌─────────────────────────────────────┐
│  1. Select Chats           (N)      │
│  ┌─────────────────────────────┐    │
│  │ [Search contacts...]        │    │
│  │ ☑ Chat A                   │    │
│  │ ☐ Chat B                   │    │
│  └─────────────────────────────┘    │
│                                      │
│  2. Deep Scroll Settings             │
│  ├─ Sidebar scroll depth: 6         │
│  ├─ Chat scroll pages:   5          │
│  ├─ Scroll delay:        1.2s       │
│  ├─ ☑ Merge into one file           │
│  └─ File prefix: WhatsApp_Backup    │
│                                      │
│  3. Format:  [Markdown ▼]           │
│  [Rescan]  [  Start Export  ]       │
└─────────────────────────────────────┘

Setting Guide

Setting What it does Recommended
Sidebar scroll depth Scroll sidebar N times to discover more chats 6–10
Chat scroll pages Load N pages of history per chat (~20 msgs/page) 5–50
Scroll delay Wait between scrolls in seconds 1.2s
Merge into one file Combine all selected chats into a single file On
File prefix Name prefix for downloaded files WhatsApp_Backup

How to Read the Injected Script

Before injecting, always show the user the script path and explain it's purely browser-side:

I'll inject the WhatsApp Chat Exporter script into your browser.
This script runs entirely in your browser — no data leaves your device.
Files save to your Downloads folder.

Script location: scripts/whatsapp-chat-exporter.js

Workflow for Exports

  1. Confirm user is on WhatsApp Web: Ask them to navigate to web.whatsapp.com first.
  2. Inject the script: Either guide them through bookmarklet or console paste.
  3. Configure settings: Ask if they need specific scroll depth (longer history = higher number).
  4. Select chats: Guide them to search for specific contacts or select all.
  5. Start export: Files download automatically to Downloads folder.

Troubleshooting

Problem Solution
Panel not showing Refresh WhatsApp Web and try again
No contacts loaded Click "Load More" to scroll the sidebar
Old messages missing Increase "Chat scroll pages" (e.g., 30–50)
Export slow / tab freezes Reduce scroll depth, export fewer chats at once
Wrong format Re-run and change format before exporting
WhatsApp selector changed The script auto-detects multiple DOM patterns; if all fail, check for WhatsApp Web update

Export Format Examples

Markdown (.md) — Well-formatted, readable, preserves structure:

## 💬 Chat with John Smith
> Export Date: 7/26/2026, 10:30:00 AM | Messages: 42

**John Smith** *(10:15 AM)*:
Hey, how's the project going?

**Me** *(10:16 AM)*:
Going great! We shipped the MVP yesterday.

Plain Text (.txt) — Simple, universal, easy to grep:

John Smith — Chat Log
Export Date: 7/26/2026, 10:30:00 AM
Messages: 42
----------------------------------------

[John Smith] [10:15 AM]
Hey, how's the project going?

[Me] [10:16 AM]
Going great! We shipped the MVP yesterday.

Files Structure

whatsapp-chat-exporter/
├── SKILL.md                              ← This file
└── scripts/
    └── whatsapp-chat-exporter.js         ← Core bookmarklet script (well-commented)

Current listing version

3.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 WhatsApp Web 聊天记录批量导出功能,满足用户备份与归档需求
  • 支持 Markdown 和纯文本两种格式,适配不同使用场景
Trigger Precision82/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    缺少部分长尾表达,如“下载 WhatsApp 对话”、“归档 WhatsApp 消息”等

    Recommendation: 补充更多用户可能使用的自然语言变体,提升触发覆盖率

Highlights

  • 中英文触发关键词完整,覆盖核心意图
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards92/100

Highlights

  • 文档结构清晰,包含快速开始、使用指南、故障排查等完整章节
  • 提供配置说明与导出格式示例,用户体验良好
Execution Reliability75/100

Areas to improve

  • 浏览器兼容性未说明 Reported severity: Minor

    未明确说明支持的浏览器类型(如 Safari、Firefox)及版本要求

    Recommendation: 补充浏览器兼容性说明,避免用户在 unsupported 环境中执行失败

Highlights

  • 工具为纯前端 bookmarklet,无外部依赖,数据本地处理,安全可靠
  • 覆盖了常见异常场景并提供解决方案
Evidence Verifiability (mean of the first four)82/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • web.whatsapp.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.