HTTP status code lookup
Search every registered HTTP status code by number, class or meaning. Each one has a plain explanation and the RFC that defines it, from the IANA registry.
All 64 codes in the IANA registry. Search by number, by class (4xx) or by words.
| Code | Name | Class | Meaning | Defined in |
|---|---|---|---|---|
| 100 | Continue | Informational | The server has received the request headers and the client may send the body. Sent in answer to Expect: 100-continue. | RFC 9110, Section 15.2.1 |
| 101 | Switching Protocols | Informational | The server agrees to change protocol as the Upgrade header asked. This is how a WebSocket connection starts. | RFC 9110, Section 15.2.2 |
| 102 | Processing | Informational | The server has accepted a WebDAV request and is still working on it. Rarely seen today. | RFC 2518 |
| 103 | Early Hints | Informational | Sent before the final response, with Link headers so the browser can start preloading resources. | RFC 8297 |
| 104 | Upload Resumption Supported (Temporary registration) | Informational | Tells the client that the server supports resumable uploads, and where to resume one. | draft-ietf-httpbis-resumable-upload-05 |
| 200 | OK | Successful | The request succeeded. What the body holds depends on the method. | RFC 9110, Section 15.3.1 |
| 201 | Created | Successful | The request succeeded and created a new resource, usually named in the Location header. | RFC 9110, Section 15.3.2 |
| 202 | Accepted | Successful | The request was accepted for processing that has not finished and may still fail. | RFC 9110, Section 15.3.3 |
| 203 | Non-Authoritative Information | Successful | The request succeeded, but a proxy changed the content the origin server sent. | RFC 9110, Section 15.3.4 |
| 204 | No Content | Successful | The request succeeded and there is no body to send back. | RFC 9110, Section 15.3.5 |
| 205 | Reset Content | Successful | The request succeeded and the client should reset the view that sent it, such as clearing a form. | RFC 9110, Section 15.3.6 |
| 206 | Partial Content | Successful | The server is sending only the part of the resource that the Range header asked for. | RFC 9110, Section 15.3.7 |
| 207 | Multi-Status | Successful | A WebDAV response whose body holds a separate status for each of several resources. | RFC 4918 |
| 208 | Already Reported | Successful | In a WebDAV listing, the members of this binding were already listed earlier in the same response. | RFC 5842 |
| 226 | IM Used | Successful | The response is the result of applying a delta encoding to the resource the client already has. | RFC 3229 |
| 300 | Multiple Choices | Redirection | The resource has several representations and the client should pick one. | RFC 9110, Section 15.4.1 |
| 301 | Moved Permanently | Redirection | The resource has a new permanent URL, given in Location. Clients may change a POST into a GET when they follow it. | RFC 9110, Section 15.4.2 |
| 302 | Found | Redirection | The resource is temporarily at another URL. Clients may change a POST into a GET when they follow it. | RFC 9110, Section 15.4.3 |
| 303 | See Other | Redirection | The answer is at another URL, to be fetched with GET. The usual reply to a form submission. | RFC 9110, Section 15.4.4 |
| 304 | Not Modified | Redirection | The cached copy the client has is still good. No body is sent. | RFC 9110, Section 15.4.5 |
| 305 | Use Proxy | Redirection | Deprecated. It told the client to repeat the request through a proxy, and clients ignore it for security reasons. | RFC 9110, Section 15.4.6 |
| 306 | (Unused) (Reserved) | Redirection | Defined in an earlier specification, no longer used, and reserved. | RFC 9110, Section 15.4.7 |
| 307 | Temporary Redirect | Redirection | The resource is temporarily at another URL. The method and body must stay the same when following it. | RFC 9110, Section 15.4.8 |
| 308 | Permanent Redirect | Redirection | The resource has a new permanent URL. The method and body must stay the same when following it. | RFC 9110, Section 15.4.9 |
| 400 | Bad Request | Client error | The server cannot or will not process the request because it is malformed. | RFC 9110, Section 15.5.1 |
| 401 | Unauthorized | Client error | The request has no valid credentials. Despite the name it is about authentication: log in and try again. | RFC 9110, Section 15.5.2 |
| 402 | Payment Required | Client error | Reserved for future use. Some APIs send it when a quota or a plan is used up. | RFC 9110, Section 15.5.3 |
| 403 | Forbidden | Client error | The server understood the request and refuses it. Logging in again will not help: the identity is known and not allowed. | RFC 9110, Section 15.5.4 |
| 404 | Not Found | Client error | The server has nothing at this URL, or does not want to say that it has. | RFC 9110, Section 15.5.5 |
| 405 | Method Not Allowed | Client error | The resource exists but does not support this method. The Allow header lists the ones it does. | RFC 9110, Section 15.5.6 |
| 406 | Not Acceptable | Client error | The server has no representation that fits the Accept headers of the request. | RFC 9110, Section 15.5.7 |
| 407 | Proxy Authentication Required | Client error | Like 401, but it is the proxy that wants credentials. | RFC 9110, Section 15.5.8 |
| 408 | Request Timeout | Client error | The server gave up waiting for the client to finish sending the request. | RFC 9110, Section 15.5.9 |
| 409 | Conflict | Client error | The request conflicts with the current state of the resource, such as an edit based on an old version. | RFC 9110, Section 15.5.10 |
| 410 | Gone | Client error | The resource was here and has been removed for good. | RFC 9110, Section 15.5.11 |
| 411 | Length Required | Client error | The server will not accept the request without a Content-Length header. | RFC 9110, Section 15.5.12 |
| 412 | Precondition Failed | Client error | A condition in the request headers, such as If-Match, was not met. | RFC 9110, Section 15.5.13 |
| 413 | Content Too Large | Client error | The request body is larger than the server is willing to process. Formerly Payload Too Large. | RFC 9110, Section 15.5.14 |
| 414 | URI Too Long | Client error | The URL is longer than the server is willing to read. | RFC 9110, Section 15.5.15 |
| 415 | Unsupported Media Type | Client error | The body is in a format the resource does not accept for this method. Check Content-Type. | RFC 9110, Section 15.5.16 |
| 416 | Range Not Satisfiable | Client error | The Range header asks for a part that lies outside the resource. | RFC 9110, Section 15.5.17 |
| 417 | Expectation Failed | Client error | The server cannot meet the Expect header of the request. | RFC 9110, Section 15.5.18 |
| 418 | (Unused) (Reserved) | Client error | Reserved. It was the “I’m a teapot” joke of RFC 2324 and cannot be assigned to anything else for now. | RFC 9110, Section 15.5.19 |
| 421 | Misdirected Request | Client error | The request reached a server that cannot answer for this host, usually because a connection was reused wrongly. | RFC 9110, Section 15.5.20 |
| 422 | Unprocessable Content | Client error | The body is well formed but its content is invalid, such as a field that fails validation. | RFC 9110, Section 15.5.21 |
| 423 | Locked | Client error | The WebDAV resource is locked. | RFC 4918 |
| 424 | Failed Dependency | Client error | The WebDAV action failed because another action it depended on failed. | RFC 4918 |
| 425 | Too Early | Client error | The server will not process a request sent in TLS early data, because it could be a replay. | RFC 8470 |
| 426 | Upgrade Required | Client error | The server refuses this protocol and names the one to switch to in the Upgrade header. | RFC 9110, Section 15.5.22 |
| 428 | Precondition Required | Client error | The server requires the request to be conditional, to prevent one client overwriting another’s update. | RFC 6585 |
| 429 | Too Many Requests | Client error | The client is being rate limited. Retry-After may say when to try again. | RFC 6585 |
| 431 | Request Header Fields Too Large | Client error | The headers, one of them or all together, are too large. Oversized cookies are the usual cause. | RFC 6585 |
| 451 | Unavailable For Legal Reasons | Client error | Access is denied because of a legal demand, such as a court order. | RFC 7725 |
| 500 | Internal Server Error | Server error | The server hit an unexpected condition. The fault is on the server side. | RFC 9110, Section 15.6.1 |
| 501 | Not Implemented | Server error | The server does not support what the request needs, such as the method. | RFC 9110, Section 15.6.2 |
| 502 | Bad Gateway | Server error | A gateway or proxy got an invalid response from the server behind it. | RFC 9110, Section 15.6.3 |
| 503 | Service Unavailable | Server error | The server cannot handle the request right now, because of overload or maintenance. Retry-After may say when. | RFC 9110, Section 15.6.4 |
| 504 | Gateway Timeout | Server error | A gateway or proxy did not get a response from the server behind it in time. | RFC 9110, Section 15.6.5 |
| 505 | HTTP Version Not Supported | Server error | The server does not support the major HTTP version of the request. | RFC 9110, Section 15.6.6 |
| 506 | Variant Also Negotiates | Server error | A configuration error in content negotiation: the chosen variant itself tries to negotiate. | RFC 2295 |
| 507 | Insufficient Storage | Server error | The WebDAV server cannot store what it needs to complete the request. | RFC 4918 |
| 508 | Loop Detected | Server error | The WebDAV server found an infinite loop while processing the request. | RFC 5842 |
| 510 | Not Extended (Obsoleted) | Server error | The request lacked an extension the server required. The HTTP Extension Framework that defined it is now historic. | RFC 2774 |
| 511 | Network Authentication Required | Server error | The client must log in to the network first. Sent by captive portals, not by the site you asked for. | RFC 6585 |
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the HTTP status code lookup
- Type a code, such as 404, to see that code.
- Type a class, such as 4xx, to list a whole class.
- Or search by words: redirect, rate limit, WebDAV, an RFC number.
- Read the meaning and the document that defines the code.
About this tool
Every HTTP response starts with a three-digit status code. The first digit gives the class: 1xx is informational, 2xx is success, 3xx is a redirect, 4xx says the request was at fault and 5xx says the server was. IANA keeps the registry of assigned codes, and most are defined in RFC 9110, the current HTTP specification.
The codes carry security meaning. 401 says the request was not authenticated and 403 that it was authenticated and refused. Mixing them up misleads clients. An API that answers 403 for records that exist and 404 for ones that do not tells an attacker which IDs are real. 429 is how rate limiting is signaled. 301 and 302 may turn a POST into a GET, where 307 and 308 may not.
This table has every code in the registry, including the reserved and obsolete ones, with the registry’s own names. RFC 9110 renamed two: 413 is now Content Too Large and 422 is Unprocessable Content. Codes outside the registry, such as 499 or 520, are private to the product that sends them, and a client treats an unknown code as the x00 of its class.
Sources
Questions
401 Unauthorized means the request lacks valid credentials: authenticate and try again. 403 Forbidden means the server knows who is asking and refuses. Sending new credentials will not change a 403.
301 and 308 are permanent, 302 and 307 temporary. With 301 and 302 a client may change a POST into a GET when it follows the redirect. 307 and 308 require the method and the body to stay the same.
502 Bad Gateway means a proxy got an invalid answer from the server behind it. 503 Service Unavailable means the server cannot take the request right now, from overload or maintenance. 504 Gateway Timeout means the proxy got no answer in time.
It began as an April Fools’ joke in RFC 2324. It was never a real HTTP status, but so much software implemented it that RFC 9110 reserved 418 as unused, so that it cannot be given another meaning.
Often 404. RFC 9110 allows a server to answer 404 when it does not want to reveal that a resource exists. Whatever you choose, answer the same way for a resource that is missing and one that belongs to someone else, so the response does not leak which IDs are in use.