Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

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

By Maaz Zindani · Updated

A number (404), the start of one (40), a class (5xx), two codes to compare (301 vs 302) or a word (rate limit).

Class
Common codes
HTTP status code

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

  1. 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.
  2. Type two codes, such as 401 vs 403, to compare them side by side.
  3. Use Class or Common codes to narrow the list, and press a row to open that code.
  4. 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.

The five classes of status codes in the registry
ClassNameMeaningCodes listed hereExamples
1xxInformationalAn interim response, sent before the final one.4100, 101, 103
2xxSuccessfulThe request was received, understood and accepted.10200, 201, 204
3xxRedirectionThe client must take a further step to complete the request.9301, 302, 304
4xxClient errorThe client seems to have made a mistake.29400, 401, 404
5xxServer errorThe server knows it failed or cannot perform the request.11500, 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.

The four redirect codes people mix up
CodeWhat it means
301 Moved PermanentlyThe resource now has a new permanent URI, and later requests should use it.
302 FoundThe resource is temporarily at a different URI, so the client should keep using the original one.
307 Temporary RedirectThe resource is temporarily at another URI, and the client must not change the request method when it follows.
308 Permanent RedirectThe 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.

The error codes people look up most
CodeWhat it means
400 Bad RequestThe server will not process the request because it seems malformed, with bad syntax, invalid framing or deceptive routing.
401 UnauthorizedThe request lacks valid authentication credentials. The server must send a WWW-Authenticate challenge.
403 ForbiddenThe server understood the request and refuses to fulfill it. Sending the same credentials again will not help.
404 Not FoundThe server has no current representation for the target, or will not say that it has one.
405 Method Not AllowedThe method is known but not supported for this resource. The server must send an Allow header listing the methods that are.
408 Request TimeoutThe server did not receive a complete request in the time it was prepared to wait.
413 Content Too LargeThe request body is larger than the server is willing or able to process.
414 URI Too LongThe target URI is longer than the server is willing to interpret.
429 Too Many RequestsThe client sent too many requests in a given time, so it is being rate limited.
500 Internal Server ErrorThe server hit an unexpected condition that stopped it from fulfilling the request.
502 Bad GatewayA gateway or proxy received an invalid response from the inbound server it contacted.
503 Service UnavailableThe server cannot handle the request now, because of temporary overload or scheduled maintenance.
504 Gateway TimeoutA 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

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.

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.