To export a WhatsApp chat, open the conversation, tap "More options" > "More" > "Export chat."