DiscordAnt logo

DiscordAnt

Save Discord conversations to files on your own PC.

DiscordAnt exports a Discord channel's message history, or everything one person said across a server, to JSON files with their pictures. It logs in through a normal browser (no token needed) and reads at a human pace. Free, open source, one-click Windows installer.

Download for Windows Source code and full guide on GitHub
The DiscordAnt window

What it does

Use it at your own risk. Discord does not allow automating a personal account. DiscordAnt goes slowly on purpose, but nobody can promise an account will not be limited or closed. Not affiliated with or endorsed by Discord.

Questions people ask

How do I export a Discord channel to a file?

Install DiscordAnt, copy the channel's link in Discord (right-click the channel, Copy Link), paste it in, pick the dates and press Start queue. You get a .json file of the messages, oldest first.

Can I save a whole server?

Add each channel you want. A batch keeps that set of channels, and one click later collects whatever is new in all of them.

Can I get everything one person said in a server?

Yes. A user job finds their messages with Discord's own search and saves each one with the conversation around it, as a .json file and a readable .md transcript.

Does it need my Discord token or password?

No. You log in on Discord's own website, in the browser window DiscordAnt opens. It never asks for a token or a password.

Does it save pictures and attachments?

Pictures (attachments and link previews) are saved to disk, full size if you like. Other attachments are listed in the file by name.

How is it different from DiscordChatExporter?

DiscordChatExporter is the best-known exporter: fast, with many output formats, and it works by using an account's token. DiscordAnt never touches a token. It scrolls a real, logged-in browser the way a person would, which is slower, and it can also collect one person's messages across a server. Used with a personal account, both go against Discord's rules.

How long does it take?

About 10,000 to 15,000 messages an hour, on purpose. A queue can run overnight, and a stopped job carries on where it left off.

Is it free? Does it work on Mac or Linux?

It is free and open source (MIT). The installer is for Windows 10 and 11; on Mac or Linux it can be run from source, untested.

More ants

Small, free tools that save things from the web to your own PC.