A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the Email Parser page

Herramientas / Automate suite

Email Parser

Paste the raw source of an email and read its decoded headers, body, attachments and routing path.

Encoded subjects and names, base64 and quoted-printable bodies, nested multipart messages and attachments are decoded in your browser. HTML is shown as text and never run. Links are shown and never opened. Attachments are listed and never opened.

Open the toolWhat is insideWhat it cannot do
Screenshot of the Email Parser tool

What is inside

What is inside the tool.

Decoded headers

From, To, Cc, Reply-To, Return-Path, Subject, Date and Message-ID. Encoded words such as =?UTF-8?B?...?= and =?UTF-8?Q?...?= are decoded, and folded header lines are joined with their whitespace kept.

Bodies and attachments

Base64 and quoted-printable are decoded with the part's own charset. Nested multipart messages are walked, with a table of each part. Attachments are listed with their decoded file names and sizes. They are not opened or downloaded.

Routing path

Received headers are listed oldest first with the time between hops when both times can be read. The tool cannot confirm that any hop is genuine from pasted text, and says so.

Header claims, not checks

SPF, DKIM and DMARC values, including fail and neutral, are shown as written in the pasted headers and labelled as reported. The tool cannot verify who wrote a header or that it is authentic, does not check signatures or DNS, and a header you paste proves nothing by itself.

Safe by default

HTML is shown as source text. Scripts do not run, images are not loaded, links are not opened. A link whose visible text names a different host than its target is marked.

Malformed mail is named

A multipart with no boundary, a missing closing boundary, nesting deeper than 8 levels, an unknown charset or no headers at all each produce a finding. Your pasted text is never rewritten.

Open a file or paste

Open a .eml file (up to 5 MB) and the tool reads its bytes exactly, then decodes each part with its charset. Pasted text is decoded as typed.

How to use it

Four steps.

Step 1

Get the raw source. In most mail apps this is called Show original, View source or Download message.

Step 2

Paste it, or open the .eml file.

Step 3

Read the findings first, then the decoded headers, structure and body.

Step 4

Copy the summary if you need to share it. It has headers, findings and structure, and no body.

What it cannot do

Limits.

No authentication

It does not validate SPF, DKIM or DMARC. For that you need the receiving server's own results and DNS.

Not a full MIME engine

S/MIME and PGP parts are listed as parts and not decrypted or verified. Very unusual encodings are shown as undecoded text with a finding where the tool can tell.

No remote content

It never fetches links or images, so it cannot say whether a link is safe or where it leads.

Pasted text has no raw bytes

Text pasted into a page is already characters. For messages that carry 8-bit text in a non-UTF-8 charset, open the .eml file instead.

What it does

What Email Parser does.

Free email source parser in your browser: decodes encoded headers, base64 and quoted-printable bodies, nested MIME parts and attachment names, shows the routing path and reports malformed MIME. Nothing is uploaded, links are not opened.

FunctionWhat it does
What you pasteThe full raw source, or an opened .eml file
Hop timingGap in seconds between hops, oldest first. No time-zone normalization and no delay highlight.
Anti-spam and authentication resultsShown as reported in the pasted header, never verified
Body, attachments, encodingsDecodes encoded words, base64 and quoted-printable, walks nested parts, lists attachments
Where it runsIn your browser tab, nothing uploaded

Common mistakes

Each of these produces a finding.

Trusting a pasted Authentication-Results line

Anyone can type pass, or fail, into a header. The tool labels every value as reported and does not validate it.

A Reply-To that points elsewhere

A different domain in Reply-To or Return-Path is common for support desks and mailing lists, and also used in phishing. The tool notes the difference and does not call the message fake.

A link that says one host and goes to another

The visible text names a host and the target is a different host. The tool marks it. It does not open it.

A multipart message with no closing boundary

The last part may be cut off. The tool says so and shows what it could read.

Questions

Before you ask.

Is my email uploaded?

No. Parsing runs in your browser tab.

Does it tell me if an email is a scam?

No. It shows what the message contains and notes some differences. It does not judge intent.

Does it open attachments or links?

No. Attachments are listed with name and size. Links are shown as text.

Why does the body look different from my mail app?

Mail apps render HTML. This tool shows the HTML source as text on purpose.

What does it cost?

Nothing. No account.

Your data

What stays on your device.

The tool runs in this browser tab. The message you paste or open stays in the page. It does not fetch links or images, run HTML, or open attachments. Nothing is copied or downloaded unless you press Copy summary or Download summary, and the summary leaves out the body.

Keep going

Other tools you may want next.

Sources

Where the facts come from.

Try it

Read what an email really contains

Open Email Parser
A laptop, headphones, a camera, a phone and a plant on a white desk, seen from above, banner image on the Email Parser page

Try it now.

Email Parser runs in your browser. No account needed.

Authored Tiles

One input

Raw message sourceOr a loaded message file
Raw message sourceOr a loaded message file
Paste the raw source of an email, starting with the header lines.

Authored Tiles

Eight headers shown decoded

FromToCcReply-ToReturn-PathSubjectDateMessage-ID
FromToCcReply-ToReturn-PathSubjectDateMessage-ID
The key headers table lists these when present.

Pipeline

How a message is read

Split at the firstblank lineUnfold headerlinesRead the contenttypeWalk each partRender the tables
Split at the first blank lineUnfold header linesRead the content typeWalk each partRender the tables
The parser separates headers from the body, then walks the parts.

Before After

Folded headers become one line

Raw linesParsed headerSubject: part onepart twoSubject: part one part two
Raw lines to Parsed headerSubject: part oneSubject: part one part twopart two
A line that starts with a space or tab continues the one before.

Before After

Encoded words are decoded

In the headerShownBase64 wordQuoted-printable wordReadable text with emojiReadable text with a checkmark
In the header to ShownBase64 wordReadable text with emojiQuoted-printable wordReadable text with a check mark
Subject and names in =?charset?B or Q?...?= form are turned back into text.

Authored Tiles

Three transfer encodings

Base64Quoted-printable, and 7bitor plain
Base64Quoted-printable, and 7bit or plain
The body of each part is decoded by its encoding.

Pipeline

Quoted-printable decoding

Remove equals atline endsFind equals plustwo hex digitsTurn each into abyteDecode bytes withthe charset
Remove equals at line endsFind equals plus two hex digitsTurn each into a byteDecode bytes with the charset
Soft line breaks vanish and hex pairs become bytes.

Before After

Quoted-printable in the sample

Raw textDecodedcaf=C3=A9=E2=82=AC42café€42
Raw text to Decodedcaf=C3=A9café=E2=82=AC42€42
The sample body shows both kinds of escape.

Pipeline

Charset handling

Read the charsetparameterTry a text decoderfor itFall back to UTF-8if unknownAdd a warning forunknown names
Read the charset parameterTry a text decoder for itFall back to UTF-8 if unknownAdd a warning for unknown names
Text parts are decoded with the charset they declare.

Pipeline

Multipart splitting

Read the boundaryparameterFind each boundarylineCut the partsbetween themParse each partagain
Read the boundary parameterFind each boundary lineCut the parts between themParse each part again
Each boundary line separates one part from the next.

Authored Tiles

Warnings about structure

Multipart part has noboundaryNo closing boundary markerNesting deeper than 8levelsUnreadable Date header,and no headers found
Multipart part has no boundaryNo closing boundary markerNesting deeper than 8 levelsUnreadable Date header, and no headersfound
The tool reports these problems instead of hiding them.

Pipeline

How an attachment is recognised

Read thedispositionRead name orfilenameSkip plain andHTML textMark as attachmentDecode the filename
Read the dispositionRead name or filenameSkip plain and HTML textMark as attachmentDecode the file name
A disposition or a file name marks a part as an attachment.

Input To Output

Authentication as written

Authentication-ResultsReceived-SPFSPFDKIMDMARCReaderInOut
InAuthentication-ResultsReceived-SPFReaderSPFDKIMDMARCOut
The header text is read for three results.

Before After

Sample results

In the headerShownspf=passdkim=passdmarc=failSPF pass (reported)DKIM pass (reported)DMARC fail (reported)
In the header to Shownspf=passSPF pass (reported)dkim=passDKIM pass (reported)dmarc=failDMARC fail (reported)
The sample claims two passes and one fail.

Pipeline

Routing path order

Collect ReceivedheadersReverse the listNumber from oldestShow from and byhostsCompute gaps
Collect Received headersReverse the listNumber from oldestShow from and by hostsCompute gaps
Received headers are listed newest first in the source, so the tool reverses them.

Before After

Sample hop gap

Received timeResult09:14:03 first hop09:14:05 second hop2 s gapShown in the Gap column
Received time to Result09:14:03 first hop2 s gap09:14:05 second hopShown in the Gap column
The two sample hops, oldest first.

Before After

Reply-To check

In the sampleFindingFrom: example-bank.comReply-To:other-domain.exampleNote shownSays it is common and alsoused in phishing
In the sample to FindingFrom: example-bank.comNote shownReply-To: other-domain.exampleSays it is common and also used inphishing
A different Reply-To domain is flagged as a note.

Before After

Link text against link target

In the HTML partLink listShown:secure.example-bank.comTarget: evil.exampleFlagged as mismatchBoth addresses listed
In the HTML part to Link listShown: secure.example-bank.comFlagged as mismatchTarget: evil.exampleBoth addresses listed
A shown address that points elsewhere is marked as a mismatch.

Pipeline

Copy or download a summary

Parse the messageWrite headers andresultsAdd findings andpartsCopy to clipboardor saveemail-summary.txt
Parse the messageWrite headers and resultsAdd findings and partsCopy to clipboard or saveemail-summary.txt
The summary leaves out the body.