Look up a MIME type by file extension or name, with the caveats that cause real serving bugs.
HTTP Status Code Lookup
Look up an HTTP status code by number or name, with its meaning, when to use it, and the mistake people make with it.
- Free
- No sign-up
- Runs in your browser
Input
Try an example
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter a code or part of a name.
- 2
Each entry gives the meaning, the specification reference, whether it is cacheable by default, and practical guidance on when it is the right choice.
Questions about HTTP Status Code Lookup
When should I use 401 and when 403?
401 means *unauthenticated*, despite being named "Unauthorized" - the client has not proved who it is, and must include a `WWW-Authenticate` header in the response. 403 means authenticated but not permitted: re-authenticating will not help. Getting these the wrong way round is the most common status-code error in APIs.
Is 422 better than 400 for validation errors?
Generally yes. 400 means the request is malformed - broken JSON, a missing required parameter. 422 means the syntax is fine but the content is semantically wrong: well-formed JSON with an invalid email address. The distinction tells a client whether retrying with the same shape could ever work.
Why does 301 need care?
Browsers cache it aggressively and may never re-check, so a mistaken permanent redirect can persist for users long after you fix the server. Use 302 or 307 until you are certain the move is permanent.
Is my data sent anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your input, nothing is written to a server log, and it keeps working with your connection switched off. You can confirm it in the browser’s network panel. That matters more here than elsewhere on the site: developer tools handle tokens, keys and production data.
Does the HTTP Status Code Lookup work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the HTTP Status Code Lookup keeps working with the network switched off and nothing is ever sent to a server.
Related tools
Other tools you might reach for next.
Parse a raw HTTP header block, explain each header, and flag security-relevant and missing ones.
Parse a user agent string into browser, version, engine, operating system and device type, with its caveats.
Format and indent JSON, with optional alphabetical key sorting and a precise syntax error when it will not parse.
Strip every byte of insignificant whitespace from JSON and report the saving.
Check that JSON is syntactically valid, report its structure, and flag duplicate keys that JSON.parse accepts silently.
Compare two JSON documents structurally, by path, distinguishing a type change from a value change.
Evaluate a JSONPath expression against a document and see every match with the path that produced it.