← All Tools

Multipart Body Inspector

Paste a raw HTTP request body, full request including headers, or a saved .txt dump of a multipart/form-data, multipart/related, or multipart/mixed payload. The boundary is auto-detected from the Content-Type header (or guessed from the first line), and each part is broken out with its Content-Disposition name and filename, its declared Content-Type, decoded byte length, and a text preview if it's printable. Binary parts can be downloaded as files.

Notes on multipart parsing

The body is split on lines beginning with --<boundary> using CRLF as required by RFC 7578 / RFC 2046. The terminating --<boundary>-- line marks the end of the multipart entity. Each part is then split into headers and body on the first blank line. Files are kept as raw bytes — Content-Disposition: filename= values may use RFC 5987 extended encoding (filename*=UTF-8''…), which is decoded here. Bodies with non-printable bytes are detected and offered as a download rather than rendered as garbled text.