How to Export WhatsApp Chat History on iPhone and Android
In this article
You can export your WhatsApp chat history as a text file (.txt) or PDF by using the built-in "Export Chat" feature. This creates a compressed archive containing your message text and any media files you choose to include, allowing you to read your conversation history outside the app or keep a personal record. Note that this feature exports individual chats one at a time; it does not back up your entire account history to cloud storage.
What You'll Need
- A smartphone with WhatsApp installed (Android or iOS).
- An active internet connection for sending the exported file via email or other apps.
- The contact or group chat you wish to export must be open on your device.
- Sufficient storage space on your phone to generate the temporary export file.
Step-by-Step
- Open the specific chat: Launch WhatsApp and navigate to the individual contact or group conversation you want to save. Ensure you are viewing the correct thread, as the export function applies only to the currently open chat.
- Access chat details: On Android, tap the three-dot menu icon in the top-right corner and select "More," then choose "Export chat." Alternatively, long-press anywhere in the chat area until selection mode activates, then tap the share icon. On iOS (iPhone/iPad), tap the contact’s name or group title at the very top of the screen to open the chat info page, then scroll down and tap "Export Chat." If you are using an older version of iOS, you may find this option under the "Share Contact" section within the same info panel.
- Choose media attachment option: A prompt will appear asking if you want to "Attach Media." You have two choices here:
- No Media: Select this if you only want the text messages. This results in a smaller, faster-to-process file.
- Attach Media: Select this to include photos, videos, voice notes, and documents sent within the chat. Be aware that this can create a very large file, which may take longer to process and could exceed email attachment limits.
- Select export method: Your phone’s native sharing sheet will appear. Choose how you want to send the file. Common options include:
- Email: Sends the file as an attachment to your own email address or another recipient.
- Save to Files/Google Drive: Saves the .zip archive directly to your device’s cloud storage or local file system.
- Other Apps: Allows you to send it via Telegram, Slack, or messaging apps that support file attachments.
- Wait for processing: WhatsApp will compress the chat data into a .zip file. For chats with many media files, this may take several minutes. Do not close the app during this process.
- Verify the export: Once the sharing sheet opens, confirm the file is ready to send. If you chose Email, fill in the recipient field and hit send. If you saved to Files, locate the .zip folder in your designated directory.
Common Mistakes
Expecting a full backup: Many users confuse exporting a single chat with backing up their entire WhatsApp history. Exporting only saves one conversation thread. To back up all chats, you must use the separate "Chat Backup" feature in Settings > Chats > Chat Backup.
Ignoring file size limits: When choosing "Attach Media" for a long conversation with many videos, the resulting file can exceed 25MB (the common limit for Gmail attachments). If the file is too large, email services will reject it. In such cases, use "No Media" or upload the file to cloud storage instead.
Forgetting to unzip: The exported file is always a .zip archive. You cannot open it directly as a readable document. You must extract/unzip the file on your computer or phone before opening the .txt or .pdf contents.
Tips
Use "No Media" for readability: If your goal is simply to read old messages, always choose "No Media." It produces a clean .txt file that opens instantly in any text editor without bogging down your device.
Label your files: When saving to cloud storage, rename the .zip file immediately to include the date and contact name (e.g., "John_Doe_Chat_2023.txt.zip") so you can easily identify it later among other downloads.
Check privacy settings: Remember that exporting a chat includes all messages visible to you in that thread. If you were muted or removed from a group, you may not see all historical messages to export.
Troubleshooting
Export fails or freezes: If the process hangs, check your internet connection. While export works offline, some sharing methods require connectivity. Restart the WhatsApp app and try again. If the chat is extremely large, try exporting in smaller segments by selecting specific dates if your OS allows, though standard WhatsApp export is all-or-nothing per session.
File won’t open: Ensure you are unzipping the file first. On Windows, right-click the .zip file and select "Extract All." On Mac, double-click it. On mobile, use your file manager app to extract the archive before opening the contained .txt file.
Missing messages: If you deleted messages previously, they are gone from the export. Exported chats reflect only what is currently stored in your app’s database for that conversation.
Frequently Asked Questions
Can I export my entire WhatsApp history at once?
No. WhatsApp does not allow bulk exporting of all chats simultaneously. You must export each conversation individually through its respective menu.
Does exporting delete the chat from my phone?
No. The export process creates a copy of the data. Your original chat remains intact in WhatsApp unless you manually delete it afterward.
Is the exported file encrypted?
No. The exported .txt file is plain text. Anyone who gains access to the file can read the messages. Do not share sensitive export files without securing them.
Can I export chats from an old phone to a new one?
Exporting a chat file does not transfer it back into WhatsApp on another device. It is for reading or archiving purposes only. To transfer chats between phones, use the official Google Drive (Android) or iCloud (iOS) backup restore process.
Why is my exported file so large?
If you selected "Attach Media," every photo, video, and audio clip in the chat is included. Removing media by selecting "No Media" significantly reduces file size.