HTTP Status Codes

HTTP status codes show how a server answered a request: 200 means success, 404 “not found”, 500 a server error. Enter a code or a keyword and read what it means.

Source: IETF – RFC 9110: HTTP Semantics, Section 15 Status Codes. Updated: .

Three digits show the code with its class. A word searches names and explanations.
My ToolboxYour inputs are saved in this browser only.

Result

Status code
404 Not Found
Meaning
  • Class 4xx: Client error
  • There is nothing at this address. Common causes are typos in the URL, deleted pages and broken links.
Codes at a glance
CodeNameMeaning
400Bad RequestThe server cannot understand the request, for example because of bad syntax, invalid parameters or damaged cookies.
401UnauthorizedValid authentication is missing. The client must identify itself, for example with a username and password or a token.
402Payment RequiredReserved for payment. Some services use it when an account or plan is unpaid.
403ForbiddenThe server understands the request but refuses access. Logging in does not help, the permissions are missing.
404Not FoundThere is nothing at this address. Common causes are typos in the URL, deleted pages and broken links.
405Method Not AllowedThe method (such as POST) is not allowed for this address. The Allow header lists the permitted methods.
406Not AcceptableThe server cannot produce a response in any of the requested formats or languages.
408Request TimeoutThe server waited too long for the complete request and closed the connection.
409ConflictThe request conflicts with the current state of the resource, for example with simultaneous edits.
410GoneThe page is gone for good and will not come back. Search engines usually drop it faster than with 404.
411Length RequiredThe server requires the content length (Content-Length) to be stated in the request.
412Precondition FailedA condition in the request headers, such as If-Match, was not met, so nothing was changed.
413Content Too LargeThe request content is larger than the server allows, for example an upload that is too big.
414URI Too LongThe address is longer than the server can process. Often there are too many parameters in the URL.
415Unsupported Media TypeThe server does not know the format of the content sent, for example because of a wrong Content-Type.
416Range Not SatisfiableThe requested range lies outside the file, for example with a wrongly resumed download.
418I’m a teapotAn April Fools’ joke from RFC 2324: a teapot cannot brew coffee. Some servers use the code for fun.
422Unprocessable ContentThe request is formally correct but cannot be processed, for example because of invalid field values in an API.
429Too Many RequestsToo many requests in a short time. The Retry-After header often tells when it works again.
431Request Header Fields Too LargeThe request header fields are too large, often because of too many or too big cookies.
451Unavailable For Legal ReasonsAccess is blocked for legal reasons, for example by an order from an authority.

How it is calculated

HTTP status codes – the five classes

Every answer of a web server starts with a three-digit number, for example HTTP/1.1 404 Not Found. The first digit gives the class:

What matters for websites

For search engines these codes count most: 200 for normal pages, 301 for permanently moved pages, 302 or 307 for temporary redirects, 404 for missing and 410 for deliberately removed pages and 503 during maintenance, ideally with a Retry-After header. An error page that still sends 200 is called a soft 404 and should be avoided.

Names and sources

The English names are fixed in the standard (RFC 9110) and therefore stay the same in every language. 418 “I’m a teapot” comes from an April Fools’ joke (RFC 2324) and is only reserved in RFC 9110.

Honest limits

The list covers the common codes of the standard. Custom codes of individual services, such as content delivery networks, are not included. The explanations name typical causes; in a given case the server decides.

Frequently asked questions

What does the HTTP status code 404 mean?

There is nothing at that address. Common causes are typos, deleted pages and broken links.

What is the difference between 301 and 302?

301 is a permanent redirect, 302 a temporary one. With 301, search engines adopt the new address.

What does 500 Internal Server Error mean?

Something went wrong on the server while processing. The cause is usually in the server log.

What is the difference between 401 and 403?

With 401 the login is missing and logging in helps. With 403 access is forbidden even when logged in.

Which status codes exist?

The standard knows five classes from 1xx to 5xx with about 60 codes. This tool explains the most common ones.

Sources and legal basis

As of:

Related tools