DEV Community

Cover image for ๐Ÿ’ฌ WhatsApp Chat Analyzer: Your whole chat history, analysed โ€” without uploading a single message
Tomaz
Tomaz

Posted on Originally published at tooladda.online

๐Ÿ’ฌ WhatsApp Chat Analyzer: Your whole chat history, analysed โ€” without uploading a single message

โšก 10-second version

Export a chat from WhatsApp, drop the _chat.txt into tooladda.online/whatsapp-chat-analyzer.html, and get message counts, activity heatmaps by hour and weekday, a word cloud, emoji rankings and response-time stats.

โ— Important

This is the tool where "no upload" stops being a nice-to-have. A chat export is years of private conversation between real people โ€” some of whom never agreed to anything. Every message is parsed inside your browser. Nothing is transmitted, nothing is stored, and closing the tab ends it.


๐Ÿ“ค Getting the export right (and the format gotcha)

In WhatsApp: open the chat โ†’ โ‹ฎ / chat name โ†’ Export chat โ†’ Without media (a with-media export is enormous and the analyzer only needs the text).

You'll get _chat.txt โ€” or WhatsApp Chat with Name.txt โ€” and its format differs by platform, which is why many analyzers fail on half of all exports:

Platform Line format
iOS [15/01/2024, 21:04:33] Rahul: message text
Android 15/01/2024, 21:04 - Rahul: message text

The date order also follows the phone's locale โ€” 15/01/2024 in most of the world, 01/15/2024 on a US-configured device. Get that backwards and every chart is wrong, silently: your "busiest month" is nonsense. This parser detects the platform format and the date ordering rather than assuming one.

Also in the file: system lines (Messages and calls are end-to-end encrypted, X added Y, โ€Žimage omitted) that are not messages from anyone. Counting those as messages inflates whoever happened to create the group.


๐Ÿงญ How it works

Diagram


โœจ What's inside

### ๐Ÿ“Š Per-person breakdown Messages, words, average message length, media count. In a group of twelve, it's usually three people doing 80% of the talking โ€” and now you can prove it. ### ๐Ÿ• Activity heatmaps By hour of day, day of week and month. The hour-of-day chart is the interesting one: it shows the actual rhythm of a friendship or a team.
### โฑ๏ธ Response times Median time to reply, per person. Genuinely revealing, and the stat most people open this tool to find. ### ๐Ÿ˜‚ Emoji rankings & word cloud Most-used emoji per person, and the words that dominate the conversation. This is the part people screenshot.

๐Ÿ› ๏ธ What people use it for

Situation What they find
๐ŸŽ Anniversary or birthday gift "We've sent 47,000 messages" โ€” printed as a chart.
๐Ÿ‘ฅ Group chat wrapped Year-in-review stats to post back into the group.
๐Ÿ’ผ Work group audit Whether a "quick coordination" group is eating everyone's evenings.
๐Ÿ“ˆ Personal curiosity Your own activity pattern โ€” often not what you assumed.
๐ŸŽ“ Data-viz practice A real, messy dataset you already have.
๐Ÿ“‰ Noticing a drift When a conversation started thinning out.

๐Ÿ“– Four steps

1.  Export โ†’  WhatsApp โ†’ chat โ†’ Export chat โ†’ WITHOUT media
2.  Open   โ†’  tooladda.online/whatsapp-chat-analyzer.html
3.  Drop   โ†’  the _chat.txt file
4.  Exploreโ†’  charts, rankings, response times
Enter fullscreen mode Exit fullscreen mode

โ–ถ Analyze now โ€” tooladda.online/whatsapp-chat-analyzer.html

โš ๏ธ Warning

A group chat export contains other people's words. Local processing protects it technically โ€” it doesn't decide the ethics for you. Sharing a stats screenshot back into the group is usually fine and fun. Analysing someone's chat without their knowledge, or publishing message content, is not. Think before you screenshot.

๐Ÿ’ก Tip

Always export without media. The with-media export can run to gigabytes and adds nothing โ€” the analyzer reads the text file, and media just show up as image omitted lines it counts for you anyway.


โ“ FAQ

Is it free? Are my messages uploaded?

Free, and no โ€” every message is parsed inside your browser. Nothing is transmitted or stored. Open the Network tab while it runs and you'll see it.

How do I export a chat from WhatsApp?

Open the chat โ†’ โ‹ฎ or the chat name โ†’ Export chat โ†’ Without media. You'll get a .txt file.

How big a chat can it handle?

Limited by your device's memory. Exports with hundreds of thousands of messages are workable on a normal laptop โ€” and would be a serious privacy problem to upload anywhere.

Does it work with iOS and Android exports?

Yes โ€” the two use different line formats, and the parser detects which one you have.

My dates look wrong. Why?

Date order follows the exporting phone's locale (DD/MM vs MM/DD). Check the detected setting; getting it backwards quietly corrupts every time-based chart.

Can it read a chat backup or a database file?

No โ€” only the plain text export. Encrypted backups aren't readable, and that's by design.

Does it work on group chats?

Yes, with per-participant breakdowns. Groups are where the stats get most interesting.


๐Ÿ”ฌ Under the hood

  • Vanilla JavaScript parser handling both iOS and Android export formats, with locale-aware date detection.
  • System and media-placeholder lines are classified separately so they don't inflate message counts.
  • Charts rendered client-side; no analytics library phoning home with your data.
  • No upload endpoint exists. Works offline once loaded.

Originally published on ToolAdda, where WhatsApp Chat Analyzer runs free in your browser โ€” nothing is uploaded, nothing leaves your device.

Top comments (0)