Skip to content

About

A single-file, browser-based viewer for WhatsApp chat exports. Drop your .zip in, browse the chat, redact anything sensitive, and print a compact 4-up PDF. Everything runs in your browser — no upload, no server, no account.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

WhatsApp Chat Viewer

whatsapp-chat-viewer-repo-image

A single-file, browser-based viewer for WhatsApp chat exports. Drop your .zip in, browse the chat, redact anything sensitive, and print a compact 4-up PDF. Everything runs in your browser — no upload, no server, no account.

Features

  • Reads WhatsApp exports from both iPhone ([M/D/YY, H:MM:SS AM/PM] Sender: message) and Android (M/D/YY, HH:MM - Sender: message) exports.
  • Renders text, images, video, audio, and document attachments straight from the zip.
  • 4-up portrait print view — 4 quadrants per A4 sheet with real DOM-measurement packing.
  • Year separator sheets — two blank pages appear between each year's messages when printing.
  • Redact mode — click a bubble or image to black-box it entirely, or drag-select any substring to redact just that slice. Click a black slice to un-redact.
  • Redactions persist in localStorage per chat, and can be exported / imported as JSON.
  • Hide images toggle strips all media from both the on-screen view and the printed output (the packer re-packs so the reclaimed space is used).

Use it

Hosted: open index.html in any modern browser (or visit the Github Pages URL for this repo).

Local: clone the repo and open index.html — nothing to build, nothing to install.

Export a WhatsApp chat

  • iPhone: open the chat → tap the contact/group name → scroll down → Export Chat → Attach Media → save the .zip.
  • Android: open the chat → menu ⋮ → More → Export chat → Include Media → save the .zip.

You can also drop a raw _chat.txt if you only have the transcript.

Privacy

The tool loads a ZIP file into your browser and turns each media file into a temporary blob: URL. Nothing leaves the page. localStorage only stores redaction metadata (element indices + redacted text) — no message content.

Deploy on Github Pages

  1. Push this repo to Github.
  2. Settings → Pages → deploy from main / root.
  3. Visit https://<user>.github.io/<repo>/.

License

MIT.

About

A single-file, browser-based viewer for WhatsApp chat exports. Drop your .zip in, browse the chat, redact anything sensitive, and print a compact 4-up PDF. Everything runs in your browser — no upload, no server, no account.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages