HTTP status codes

Every HTTP status code with what it means and when servers send it. Type a number or a word to filter.

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