Whatsapp Export Unpacker

Utility for unpacking, organising, and transcribing a WhatsApp chat export

About This Project

WhatsApp-Export-Unpacker is a Python utility that processes WhatsApp chat export archives into organised, analysis-ready formats. Users upload an exported ZIP file through a local Flask-based web interface, after which the tool extracts the contents, parses the chat history to identify participants, timestamps, and message types, and reports statistics such as message counts, voice messages, videos, images, and the overall date range. The project reconstructs the conversation as a plain text file, a static HTML page that simulates the WhatsApp interface, and a PDF generated through Typst. Voice messages and the audio tracks of videos can be transcribed using OpenAI's Whisper API, with transcriptions embedded into the reconstructed outputs.

The tool also supports participant anonymization, offering Human Names, Generic, and Codename alias styles as well as custom replacement names. Installation is handled by a shell script that sets up a virtual environment with uv and configures an API key in a .env file, and FFmpeg is required for audio and video processing. Output is organised into elements, analysis, and extracted directories, including a participants JSON file containing per-participant statistics.

The project is intended for digital forensics practitioners, investigators, and legal professionals who need to preserve and present chat evidence with complete media inventories. It may also suit individuals who wish to archive personal chat histories or anonymize conversations before sharing them.

Project Details

Categories

Tags

whatsapp

Explore More Projects