HTTP Body Formatter — Pretty-Print Request Body

Format JSON, XML, or form-data request bodies. Pretty-print and validate.

The HTTP Body Formatter takes a raw request body (e.g. from a log or capture) and pretty-prints it as JSON, XML, or form-data. Developers use it to inspect payloads before sending, to debug "invalid JSON" by formatting and locating syntax errors, or to compare two request bodies. Often client-side only; no data is sent to a server.

Frequently Asked Questions

Does it validate JSON?

Formatting will fail on invalid JSON; some tools report the line/column of the error.

Can I format form-urlencoded?

Yes. Paste application/x-www-form-urlencoded and the tool parses and displays key-value pairs.

Is my body sent anywhere?

If the tool runs in the browser and does not submit to a server, the body stays on your device.

What about binary body?

Binary bodies are not pretty-printed; use a hex or base64 viewer for those.

Can I export formatted body?

Copy the formatted output and paste into your request builder or documentation.

More Http Tools

Explore Other Tool Hubs