TechnSols
Advertisement

MIME Header Inspector

MIME Header Inspector: parse pasted MIME headers free online. See media type, charset, boundary and structure. No install or sign-up.

Be the first to rate this tool

Paste MIME headers, then press Inspect MIME Headers.

What Is MIME Header Inspector?

MIME Header Inspector is a free online tool by TechnSols that reads pasted MIME headers and shows the MIME structure behind them. Paste a block of headers and the tool breaks the Content-Type value into its media type, subtype, charset, boundary and other parameters, then lists every header in plain language. It answers the simple question of what a message or a file part actually is, before any body content is opened or decoded.

Advertisement

MIME stands for Multipurpose Internet Mail Extensions, and it is the system that lets one message carry plain text, HTML, images and attachments at the same time. Every part carries its own Content-Type header, and the top level header names the boundary string that separates the parts. When that header is wrong, the parts do not separate, the charset is guessed, or an attachment opens as gibberish. The inspector makes the header readable so the fault can be found in seconds. It differs from the EML Header Parser tool, which reads email routing headers such as From, To and Received, while this tool reads the MIME headers that describe content type, boundaries and encodings.

The tool works on pasted headers only. It does not fetch mail, it does not open a mailbox, and it does not download any file. Paste the headers, press the button, and read the structure. The result downloads as a short text summary for a ticket or a bug report. Nothing leaves the browser at any point.

How To Use MIME Header Inspector?

Using MIME Header Inspector takes less than a minute, with no software to install and no account to make. The only input is text, so the tool works on any device with a browser.

Step 1: Paste The MIME Headers

Copy the header block from the message, the API response or the server log and paste it into the box. A typical block starts with a Content-Type line and may also carry Content-Transfer-Encoding, MIME-Version and Content-Disposition lines. The example in the box shows a multipart message and works as it stands for a first run. If the headers came from a web response instead, the HTTP Header Checker tool fetches live headers from a URL for comparison.

Step 2: Press Inspect MIME Headers And Read The Structure

Press Inspect MIME Headers and read the result. The first lines name the media type and subtype, then the charset, the boundary and any other parameters, each on its own line. The remaining lines list the other headers found, such as the transfer encoding and the MIME version. A warning appears when a multipart type has no boundary, when a line has no colon, or when no Content-Type header is present at all.

Step 3: Download The Result Summary

Press Download on the result row to save a short text file with the headers that were pasted and the structure that was found. Keep the file with the bug report so the next person sees exactly the same headers. The download is plain text and opens in any editor.

Why Use MIME Header Inspector?

MIME headers are small, and a small mistake in one of them causes a large and confusing failure somewhere else. Reading the raw header is hard because one value packs several facts into a single line.

A Single Line Hides The Whole Structure

One Content-Type line can state the media type, the charset, the boundary and a file name all at once, and a tired eye can miss any of them. The inspector pulls each fact out onto its own line, so a present boundary and a missing charset are both seen at once. For a quick check of structured text that came back with the headers, the JSON Formatter tool lays out JSON the same way.

A Missing Boundary Breaks The Message

A multipart message without a boundary cannot be split into parts, because the boundary string is the only marker that says where each part ends. Mail clients then show the whole body as one block of raw text, or they drop the attachments entirely. The inspector flags a multipart type with no boundary before the message is sent, which is far cheaper than debugging it after delivery.

Wrong Charset Garbles The Text

A message written in UTF-8 and read as Windows-1252 turns accented letters into strange characters, and the fault looks like a broken message rather than a wrong header. The charset parameter tells the reader which character set to use, so checking it first saves a long hunt through the body. The HTML Element Inspector tool is a useful next step when the garbled text sits inside an HTML part, and the MIME types guide page lists the common media types and their meanings.

What Can You Do With MIME Header Inspector?

The inspector fits anywhere a MIME header has to be understood, checked or explained, from email debugging to API work and file uploads.

Check An Upload Form Boundary

A form that uploads files sends a multipart request with a boundary the server must match exactly. When the boundary in the header does not match the boundary in the body, the upload fails or arrives empty. Paste the request headers into the inspector and confirm the boundary value, then compare it with the body. When the address behind the upload also needs checking, the URL Parser tool breaks the request URL into its parts.

Debug A Download With The Wrong Type

A file that downloads as the wrong type usually has a Content-Type header naming the wrong media type, such as text/plain for a real PDF file. The browser then displays the file instead of downloading it, or downloads it with the wrong extension. Paste the response headers, read the media type, and the cause is clear. The fix belongs on the server, and the inspector shows exactly which header value has to change.

Learn How Multipart Messages Fit Together

A multipart message is a tree: a top level part naming a boundary, and inside it a plain text part, an HTML part and one part per attachment, each with its own headers. The inspector shows the top level of that tree in plain language, which makes the structure easy to teach and easy to learn. When the message also carries links that need checking, the Website Link Crawler tool follows the links inside the message and reports which ones work.

Quality And Settings

The inspector has no quality setting to tune, because parsing a header is exact work, not a matter of taste. The settings that matter are the headers themselves, and the tool reads them exactly as pasted, without changing a character.

Advertisement
  • Folded headers are unfolded first, so a long header split across two lines is read as one logical value.
  • Parameters are split on semicolons outside quotes, so a boundary value that contains a semicolon inside quotes stays whole.
  • Quoted parameter values lose their quotes in the result, so a boundary shows as the plain string the parser must match.
  • Duplicate headers are kept as separate rows, because a message can legitimately carry the same header more than once.
  • A body pasted after the headers is ignored, and the result says so, so only the headers are inspected.

When a header cannot be parsed, the error message names the problem and gives an example of a header block that works. Compare the parsed result with the original headers before relying on it.

How MIME Header Inspector Works?

The tool splits the pasted text at the first blank line, where the headers end and the body begins. Each header line is then split at its first colon into a name and a value. Lines that start with a space or a tab are folded continuation lines, and the tool joins each one back to the line above it before parsing.

The Content-Type value is split on semicolons outside quoted strings, so the first piece is the media type and each later piece is a parameter in name equals value form. The media type is split at its slash into a top level type and a subtype, and the parameters are read one by one. A multipart type is checked for a boundary, and the absence of one is reported as a warning rather than ignored. The Robots.txt Generator tool follows the same paste and inspect pattern, and the RFC 2045 standard page defines the MIME format that this parsing follows.

Privacy

MIME Header Inspector runs entirely in the browser. The pasted headers and the shown structure never leave the device, and nothing is uploaded or stored anywhere. There is no account and no tracking, and closing the page clears everything. When structured data also needs a local check, the JSON Validator tool works the same way, with everything running locally and nothing sent away.

Because nothing is stored, there is also nothing to delete and nothing to export. The downloaded text file is the only record, and it lives wherever the browser saves downloads. Headers can still carry sensitive detail, such as a file name, so the downloaded file should be shared with the same care as the original headers.

Tips

A few habits make MIME headers much easier to work with, and they cost nothing to adopt.

  • Copy the headers from the raw source view, not from a rendered message, because rendering can hide them.
  • Check the boundary first when a multipart message fails, because a missing or mismatched boundary is the most common cause.
  • Check the charset second when text looks garbled, because the wrong charset is the next most common cause.
  • Keep the quotes around a boundary value when copying it, since the parser reads both forms as the same string.
  • Test with the example in the box before pasting real headers, so the shape of the result is familiar when real data arrives.

When a message has no Content-Type header at all, the tool says so plainly instead of guessing a type, and the sender must be asked for the missing header. For a check of the address a message came from, the User Agent Parser tool reads client strings the same way.

More Tools For The Same Job

The tools below solve the jobs that sit next to MIME headers on the same bench.

FAQ

The questions below cover the points that come up most often when MIME headers are inspected for the first time.

What Is A MIME Header?

A MIME header is a name and value pair that describes a message or a part of a message. The most important one is Content-Type, which names the media type and carries parameters such as charset and boundary. Other MIME headers name the transfer encoding, the MIME version and the disposition of a part, such as inline or attachment.

What Does Multipart Mixed Mean?

Multipart mixed means the body holds several independent parts, each with its own headers, separated by a boundary string named in the Content-Type header. It is the usual form for a message with attachments, where one part is the text and each further part is a file. The boundary must match exactly, or the parts cannot be split apart.

Why Is The Boundary Missing In My Headers?

A multipart type without a boundary usually means the header was copied incompletely, or the sender built the header by hand and left the boundary out. Check the raw source view of the message for the full Content-Type line, and paste the whole block again. If the boundary is absent, the message is malformed and the sender must fix it.

Does The Tool Read My Email?

No, the tool reads only the text that is pasted into it. It does not connect to a mailbox, it does not fetch mail, and it does not store anything. The pasted headers stay in the browser, and closing the page clears them. Only the downloaded text file remains, in the downloads folder of the device.

Is MIME Header Inspector By TechnSols Free?

Yes, MIME Header Inspector by TechnSols is completely free to use online, with no sign up, no install and no limit on the number of inspections. It runs in the browser, nothing is uploaded, and the text summary downloads free too. The tool works the same way on every visit, with no account and no payment step.

MIME headers stop being a puzzle once each value is laid out on its own line, and the inspector keeps that layout close at hand for every message and upload that needs checking. Paste the headers, read the structure, fix the faulty value, and move on.

Follow TechnSols on Google
Add TechnSols as a preferred source to see more of our tools in Google Search.
Add to Preferred Sources
Advertisement