HTTP status codes
Every HTTP status code with what it means and when servers send it. Type a number or a word to filter.
| 100 | Continue The server got the request headers; the client may send the body. |
| 101 | Switching Protocols The server agrees to switch protocols, for example to WebSocket. |
| 103 | Early Hints Preload hints sent before the final response, so the browser can start fetching CSS or fonts. |
| 200 | OK The request succeeded. |
| 201 | Created A new resource was created, usually after POST; the Location header points to it. |
| 202 | Accepted The request was accepted for processing that has not finished yet. |
| 204 | No Content Success with no body, common for DELETE or saving a form via an API. |
| 206 | Partial Content Part of a file, sent because the client asked for a byte range (video, resumed downloads). |
| 301 | Moved Permanently The page moved for good. Browsers and search engines use the new URL and pass its ranking on. |
| 302 | Found A temporary redirect; keep using the old URL. |
| 303 | See Other Go to another URL with GET, typically after submitting a form. |
| 304 | Not Modified The cached copy is still valid; no body is sent. |
| 307 | Temporary Redirect Like 302, but the method and body must stay the same. |
| 308 | Permanent Redirect Like 301, but the method and body must stay the same. |
| 400 | Bad Request The request is malformed: broken syntax, invalid JSON or missing parameters. |
| 401 | Unauthorized Authentication is needed or failed: log in or send a valid token. |
| 402 | Payment Required Reserved; some APIs use it when a payment or quota is required. |
| 403 | Forbidden The server understood but refuses: you are logged in without permission, or access is blocked (firewall, file permissions). |
| 404 | Not Found Nothing at this URL. Check the link, or redirect it if the page moved. |
| 405 | Method Not Allowed The URL exists but not for this method, for example POST to a page that only accepts GET. |
| 406 | Not Acceptable The server cannot answer in any format the client accepts. |
| 408 | Request Timeout The client took too long to send the request. |
| 409 | Conflict The request conflicts with the current state, such as editing an outdated version. |
| 410 | Gone Removed on purpose and not coming back. Search engines drop it faster than a 404. |
| 411 | Length Required The request needs a Content-Length header. |
| 412 | Precondition Failed A condition in the request headers (If-Match) was not met. |
| 413 | Content Too Large The upload or body is bigger than the server allows. |
| 414 | URI Too Long The URL is longer than the server accepts. |
| 415 | Unsupported Media Type The body is in a format the server does not accept (wrong Content-Type). |
| 416 | Range Not Satisfiable The requested byte range is outside the file. |
| 418 | I'm a teapot An old April Fools’ joke code; some servers use it to refuse bots. |
| 421 | Misdirected Request The request reached a server that cannot answer for this host. |
| 422 | Unprocessable Content The syntax is fine but the data is not, for example a failed validation. |
| 425 | Too Early The server will not process a request that might be replayed. |
| 426 | Upgrade Required The client must switch to another protocol, for example TLS. |
| 428 | Precondition Required The server requires conditional requests to prevent lost updates. |
| 429 | Too Many Requests Rate limited: slow down; the Retry-After header says when to try again. |
| 431 | Request Header Fields Too Large The headers, often cookies, are too big. |
| 451 | Unavailable For Legal Reasons Blocked for legal reasons, such as a court order. |
| 500 | Internal Server Error Something broke on the server: check its error log. |
| 501 | Not Implemented The server does not support this functionality. |
| 502 | Bad Gateway A proxy or CDN got an invalid answer from the server behind it (often the app crashed or restarted). |
| 503 | Service Unavailable The server is overloaded or down for maintenance; usually temporary. |
| 504 | Gateway Timeout A proxy or CDN waited too long for the server behind it. |
| 505 | HTTP Version Not Supported The server does not support the HTTP version used. |
| 507 | Insufficient Storage The server cannot store what is needed to complete the request. |
| 508 | Loop Detected The server found an infinite loop while processing. |
| 511 | Network Authentication Required You need to log in to the network first, as on hotel Wi-Fi. |
Frequently asked questions
What do the first digits mean?
1xx informational, 2xx success, 3xx redirection, 4xx client error (the request is wrong), 5xx server error (the server failed).
What about Cloudflare’s 520–526?
They are Cloudflare’s own codes for problems between Cloudflare and your server: 521 the server is down, 522 the connection timed out, 525/526 an SSL problem at the origin.
How do I see a page’s status code?
Use the HTTP headers tool on ifnot.online, the Network tab of your browser’s developer tools, or curl -I.