Skip to content

WhatsApp Chat Analyzer – Analyze and visualize WhatsApp chat data using Python & Streamlit. Gain insights into message trends, word usage, and user activity.

Notifications You must be signed in to change notification settings

Prarthana-Singh/WhatsApp-Chat-Analyzer

Repository files navigation

WhatsApp Chat Analyzer


📌 Overview

The WhatsApp Chat Analyzer is a Python-based tool built with Streamlit that helps users analyze their WhatsApp chat history by extracting insights like:

  • Total messages sent by each user
  • Most active users in the group
  • Word frequency analysis
  • Most used emojis
  • Chat activity over time
  • Sentiment analysis (optional)

📂 Prerequisites

Before running this project, ensure you have the following:

  • Python 3.x installed
  • requirements.txt dependencies installed

🛠 Installation

# Clone the repository
git clone https://github.com/your-username/whatsapp-chat-analyzer.git
cd whatsapp-chat-analyzer

# Install dependencies
pip install -r requirements.txt

📜 How to Export WhatsApp Chat

  1. Open WhatsApp and navigate to the chat you want to analyze.
  2. Tap on the three dots (⋮) > More > Export Chat.
  3. Select Without Media for better performance.
  4. Save the .txt file and place it in the project folder.

🚀 Usage

Run the Streamlit app with:

streamlit run app.py

📊 Features

✅ Extracts total messages sent by each user
✅ Shows the most active users
✅ Word frequency count
✅ Emoji analysis
✅ Hourly and daily activity visualization
✅ Sentiment analysis (optional)


🌍 Live Demo

The project is deployed on Render. You can check it out here: 🔗 Live Demo


📷 Demo Screenshots

🎨 Visualizations

  • A word cloud of the most frequent words
  • A bar chart of the most active users
  • A timeline graph of chat activity over time

🎯 Future Enhancements

  • Sentiment Analysis
  • User Interaction Network
  • Media Analysis (Images, Videos, Links)

📜 License

This project is open-source and available under the MIT License.


Happy Analyzing! 📊📱


🚀 Connect With Me

📂 GitHub: (GitHub_Link)
💼 LinkedIn: (LinkedIn_Link)
📺 YouTube: (YouTube_Link)

🔔 Star this repo ⭐ to stay updated!

About

WhatsApp Chat Analyzer – Analyze and visualize WhatsApp chat data using Python & Streamlit. Gain insights into message trends, word usage, and user activity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages