Discord Message Scraper avatar
Discord Message Scraper

Pricing

$11.00/month + usage

Go to Apify Store
Discord Message Scraper

Discord Message Scraper

Export Discord messages and chat history. Download conversations from any channel, backup servers, archive threads, and analyze community data. Filter by date range and user. Perfect for data analysis and archival.

Pricing

$11.00/month + usage

Rating

5.0

(2)

Developer

VulnV

VulnV

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

Discord Message Scraper - Export & Download Discord Chat History

Download and export Discord messages, conversations, and chat history from any channel. Perfect for archiving Discord servers, backing up important conversations, or analyzing Discord community data.

Why Use This Discord Scraper?

  • ๐Ÿ’พ Backup Discord Messages - Preserve important conversations and server history
  • ๐Ÿ“Š Export Discord Data - Get structured Discord message data in JSON format
  • ๐Ÿ” Search & Filter - Find specific messages by user, date, or content
  • ๐Ÿงต Include Threads - Export Discord threads along with main channel messages
  • โฐ Date-Based Export - Download Discord chat history for specific time periods
  • ๐ŸŽฏ Easy to Use - Simply provide your Discord token and channel URL

How to Export Discord Messages

Step 1: Get Your Discord Token

Your Discord token is needed to access and download messages:

  1. Open Discord in your web browser
  2. Press F12 to open Developer Tools
  3. Click the Console tab
  4. Paste this code and press Enter:
    (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()
  5. Copy the token that appears (keep it private!)

โš ๏ธ Important: Never share your token with anyone - it provides full access to your Discord account.

Step 2: Get the Channel URL

  1. Open Discord and go to the channel you want to export
  2. Copy the URL from your browser's address bar
    • Example: https://discord.com/channels/123456789/987654321

Step 3: Configure Your Export

Required:

  • Discord Token - Your authentication token from Step 1
  • Channel URL or ID - The Discord channel to download messages from

Optional Settings:

  • Date Range - Export messages only from specific dates
    • Example: Messages from January 2026 only
  • Message Filters - Download only specific types of messages
    • Example: Only messages with images
    • Example: Only messages from a specific user
  • Include Threads - Also export threaded conversations

Common Use Cases

๐Ÿ“š Archive Discord Server History

Export all messages from your Discord server before it closes or for record-keeping.

๐Ÿ’ผ Business Communication Backup

Save important Discord conversations for compliance or reference.

๐Ÿ”ฌ Discord Data Analysis

Download Discord chat data for sentiment analysis, community insights, or research.

๐ŸŽฎ Gaming Community Archives

Preserve your gaming community's Discord history and memorable moments.

๐Ÿ“ Content Creation

Extract Discord conversations to create content, documentation, or training materials.

What You'll Get

Each exported Discord message includes:

  • โœ… Message content - Full text of the message
  • โœ… Timestamps - When the message was sent and edited
  • โœ… Author details - Username, nickname, avatar, bot status
  • โœ… Attachments - Links to images, videos, and files
  • โœ… Reactions - All emoji reactions with counts
  • โœ… Embeds - Rich content like links, images, videos
  • โœ… Mentions - Tagged users and roles
  • โœ… Thread info - Reply chains and thread metadata
  • โœ… Server/Channel - Guild and channel information

Data is exported in structured JSON format, with each message as a separate record for easy filtering and analysis.

Advanced Message Filtering

Use powerful filters to export only the messages you need. Filter syntax mimics Discord's search with additional capabilities.

Filter by User

from:Tyrrrz
from:Tyrrrz#1234

Filter by Content Type

has:link # Messages with links
has:embed # Messages with embeds
has:file # Messages with file attachments
has:video # Messages with videos
has:image # Messages with images
has:sound # Messages with audio

Filter by Mentions

mentions:Tyrrrz#1234

Filter by Text Content

hello world # Has "hello" AND "world"
"hello world" # Has exact phrase "hello world"

Combine Filters (AND)

from:Tyrrrz has:image
from:Tyrrrz & has:image

Combine Filters (OR)

from:Tyrrrz | from:"96-LB"

Use Groups

(from:Tyrrrz | from:"96-LB") has:image

Negate Filters

-from:Tyrrrz # NOT from Tyrrrz
-has:image # Messages WITHOUT images
-(from:Tyrrrz has:image) # Negate grouped filter

Escape Special Characters

from:96\-LB # Escape the dash

Complex Examples

from:Tyrrrz has:image -has:video
(from:user1 | from:user2) & has:link
"important message" mentions:@everyone

Frequently Asked Questions

You can export messages from channels you have access to. Respect Discord's Terms of Service and privacy laws.

How long does it take to export Discord messages?

Export time depends on the number of messages. Small channels (hundreds of messages) take seconds, while large channels (thousands of messages) may take several minutes.

Can I export messages from private Discord servers?

Yes, as long as your Discord account has access to the channel.

What happens to deleted messages?

Only messages currently visible in the channel can be exported. Deleted messages are not included.

Can I export Discord DMs (direct messages)?

This scraper is designed for channels. For DMs, you'll need the specific DM channel ID.

Security & Privacy

  • ๐Ÿ”’ Your Discord token is encrypted and never stored
  • ๐Ÿ›ก๏ธ All exports happen securely within the Apify platform
  • ๐Ÿ” Only you have access to your exported Discord data
  • โš ๏ธ Keep your token private - never share it publicly

Keywords

Discord scraper, Discord message exporter, download Discord chat, export Discord messages, Discord backup tool, Discord history export, Discord data extraction, save Discord conversations, Discord archiver, Discord channel downloader