HTTP Status Code Reference
🔒 Runs in your browser
No status code matches your search.
What the five ranges mean
Every HTTP response code falls into one of five classes, identified by its first digit:
1xx informational, 2xx success, 3xx redirection,
4xx client error (something about the request needs to change) and
5xx server error (the server failed even though the request was valid). Knowing
the class alone often tells you who needs to act — the client or the server — before you
even read the exact code.
Built for looking things up fast
Type a code (404), a partial code or class shorthand (4 or
4xx), or a keyword (timeout, teapot) to filter the
list live. Every entry pairs the official meaning with a practical “when to use” note aimed
at people designing an API, so you can pick the right code instead of defaulting to
200 or 500 for everything. The list is bundled with the page — no
network request, no upload, and it works offline once loaded.
Frequently asked questions
What do the different HTTP status code ranges mean?
1xx codes are informational, 2xx mean success, 3xx are redirects, 4xx are client errors (something is wrong with the request) and 5xx are server errors (something went wrong on the server).
How do I search for a code?
Type a full or partial code (e.g. "404" or "4") to filter by number, type "4xx" to see a whole class, or type a keyword like "timeout" or "teapot" to search the name and description.
Which status code should my API return?
Each entry includes a short "when to use" note aimed at API design — e.g. 201 for a successful resource creation, 409 for a conflicting update, or 429 when rate-limiting a client.