Start a project

Tool 275 of 425 · HTTP APIs

Multipart Form-Data Builder

Assembles a byte-accurate multipart body from text fields and files and shows the matching curl -F command.

Multipart Form-Data Builder

Your input

Result

Raw request
curl

    01

    What it does

    Assembles a byte-accurate multipart body from text fields and files and shows the matching curl -F command.

    • form-data and mixed
    • Real files read on your device
    • Exact Content-Length
    • Equivalent curl -F command

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    A raw request body and curl, with a Copy and a Download button on every result.

    • multipart/form-data
    • File upload
    • curl

    Why it matters

    When an upload API rejects your request, the cause is usually in the multipart framing: a missing CRLF, a wrong boundary or a bad Content-Type.

    Seeing the raw body next to the curl command makes it clear what a correct request looks like.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Build body. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Should I set Content-Type when using fetch with FormData?

    No. Let the browser set it, because it adds the boundary parameter for you.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk