Convert WhatsApp chat exports into beautiful, printable PDF files.
Supports multi-language text, emoji rendering, image attachments, themes, and more.
- ✅ Multi-Platform Support: Works with both Android and iOS exports
- ✅ Chat Types: Personal, Business, Group, and Disappearing messages
- ✅ Privacy Mode: Option to seal/hide contact names and messages
- ✅ WhatsApp-Style UI: Chat bubbles with proper formatting
- ✅ Media Support: Optional image inclusion at end of PDF
- ✅ Original Timestamps: Preserves exact datetime format
- ✅ Multi-Language: Python, Node.js, and Go implementations
Currently available in:
| Language | Status | Path |
|---|---|---|
| Node.js | ✅ Stable | ./node |
| Python | 🔜 Coming soon | ./python |
| Go | 🔜 Coming soon | ./go |
npm install whatsapp2pdf
whatsapp2pdf chat.zip -o out.pdf➡ Full Node.js documentation:
👉 ./node/README.md
Themes, fonts and default backgrounds are located in:
assets/
fonts/
themes/
- Open WhatsApp chat
- Tap the three dots (⋮) menu
- Select More → Export chat
- Choose With media or Without media
- Save the ZIP file
- Open WhatsApp chat
- Tap contact/group name at top
- Scroll down and tap Export Chat
- Choose Attach Media or Without Media
- Save the ZIP file
MIT © stlong5
If this project saves your time, consider:
- ⭐ Starring the repo
- 🔗 Sharing with friends
- ☕ Supporting via GitHub Sponsor
Made with ❤️ for preserving memories