Free tool · Developer tools
HTTP status codes
Search 63 HTTP status codes from the IANA registry by number or word and get what each means, its class, when it is used and which headers go with it.
- Free
- No sign-up
- Runs in your browser
404 Not FoundThe client seems to have made a mistake.
The server has no current representation for the target, or will not say that it has one.
- 4xx Client error
- RFC 9110, section 15.5.5
- Cacheable by default
- Typical use and what to do
- A missing page or a wrong URL. If the page is gone for good, 410 says so more clearly. If it moved, redirect with 301 or 308.
- Often confused with
How to use the HTTP Status Code Lookup
- Type a number such as 404, the start of one such as 40, a class such as 5xx, or a word such as redirect in Search by number or word.
- Type two codes, such as 401 vs 403, to compare them side by side.
- Use Class or Common codes to narrow the list, and press a row to open that code.
- Read the meaning, typical use and headers, then press Copy to copy a one-line summary.
What do HTTP status codes mean?
An HTTP status code is the three-digit number in a server's response that says how the request went. The first digit gives the class, so a client that does not know a code can still react to it. RFC 9110 says a client must treat an unrecognized code as the x00 code of its class. A 471, for example, is handled like a 400. All valid codes are from 100 to 599.
The tool lists 63 entries from the IANA HTTP Status Code Registry: 4 informational, 10 successful, 9 redirection, 29 client error and 11 server error. Each shows its registry name, a plain one-line meaning, a typical use, the headers the RFCs tie to it, and the RFC section that defines it. Codes from RFC 9110 link to that section. Others, such as 429 from RFC 6585 and 207 from RFC 4918, name their own RFC.
Search accepts a full code (404), a prefix (40 lists 400 to 409), a class (5xx) and words from the meaning or the name. Words such as "rate limit", "timeout" or "redirect" find the codes that describe them.
| Class | Name | Meaning | Codes listed here | Examples |
|---|---|---|---|---|
| 1xx | Informational | An interim response, sent before the final one. | 4 | 100, 101, 103 |
| 2xx | Successful | The request was received, understood and accepted. | 10 | 200, 201, 204 |
| 3xx | Redirection | The client must take a further step to complete the request. | 9 | 301, 302, 304 |
| 4xx | Client error | The client seems to have made a mistake. | 29 | 400, 401, 404 |
| 5xx | Server error | The server knows it failed or cannot perform the request. | 11 | 500, 502, 503 |
What is the difference between 301 and 302?
A 301 means the resource has moved permanently, and later requests should use the new address from the Location header. A 302 means the resource is temporarily somewhere else, so the client should keep using the original address. A page that moved for good should get a 301, and a short detour such as a maintenance page a 302.
There is a second difference, about the request method. Historically, a client that follows a 301 or a 302 may change a POST into a GET. That is the reason 307 and 308 exist. A 307 is the temporary redirect that must not change the method, and a 308 is the permanent one that keeps it. A 308 is newer than 301 and may not be recognized everywhere.
Caching follows the same split. RFC 9110 lists 200, 203, 204, 206, 300, 301, 308, 404, 405, 410, 414, 501 as cacheable by default unless the method or cache headers say otherwise. 301 and 308 are on that list, 302 and 307 are not. For a redirect after a form POST where the browser should load a result page with GET, 303 See Other fits that case.
| Code | What it means |
|---|---|
| 301 Moved Permanently | The resource now has a new permanent URI, and later requests should use it. |
| 302 Found | The resource is temporarily at a different URI, so the client should keep using the original one. |
| 307 Temporary Redirect | The resource is temporarily at another URI, and the client must not change the request method when it follows. |
| 308 Permanent Redirect | The resource has a new permanent URI. Unlike 301, it avoids the POST-to-GET change. |
What is the difference between 401 and 403?
A 401 is about missing or failed authentication. The server must send a WWW-Authenticate header with a challenge, and the client may retry with an Authorization header. Despite its name, 401 is about authentication, not permission.
A 403 means the server understood the request and refuses it, and sending the same credentials again will not help. The identity may be known and simply not allowed. A server may also answer 404 instead of 403 on purpose, to avoid saying that a resource exists.
The pair 404 and 410 works the same way. A 404 means there is no current representation, or the server will not say, and it does not say whether that is temporary. A 410 says the resource is gone on purpose and probably for good, so use it only when you know that. If you cannot tell, 404 is the right answer. Both are cacheable by default.
Which status codes are errors, and what do 429 and 503 mean?
The 4xx codes are client errors: the client seems to have made a mistake, such as a bad request, a missing page or a wrong method. The 5xx codes are server errors: the server knows it failed or cannot do what was asked. A 4xx usually calls for a change in the request. A 5xx usually calls for a look at the server.
A 429 Too Many Requests means the client sent too many requests in a given time and is being rate limited. The response may include a Retry-After header with the wait time. A 503 Service Unavailable means the server cannot handle the request now because of overload or maintenance, and it too may send Retry-After. The difference is who is asked to slow down: with 429, the client is sending too much, and with 503, the server is the problem.
Two gateway codes are often confused. A 502 Bad Gateway means a proxy got an invalid response from the server behind it. A 504 Gateway Timeout means the proxy got no timely response at all. In both cases the proxy or CDN is working, and the cause is upstream. A plain 500 is the generic server failure with no more detail.
| Code | What it means |
|---|---|
| 400 Bad Request | The server will not process the request because it seems malformed, with bad syntax, invalid framing or deceptive routing. |
| 401 Unauthorized | The request lacks valid authentication credentials. The server must send a WWW-Authenticate challenge. |
| 403 Forbidden | The server understood the request and refuses to fulfill it. Sending the same credentials again will not help. |
| 404 Not Found | The server has no current representation for the target, or will not say that it has one. |
| 405 Method Not Allowed | The method is known but not supported for this resource. The server must send an Allow header listing the methods that are. |
| 408 Request Timeout | The server did not receive a complete request in the time it was prepared to wait. |
| 413 Content Too Large | The request body is larger than the server is willing or able to process. |
| 414 URI Too Long | The target URI is longer than the server is willing to interpret. |
| 429 Too Many Requests | The client sent too many requests in a given time, so it is being rate limited. |
| 500 Internal Server Error | The server hit an unexpected condition that stopped it from fulfilling the request. |
| 502 Bad Gateway | A gateway or proxy received an invalid response from the inbound server it contacted. |
| 503 Service Unavailable | The server cannot handle the request now, because of temporary overload or scheduled maintenance. |
| 504 Gateway Timeout | A gateway or proxy did not get a timely response from an upstream server it needed. |
Which status codes are unused, obsolete or unassigned?
Some numbers are in the registry but should not be used. 306 is marked unused. 418 is marked unused too: it came from RFC 2324, an April 1 joke document, and RFC 9110 keeps it reserved because it was used as a joke so often. 305 Use Proxy is deprecated, and 510 Not Extended is marked obsolete. The registry also lists 104 as a temporary registration that was set to expire on 2026-11-13, so the tool leaves it out.
The registry lists whole ranges as unassigned: 105-199, 209-225, 227-299, 309-399, 419-420, 427, 430, 432-450, 452-499, 509, 512-599. A number in those ranges is not a standard code. Some servers and services use their own numbers outside the registry, so look at the documentation of the product that sent one. If the number is outside 100 to 599, RFC 9110 calls it invalid, and a client should handle it as if it were a 5xx.
The tool says so when a number is unassigned, out of range or removed, and tells which range it falls in, instead of showing nothing.
Use it with
- JSON Formatter: format and validate JSON.
- URL Encoder Decoder: percent-encode or decode URLs.
- JWT Decoder: decode a JWT locally.
Questions
What does a 404 status code mean?
The server has no current representation for the target, or will not say that it has one. It is cacheable by default. If the page is gone for good, 410 is more exact.
What is the difference between 301 and 302?
301 means the resource moved permanently, 302 means it is temporarily somewhere else. Both may turn a POST into a GET when followed, which is why 308 and 307 exist.
What is the difference between 401 and 403?
401 means credentials are missing or failed and the server sends a WWW-Authenticate challenge. 403 means the server understood the request and refuses it, so the same credentials will not help.
What does a 429 status mean and how do I fix it?
The client sent too many requests in a given time. Slow down and retry later. The response may carry a Retry-After header with the wait time.
Which status codes are errors?
The 4xx codes are client errors (29 listed here) and the 5xx codes are server errors (11 listed here).
Is my search sent anywhere?
No. The list is part of the page, the search runs in your browser, and nothing you type leaves your device.
Sources
- IANA: Hypertext Transfer Protocol (HTTP) Status Code Registry, read
- RFC 9110: HTTP Semantics, section 15 (IETF), read
- RFC 6585: Additional HTTP Status Codes (IETF), read
- RFC 4918: HTTP Extensions for WebDAV (IETF), read
- RFC 5842: WebDAV Binding Extensions (IETF), read
- RFC 7725: An HTTP Status Code to Report Legal Obstacles (IETF), read
- RFC 8297: An HTTP Status Code for Indicating Hints (IETF), read
- RFC 8470: Using Early Data in HTTP (IETF), read
- RFC 3229: Delta encoding in HTTP (IETF), read
- RFC 2295: Transparent Content Negotiation in HTTP (IETF), read
- RFC 2774: An HTTP Extension Framework (IETF), read
The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.