Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_rightEmail & Calendar Toolschevron_rightEmail Thread ReconstructorEmail Thread Reconstructor

Email Thread Reconstructor

Group exported EML, MSG and MBOX messages into conversation threads using References and In-Reply-To.

upload_file

Click to browse or drag & drop files here

EML, MSG or MBOX files — several at once is fine

Accepted: .eml,.msg,.mbox,.mbx,.txt

Subject fallbackAlso match on subject linesOn: replies whose client stripped References are recovered. Off: only References and In-Reply-To are trusted. The fallback can merge unrelated messages that share a generic subject, so the number it absorbed is reported below.
forumAdd some messagesDrop in a folder of .eml files, an Outlook .msg, an .mbox archive, or any mixture of them. Nothing is uploaded.

Similar Tools

Email Attachment Extractor

Email Attachment Extractor

Pull every attachment out of EML, MBOX and Outlook MSG files at once and save them as a ZIP.

Email Archive Viewer

Email Archive Viewer

Browse an MBOX archive in your browser: search the message list, read any message and save it, without importing anything.

Email File Viewer

Email File Viewer

Open EML and Outlook MSG files in your browser — headers, rendered body, MIME structure and attachments, with no mail client installed.

EML to PDF Batch Converter

EML to PDF Batch Converter

Turn saved emails into archival PDFs — one per message or one merged file, with real selectable text.

Secure Token Generator

Secure Token Generator

Generate cryptographically secure tokens in hex, base64, or base64url format using the Web Crypto API.

PDF Signature Inspector

PDF Signature Inspector

Check a PDF's digital signatures: byte-range integrity, whether the file changed after signing, and the full signer certificate chain.

PDF Grayscale Converter

PDF Grayscale Converter

Convert a color PDF to grayscale by rendering each page and rebuilding the document.

apps

More Tools

Browse our full collection of free online tools.

Why threads have to be reconstructed

A mailbox is a flat pile of messages. The conversation structure lives in two headers: In-Reply-To, naming the message being answered, and References, carrying the whole chain back to the root. Your mail client rebuilds the tree from those every time it shows you a conversation. Once messages are exported to files, that work has to be done again — and most tools that open an export do not do it at all.

The algorithm

This uses Jamie Zawinski's message-threading algorithm, written for Netscape Mail in 1997 and still the correct answer. One container per Message-ID; each message linked under the chain its References names; empty containers pruned; and only then, optionally, a fallback that matches subject lines.

The subject fallback, and why it is a choice

Some clients strip References when a user replies from a phone, or from a webmail interface that rewrites headers. Those replies arrive with nothing to link them to, and subject matching is the only way to recover them. It also, sometimes, merges two unrelated messages that happen to share a generic subject — twelve separate "Re: meeting" threads becoming one.

So the fallback is a toggle, on by default, and the count of roots it absorbed is shown next to the result. If that number is large and the threads look wrong, turn it off and compare. The fallback only ever merges a root that looks like a reply: two non-replies with the same subject are left apart, because they are far more often two announcements than one conversation.

Missing messages are shown

When every reply in a thread names a message that is not in the files you gave, the algorithm produces a container with no message in it. That is a real result and it is rendered as a gap in the tree with its Message-ID, not hidden. Hiding it would quietly reparent its replies and make the thread look shallower than it was.

Formats

EML, Outlook MSG, and MBOX archives, in any mixture, and the format is detected from the bytes rather than the file name. An MBOX is listed from its headers alone, so a large mailing-list archive threads in well under a second; the full message is parsed only when you open it.

Privacy

Everything runs in your browser. No file is uploaded and no network request is made.