WhatSoup is a web scraper that exports your entire WhatsApp chat history to plaintext, CSV, or HTML formats. I made it after discovering that WhatsApp limits exports/backups to a maximum of 40k messages, plaintext exports only, and completely skips/deletes messages that have media attached to it (more background is on my blog if you care to read).