How to read HTTP status codes
Every response from a web server starts with a three-digit code grouped by class: 1xx informational, 2xx success, 3xx redirection, 4xx client errors (the request was wrong), and 5xx server errors (the server failed).
The ones you'll actually see
- 200 OK — the request succeeded. The most common code on the internet.
- 301 / 308 — moved permanently. Browsers and search engines update the address.
- 404 Not Found — the URL doesn't exist. Check for typos, renamed pages or broken links.
- 429 Too Many Requests — you've been rate-limited. Back off and respect the Retry-After header.
- 500 / 502 / 503 / 504 — the server (or something behind it) is failing. 503 means "try again later" is expected.
Debugging workflow
Open your browser's developer tools (F12) → Network tab → reload the page. Every request shows its status code, letting you spot redirect loops (3xx), blocked resources (403/404), or failing APIs (5xx) in seconds. For API work, curl -i shows the status line of any endpoint.
Formats, sizes and other limits
The reference is a static table rendered by render(): code, canonical reason phrase, class (1xx informational through 5xx server error) and a plain-language note about when it is appropriate. Filtering matches the number and the description at once, so searching for "cache" finds 304 and searching for 429 finds rate limiting. The reason phrases follow the registry rather than any single framework's wording.
Where it stops working
Codes are stable; semantics are not. A 200 with an error body, a 302 where 303 was intended, or a 403 used to mean "not logged in" are all common and all outside what a reference can police. Vendor and framework extensions (Cloudflare's 5xx variants, nginx's 499) are not in the registry and are not covered here. Nothing about your own service is checked.
Privacy: nothing is uploaded
This is a static reference rendered locally; the page makes no request and cannot tell which codes your own service returns.
Frequently asked questions
What is the difference between 401 and 403?
401 means the request lacks valid credentials; 403 means the credentials are understood but insufficient. Using 401 without a WWW-Authenticate header confuses clients.
When should I use 422 instead of 400?
400 for malformed syntax, 422 when the syntax is valid but semantically wrong — though many APIs simply use 400 for both, and consistency matters more than purity.
Why is 418 in the list?
Because it is registered as an April Fools' joke and remains in the registry. It is not a code to use in production.