A Chrome extension to scrape Discord channels and export media/messages with filters, batching, and a built-in viewer.
- Scrapes messages from selected Discord channels
- Downloads media/files in organized folders
- Exports message data (JSON / CSV / TXT)
- Opens scraped data in a local viewer
- Multi-channel scraping (channels grouped by category)
- File type filters: Images, Videos, Archives, PDFs, Audio, Code, Docs, Messages
- Advanced filters: date range, author, text search
- Concurrent download control (3 / 5 / 8 / 10)
- Resume support for interrupted scrapes
- Recent scrape history and channel preview
- Stats for count and file sizes (total/avg/min/max)
- Open
chrome://extensions/ - Enable Developer mode
- Click Load unpacked
- Select this repository root folder
- Open
https://discord.com - Click the extension icon
- Use Get Token from Discord (or paste token manually)
- Select server + channels
- Select download types and optional filters
- Click Start Scraping
- Use Download All, Copy URLs, or View in Viewer
Downloads are organized by server/channel/type (for example, media and files go into separate folders), and message exports are available in JSON/CSV/TXT.
- Intended only for content you are authorized to access
- Keep your Discord token private
- Token is stored locally by the extension
manifest.json— Chrome extension manifest (MV3)popup.html/popup.js/styles.css— extension popup UI + scraping workflowbackground.js— background service workerviewer/— Next.js viewer app for browsing exported dataicons/— extension assets
- Chrome browser for extension testing
- Node.js (for the
viewer/app)
- Make changes in root files (
popup.js,background.js, UI files) - Reload the unpacked extension in
chrome://extensions/ - Re-test on
discord.com
cd viewer
npm ci
npm run devOther useful commands:
cd viewer
npm run build
npm run start
npm run lintNote:
npm run lintmay prompt for initial ESLint setup if no ESLint config has been generated yet.
The repository includes a packaged extension zip (discord-scraper-v1.6.0.zip).
For manual repackaging, zip the extension root files and required assets (manifest.json, scripts, styles, icons/, viewer/ static files).