Skip to content
hateitall

HTTP Status Codes

Find out what a status code means and which one your API should return.

Processed locallyIn: Number, TextOut: Reference

Loading tool…

How to use http status codes

  1. Type a code such as 422, or a word such as redirect or rate limit.

  2. Filter by class, from 1xx to 5xx, or show unofficial vendor codes.

  3. Read the meaning, the typical use and the defining specification.

What this tool does

  • Lists all codes in the IANA HTTP Status Code Registry, with RFC 9110 names such as 413 Content Too Large and 422 Unprocessable Content.
  • Marks which responses are cacheable by default and which codes are deprecated.
  • Includes nginx 444 and 499 and Cloudflare 520 to 530, clearly marked as unofficial.
  • Typing digits matches codes by prefix, so 50 shows every 50x.

How the result is verified

Names and section numbers follow RFC 9110 and the IANA registry; the cacheable flags follow RFC 9110 section 15.1.

Frequently asked questions

What is the difference between 401 and 403?

401 means the server does not know who you are: credentials are missing or invalid. 403 means it knows who you are and still refuses. Signing in again helps with 401, not with 403.

Should I return 400 or 422 for invalid input?

Use 400 when the request cannot be parsed, such as broken JSON. Use 422 when it parses but the values fail validation.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Searchable reference of request and response headers with examples

Text→ ReferenceLight on device

Send GET, POST, PUT, PATCH and DELETE requests from your browser

URL · JSON · Text +→ ResponseModerate on device

Find the MIME type for an extension, or the extensions for a type

Text · Files→ ReferenceLight on device

Turn a curl command into fetch, Axios, Python or HTTPie, and back

cURL · JavaScript→ JavaScriptLight on device