What is the HTTP Status Code Lookup?
Every HTTP response starts with a three-digit status code that tells the client what happened. The first digit gives the class: 1xx informational, 2xx success, 3xx redirection, 4xx a problem with the request, and 5xx a problem on the server.
This reference covers every standard code from the HTTP specifications, plus the unofficial ones you will meet from nginx and Cloudflare. Search by number or by words like “timeout” or “redirect”, and open any code for when it is used and, for errors, the usual causes and how to fix them.
How to use it
- Type a code (like 404) or a word (like “forbidden”) in the search box.
- Filter by class: 1xx, 2xx, 3xx, 4xx or 5xx.
- Open a code to read when it is used and how to fix it.
- Share a link straight to a code: the address bar updates, for example #429.
Features
- Every standard code. All codes from the current HTTP specification (RFC 9110) and related RFCs, including WebDAV.
- How to fix errors. Common causes and fixes for 4xx and 5xx errors such as 403, 429, 502 and 504.
- Unofficial codes. nginx 444 and 499, and Cloudflare 520–526, clearly marked.
- Instant search. Find a code by number or by words in its name and description.
- Links to a code. Each code has its own link you can share with your team.
- Works offline. The whole reference is on this page; nothing is fetched as you search.
Frequently asked questions
What is the difference between 401 and 403?
401 Unauthorized means you are not authenticated: no valid credentials were sent, so sign in or send a token. 403 Forbidden means the server knows who you are, but you are not allowed to do this.
Should I use 301 or 302 for a redirect?
Use 301 (or 308) when a page has moved for good: browsers cache it and search engines move their ranking to the new URL. Use 302 (or 307) for temporary moves. 307 and 308 also guarantee that a POST stays a POST.
What is the difference between 502, 503 and 504?
502 Bad Gateway means a proxy got an invalid response from the server behind it. 503 Service Unavailable means the server is overloaded or down for maintenance. 504 Gateway Timeout means the proxy waited too long for the server behind it.
When should an API return 400 or 422?
Use 400 when the request cannot be read at all, such as broken JSON. Many APIs use 422 when the request is readable but the data fails validation, such as an invalid email address, and explain which fields are wrong in the body.
What does 429 Too Many Requests mean?
You hit a rate limit. Wait before retrying (check the Retry-After header), retry with exponential backoff, and reduce how often you call the API.
Last updated · Free, no sign-up, runs in your browser.