HTTP Response Formatter
Format raw HTTP responses, clean JSON bodies, inspect status lines, headers, cookies, cache headers, and response details directly in your browser.
Paste a raw HTTP response from logs, DevTools, proxy tools, API clients, gateway traces, or debugging notes.
Formatting Options
Formatted Output
Formatted HTTP response output will appear here.
Formatting Raw HTTP Responses for Easier Debugging
Raw HTTP responses are useful because they show exactly what came back from a server: status code, headers, cookies, cache behavior, redirect location, content type, and body data. But they can be hard to read when everything is copied from logs or proxy tools.
This HTTP Response Formatter turns a raw response into a cleaner view. It formats JSON bodies, separates headers, highlights useful response details, and keeps cookie values hidden by default when you copy output.
Cleaning Up an HTTP Response
- Paste a raw HTTP response into the input box.
- Choose how the response body should be formatted.
- Keep cookie values hidden if you plan to share the output.
- Review the status, headers, cookies, and body preview.
- Copy the formatted response, summary, or headers-only output.
Common HTTP Response Formatter Use Cases
- Formatting API responses copied from logs or proxy tools.
- Cleaning JSON response bodies before sharing them.
- Checking status codes, content type, redirects, and cache headers.
- Inspecting Set-Cookie values and cookie attributes.
- Preparing a cleaner response example for tickets or notes.
- Debugging why an API response behaves differently than expected.
Example HTTP Response
HTTP/1.1 200 OK
Content-Type: application/json
Set-Cookie: session_id=abc123; Path=/; HttpOnly; Secure
{"success":true,"items":[1,2,3]}Cookies, Headers, and Shared Debug Notes
HTTP responses can include Set-Cookie headers with real session values. This tool hides cookie values by default so copied output is safer to paste into a ticket, note, or chat message.
If the response contains private user data, tokens, or production values, replace them with safe examples before sharing the output with anyone else.
Frequently Asked Questions
What does an HTTP response formatter do?
It formats a raw HTTP response into a cleaner view with status, headers, cookies, and body content separated.
Can this format JSON response bodies?
Yes. Auto mode detects JSON content types and JSON-looking bodies, then formats the body when possible.
Does this send the response anywhere?
No. The response is formatted directly in your browser.
Why are cookie values hidden?
Cookie values may contain session data. Hiding them makes copied output safer to share.
Is my HTTP response uploaded anywhere?
No. Formatting happens directly in your browser, and your response data is not uploaded to a server.
