返回 Skill 列表
extension
分类: 数据与分析无需 API Key

外贸WhatsApp信息导出

外贸WhatsApp信息导出-方便交接,训练自己风格skill,AI学习对话风格, 批量导出 勾选多个聊天,一次性全部导出 📝 双格式 支持 Markdown (.md) 和纯文本 (.txt) 🔄 深度滚动 自动向上滚动加载完整历史消息 🗂️ 合并导出 所有聊天合并为一个备份文件 🔍 搜索筛选 在侧边栏按名称过滤联系人 🔊 声音反馈 导出成功/失败有提示音 🔒 完全本地 所有操作在浏览器内完成,无数据传输

person作者: user_a80a7fe6hubcommunity

💬 WhatsApp Chat Exporter Pro v3

Batch export WhatsApp Web chats as Markdown or Plain Text — with one click.

A zero-dependency browser bookmarklet. No install. No server. No data leaves your browser.

License: MIT Version


📖 English | 中文说明

✨ Features

| Feature | Description | |---------|-------------| | 📥 Batch Export | Select multiple chats and export all at once | | 📝 Formats | Markdown (.md) with rich formatting, or Plain Text (.txt) | | 🔄 Deep Scroll | Auto-scroll up to load full message history | | 🗂️ Merge Mode | Combine all selected chats into one master backup file | | 🔍 Search & Filter | Filter contacts by name in the sidebar | | 🔊 Audio Feedback | Success/error sounds for export status | | 🔒 100% Local | Zero data transmission — everything runs in your browser |


🚀 Quick Start (30 seconds)

Method 1: Bookmarklet (Recommended)

👉 Open the Installer Page

  1. Make sure your Bookmarks Bar is visible (Ctrl+Shift+B)
  2. Open bookmarklet-install.html and drag the green button to your bookmarks bar
  3. Go to web.whatsapp.com
  4. Click the "WA Chat Exporter Pro" bookmark
  5. Select chats → Click "Start Export" → Done!

Method 2: Browser Console

  1. Open web.whatsapp.com
  2. Press F12Console tab
  3. Paste the entire contents of src/whatsapp-chat-exporter.js
  4. Press Enter

🎮 Usage Guide

After launching the tool, a floating panel appears on the right side of WhatsApp Web:

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

Understanding the Settings

| Setting | What it does | Recommended | |---------|-------------|-------------| | Sidebar scroll depth | How many times to scroll the sidebar to discover more chats | 6–10 | | Chat scroll pages | How many pages of history to load per chat | 5–50 (more = older messages) | | Scroll delay | Wait time between scrolls (seconds) | 1.2s (slower = more reliable) | | Merge into one file | Combine all chats into a single file | On for full backup | | File prefix | Name prefix for saved files | WhatsApp_Backup |

Pro Tips

  • Export long chats: Set chat scroll pages to 50+ and be patient — each page is ~20 messages
  • Big backup: Enable "Merge into one file", select all chats, and let it run
  • Search first: Use the search bar on WhatsApp Web sidebar to find specific chats, the tool will detect them
  • File location: Exported files go to your browser's default Downloads folder

📁 File Structure

whatsapp-chat-exporter/
├── README.md                          ← This file
├── LICENSE                            ← MIT License
├── bookmarklet-install.html           ← One-click drag-to-install page
└── src/
    └── whatsapp-chat-exporter.js      ← The core script (well-commented)

❓ FAQ

Q: Does this violate WhatsApp's Terms of Service? A: This tool reads what's already rendered on your screen. It doesn't intercept or modify WhatsApp's network requests. However, always review WhatsApp's ToS before use.

Q: Can WhatsApp detect this? A: It's just JavaScript running in your own browser, same as any browser extension. It doesn't interact with WhatsApp's servers.

Q: Will it export media files? A: Media (images, videos, audio) are marked as [Media file] in the export. The actual files are not downloaded.

Q: How do I export a very long chat? A: Increase "Chat scroll pages" to a higher number. Each scroll loads ~20 more messages. For a year-long chat, try 50–100 pages.

Q: My browser tab crashed during export! A: Export smaller batches (select fewer chats at once) or use a shorter scroll depth. Very long exports use memory.

Q: Does it work on WhatsApp Desktop app? A: The desktop app uses a similar WebView — it may work, but is not officially tested.


🔧 Browser Compatibility

| Browser | Bookmarklet | Console | Notes | |---------|:-----------:|:-------:|-------| | Chrome 90+ | ✅ | ✅ | Recommended | | Edge 90+ | ✅ | ✅ | Same engine as Chrome | | Firefox 88+ | ✅ | ✅ | Works well | | Safari | ⚠️ | ⚠️ | Limited testing |


📝 Export Format Examples

Markdown output:

## 💬 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 output:

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.

📖 中文说明

✨ 功能特性

| 功能 | 说明 | |------|------| | 📥 批量导出 | 勾选多个聊天,一次性全部导出 | | 📝 双格式 | 支持 Markdown (.md) 和纯文本 (.txt) | | 🔄 深度滚动 | 自动向上滚动加载完整历史消息 | | 🗂️ 合并导出 | 所有聊天合并为一个备份文件 | | 🔍 搜索筛选 | 在侧边栏按名称过滤联系人 | | 🔊 声音反馈 | 导出成功/失败有提示音 | | 🔒 完全本地 | 所有操作在浏览器内完成,无数据传输 |


🚀 快速开始

方法一:书签方式(推荐)

👉 打开安装页面

  1. 确保浏览器书签栏可见(Ctrl+Shift+B
  2. 打开 bookmarklet-install.html拖拽绿色按钮到书签栏
  3. 打开 web.whatsapp.com
  4. 点击书签栏中的 "WA Chat Exporter Pro"
  5. 勾选要导出的聊天 → 点击"Start Export" → 完成!

方法二:控制台方式

  1. 打开 web.whatsapp.com
  2. F12Console 标签
  3. 粘贴 src/whatsapp-chat-exporter.js 的全部内容
  4. Enter

🎮 使用指南

启动工具后,WhatsApp Web 右侧会出现一个浮动面板:

  1. 选择导出目标 — 勾选要导出的联系人/群组
  2. 深度爬取设置 — 调整侧边栏滚动深度、聊天滚动页数、延迟时间
  3. 选择格式 — Markdown 或纯文本
  4. 开始导出 — 文件自动保存到浏览器「下载」目录

参数说明

| 参数 | 作用 | 建议值 | |------|------|--------| | Sidebar scroll depth | 侧边栏向下滚动次数,加载更多联系人 | 6–10 | | Chat scroll pages | 每个聊天向上翻页次数,加载历史消息 | 5–50 | | Scroll delay | 每次滚动间隔(秒) | 1.2s | | Merge into one file | 所有聊天合并为一个文件 | 开启 | | File prefix | 文件名前缀 | WhatsApp_Backup |

使用技巧

  • 导出长聊天记录:将 Chat scroll pages 设为 50+,每页约 20 条消息
  • 整站备份:开启合并模式,全选所有聊天
  • 精确定位:先在 WhatsApp Web 搜索框搜索目标联系人,工具会自动检测
  • 文件位置:导出文件保存到浏览器默认「下载」目录

❓ 常见问题

Q: 这违反 WhatsApp 服务条款吗? A: 本工具仅读取浏览器已渲染的内容,不拦截或修改 WhatsApp 网络请求。但建议您自行查阅 WhatsApp 最新服务条款。

Q: 能导出媒体文件吗? A: 图片、视频、音频在导出中标记为 [Media file],实际文件不会被下载。

Q: 如何导出非常长的聊天记录? A: 增大 "Chat scroll pages" 数值。每次滚动加载约 20 条历史消息。

Q: 导出时浏览器卡死怎么办? A: 减少同时导出的聊天数量,或减小滚动深度。


📄 License

MIT © Barry Chen (https://github.com/BarryPI235)


⭐ Star History

If you find this useful, please consider giving it a star on GitHub!