Skip to Content

Where are chats stored in WhatsApp?

WhatsApp is one of the most popular messaging apps in the world, with over 2 billion users. It allows people to easily communicate with friends, family, coworkers, and more through text messaging, voice calls, video calls, and more. With so many messages being sent via WhatsApp every day, many users wonder – where exactly are my WhatsApp chats stored?

WhatsApp Chats Storage on Android

On Android devices, WhatsApp stores your chat history in an encrypted database file located on your phone’s internal storage. The database file is usually located at:

/sdcard/WhatsApp/Databases/msgstore.db.crypt12

This database file contains all your WhatsApp data, including your messages, media files, contacts, settings and more. The file is encrypted using 256-bit AES encryption to keep your chats secure.

In addition to the database file, your WhatsApp media files like photos, videos, voice messages, documents etc. are stored in the WhatsApp media folder at:

/sdcard/WhatsApp/Media

Backups of your WhatsApp data are also stored on your phone’s internal storage, usually under:

/sdcard/WhatsApp/Databases/msgstore-YYYY-MM-DD.1.db.crypt12

Where YYYY-MM-DD is the date of the backup. These backup files allow you to restore your chat history if needed.

Factors Affecting WhatsApp Storage on Android

The amount of storage WhatsApp takes up on your Android device can depend on several factors:

  • Number of chats/groups
  • Frequency of messaging
  • Number of media files exchanged
  • File sizes of media like photos and videos
  • Number and size of backups

Users who are in many chats/groups, send a high volume of messages, exchange a lot of media, and have large backup files will find WhatsApp taking up more storage space on their Android device.

WhatsApp Chats Storage on iPhone

The WhatsApp chat database is stored differently on iPhones compared to Android devices. Here’s where WhatsApp data is stored on iOS:

/User/Library/Databases/ChatStorage.sqlite

This SQLite database file contains your messages, media files info, contacts and other data. As on Android, it is encrypted for security.

Your WhatsApp media files are stored in the Photos app or Files app, under:

/Media/WhatsApp Photos

/Media/WhatsApp Documents

WhatsApp backups on iOS are stored on iCloud Drive by default. You can find them under iCloud Drive > WhatsApp > Chat Storage.

Factors Affecting WhatsApp Storage on iPhone

Similar to Android, the amount of storage used by WhatsApp on your iPhone depends on:

  • Number of chats
  • Frequency of messaging
  • Number of media files exchanged
  • Sizes of the media files
  • Number and sizes of iCloud backups

More chats, media files, and backups will result in higher WhatsApp storage usage on your iPhone.

Managing WhatsApp Storage

Here are some tips to manage your WhatsApp storage usage:

  • Delete old chats you don’t need
  • Clear large media files from chats
  • Enable auto-download only on WiFi to avoid cellular data charges
  • Set auto-download preferences for when to download media
  • Back up chats to Google Drive or iCloud, then delete from phone
  • Limit number of backups stored on cloud
  • Use a file manager to delete unwanted WhatsApp media files

Deleting old chats and media files you don’t need anymore is the best way to free up WhatsApp storage space. Enabling WiFi-only auto-download prevents using too much cellular data. Backing up chats to the cloud allows deleting local copies to save space.

How Are WhatsApp Chats Backed Up?

WhatsApp provides options to back up your chat history and data, allowing you to restore it if needed. Here is how WhatsApp backups work:

Android WhatsApp Backups

  • Backups are saved to your Google Drive account
  • Turn on backup in WhatsApp Settings > Chats > Chat Backup
  • Choose backup frequency – daily, weekly, monthly, or never
  • Backup includes messages, media, and settings
  • Encrypt backup for enhanced security (optional)
  • To restore, uninstall and reinstall WhatsApp and select “Restore” during setup

iPhone WhatsApp Backups

  • Backups are saved to your iCloud Drive account
  • Enable backup in WhatsApp Settings > Chats > Chat Backup
  • Choose backup frequency – daily, weekly, monthly, or never
  • Encryption enabled by default
  • To restore, delete and reinstall WhatsApp and select “Restore” during setup

Backups give you a way to recover your chat history if you lose your device or need to reinstall WhatsApp. Just remember to keep backups enabled and set at a frequency that meets your needs.

Sharing WhatsApp Chats Outside the App

While your chats are securely stored within WhatsApp, you may want to share chat logs outside the app sometimes. Here are some ways to export WhatsApp chats:

Email Chat History

  • Open the chat you want to export
  • Tap More > Email chat
  • Select date range of chats to export
  • Email will be sent with chat log as an attachment

Save Chats to Google Drive or iCloud

  • Enable Google Drive or iCloud backup
  • Backup will include chat history
  • Access saved chats through cloud storage account

Third-party Apps

  • Some apps like iMazing, Dr. Fone, PhoneTrans allow exporting chats
  • Available on both Android and iPhone
  • Offer more options like PDF, HTML, ZIP exports

Using the built-in email chat feature or backing up chats to the cloud are easy ways to export WhatsApp chat logs if needed outside the app.

Conclusion

To summarize:

  • WhatsApp chats are stored in encrypted databases on your device storage
  • Media files are saved in separate folders
  • Backups can be saved to Google Drive or iCloud
  • Managing your backups and deleting old chats can save storage space
  • You can export chats via email, cloud backups, or third-party apps

Understanding how WhatsApp manages and stores your chats helps ensure your data is secure while also giving you access to it if required outside the app. Follow best practices for backing up chats and manage your storage wisely.