HTTP Status Codes
Look up what an HTTP status code means and what usually causes it.
Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
- 100ContinueInformationalThe server received the request headers; the client should send the body.
- 101Switching ProtocolsInformationalThe server is switching protocols, e.g. upgrading to WebSocket.
- 200OKSuccessThe request succeeded.
- 201CreatedSuccessA new resource was created, usually after POST.
- 202AcceptedSuccessThe request was accepted for processing but is not complete.
- 204No ContentSuccessSuccess with no response body, common for DELETE.
- 206Partial ContentSuccessPart of the resource is returned, used for range requests and video streaming.
- 301Moved PermanentlyRedirectionThe resource has a new permanent URL. Search engines pass ranking to the new URL.
- 302FoundRedirectionTemporary redirect. The original URL should still be used in future.
- 303See OtherRedirectionRedirect to another URL with GET, often after a form POST.
- 304Not ModifiedRedirectionThe cached version is still valid.
- 307Temporary RedirectRedirectionTemporary redirect that keeps the HTTP method.
- 308Permanent RedirectRedirectionPermanent redirect that keeps the HTTP method.
- 400Bad RequestClient errorThe request is malformed or has invalid parameters.
- 401UnauthorizedClient errorAuthentication is required or the credentials are invalid.
- 403ForbiddenClient errorThe server understood the request but refuses access.
- 404Not FoundClient errorThe resource does not exist at this URL.
- 405Method Not AllowedClient errorThe HTTP method (GET, POST…) is not supported for this URL.
- 406Not AcceptableClient errorNo content matches the Accept headers.
- 408Request TimeoutClient errorThe client took too long to send the request.
- 409ConflictClient errorThe request conflicts with the current state, e.g. a duplicate record.
- 410GoneClient errorThe resource was removed permanently. Search engines drop it faster than a 404.
- 411Length RequiredClient errorA Content-Length header is required.
- 413Content Too LargeClient errorThe request body is bigger than the server allows, e.g. an upload limit.
- 414URI Too LongClient errorThe URL is longer than the server accepts.
- 415Unsupported Media TypeClient errorThe Content-Type of the body is not supported.
- 418I'm a teapotClient errorAn April Fools’ joke from 1998 (RFC 2324).
- 422Unprocessable ContentClient errorThe body is well-formed but has validation errors.
- 425Too EarlyClient errorThe server will not process a request that might be replayed.
- 429Too Many RequestsClient errorRate limit exceeded. Check the Retry-After header.
- 431Request Header Fields Too LargeClient errorHeaders, often cookies, are too large.
- 451Unavailable For Legal ReasonsClient errorBlocked for legal reasons, such as a court order.
- 500Internal Server ErrorServer errorAn unexpected error on the server.
- 501Not ImplementedServer errorThe server does not support this functionality.
- 502Bad GatewayServer errorA gateway or proxy got an invalid response from the upstream server.
- 503Service UnavailableServer errorThe server is overloaded or down for maintenance.
- 504Gateway TimeoutServer errorA gateway or proxy did not get a response in time.
- 505HTTP Version Not SupportedServer errorThe HTTP version is not supported.
- 520Unknown Error (Cloudflare)Server errorCloudflare received an empty or unexpected response from the origin.
- 521Web Server Is Down (Cloudflare)Server errorThe origin server refused the connection.
- 522Connection Timed Out (Cloudflare)Server errorCloudflare could not reach the origin server in time.
- 524A Timeout Occurred (Cloudflare)Server errorThe origin took too long to respond.
How to use HTTP Status Codes
- Search for a code or a word like “redirect”.
- Read the explanation.
Frequently asked questions
What is the difference between 301 and 302?
301 is a permanent redirect and passes SEO value to the new URL. 302 is temporary and tells search engines to keep the old URL.
What does 403 Forbidden mean?
The server understood the request but refuses it, usually because of missing permissions or a firewall rule.
Related tools
All Developer Tools →- cURL Converter Paste a cURL command copied from browser DevTools or API docs and get ready-to-use code.
- .htaccess Redirect Generator Create redirect rules for Apache web servers without memorising mod_rewrite syntax.
- Chmod Calculator Work out the right chmod value for files and folders on Linux servers.
- Code Diff Checker See exactly what changed between two versions of a file, like a code review.
- JSON Diff Find the real differences between two API responses or config files, regardless of key order or whitespace.
- Mock Data Generator Create sample data for testing apps, demos and databases, with names and places that look right for Indian users.