Skip to content

Menu

HTTP Status Codes

Quick reference for all HTTP status codes with descriptions, use cases, and troubleshooting tips.

Runs entirely in your browserAPI & HTTPFree, no sign-up
Loading tool

01What is HTTP Status Codes?

HTTP Status Codes is a searchable reference for the status codes you will actually meet, grouped into the five classes: 1xx informational, 2xx success, 3xx redirection, 4xx client error and 5xx server error. Names and meanings follow RFC 9110 (HTTP Semantics, 2022), which replaced RFC 7231, and the IANA HTTP Status Code Registry. Codes from extension RFCs are included too, such as 103 Early Hints, 425 Too Early, 429 Too Many Requests and 451 Unavailable For Legal Reasons, along with the WebDAV codes (207, 208, 507, 508). That means the current official names: 413 is Content Too Large and 422 is Unprocessable Content, not the older Payload Too Large and Unprocessable Entity you will still see in many frameworks. 418 is listed for what it really is: a reserved, unused code left over from an April Fools' RFC, not something to return from an API. Codes that are deprecated or obsoleted in the registry, such as 102 Processing and 510 Not Extended, are marked as such. Vendor-specific codes like Cloudflare's 52x range or Nginx's 499 are not included because they are not part of HTTP. Each row shows the code, name and a one-line description; click it to see a typical use case and the details that matter in practice, such as which header the response must carry. The search box matches code numbers, names, descriptions and use cases, so typing "redirect", "cache" or "42" narrows the list. Everything runs in your browser. A quick example: search for 42 and you get 421, 422, 425, 426, 428 and 429 together, which is handy when you half remember a number. Click 401 and the detail reminds you that it really means unauthenticated, and that the response must include a WWW-Authenticate header. Compare that with 403 Forbidden, which is for a client the server will not allow in. The list is a reference, not a tester. It does not send requests or check what your server returns, and the descriptions are short summaries, so read the RFC section itself when the edge cases matter.

API designers and backend developers who need the current RFC 9110 name and required headers for a status code before writing a response or an error contract. The tool runs entirely in your browser, so your data never leaves your device.

02How to use HTTP Status Codes

  1. Scroll the five class groups, or click a group header to collapse it
  2. Type a code number or a keyword in the search box; the result count appears on the right
  3. Click a code to expand its common use case and details
  4. Use the Copy code button to copy the number

03Worked examples

Input: 401
Result: 401 Unauthorized · The client must authenticate itself to get the requested response.
Typical cause: Missing or invalid authentication token/credentials.
Input: 404
Result: 404 Not Found · The server can not find the requested resource.
Typical cause: Deleted resource, typo in URL, resource that never existed.
Input: 422
Result: 422 Unprocessable Content · The request was well-formed but was unable to be followed due to semantic errors.
Typical cause: Validation errors: valid JSON but with invalid field values or business logic violations.
Input: 429
Result: 429 Too Many Requests · The user has sent too many requests in a given amount of time.
Typical cause: Rate limiting, API throttling, brute force protection.
Input: 502
Result: 502 Bad Gateway · The server, acting as a gateway, got an invalid response from the upstream server.
Typical cause: Reverse proxy (Nginx/Apache) can't reach the application server, upstream crash.

04Common use cases

  • Looking up what a 421 Misdirected Request or 425 Too Early means while debugging an HTTP/2 or CDN setup
  • Choosing between 301, 302, 303, 307 and 308 when a redirect must or must not keep the POST method
  • Picking the right 4xx code for an API error: 400 for malformed input, 409 for a state conflict, 422 for a valid but unprocessable body
  • Telling a 502 (bad upstream response) apart from a 504 (upstream timeout) when reading reverse-proxy logs
  • Checking current RFC 9110 names before writing API documentation
  • Deciding between 401 and 403 when a logged-in user hits a route their role cannot access

05Tips

  • A 401 response must carry a WWW-Authenticate header and a 405 response must carry an Allow header; many APIs forget both
  • Use 204 No Content for a successful DELETE or PUT that has nothing to return; a 204 must not have a body
  • If a redirect target must receive the same method and body, use 307 or 308; browsers may turn a POST into a GET on 301 and 302
  • Send Retry-After with 429 and 503 so well-behaved clients know when to come back

06Related concepts

RFC 9110, IANA status code registry, REST API design, Retry-After.

Frequently Asked Questions

What is HTTP Status Codes?

HTTP Status Codes is a free, browser-based developer tool on AIDToolStack. Quick reference for all HTTP status codes with descriptions, use cases, and troubleshooting tips. It requires no installation or sign-up and works entirely in your browser.

Is HTTP Status Codes free to use?

Yes. No sign-up, no fees and no usage cap.

Does HTTP Status Codes store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe