Tools › Web & Design › HTTP Status Codes
๐ŸŒ

HTTP Status Codes Reference

Search the status codes you meet in browsers, APIs and server logs, with what each one really means.

CodeNameMeaningClass
100ContinueThe server received the request headers and the client should send the body.Informational
101Switching ProtocolsThe server is switching protocols as requested, for example to WebSocket.Informational
200OKThe request succeeded.Success
201CreatedThe request succeeded and a new resource was created.Success
202AcceptedThe request was accepted for processing but is not finished.Success
204No ContentSuccess with no response body, common for DELETE and some PUT requests.Success
206Partial ContentThe server is returning part of the resource, used for range requests and resumable downloads.Success
301Moved PermanentlyThe resource has a new permanent URL. Search engines transfer ranking to the new address.Redirection
302FoundTemporary redirect. The client should keep using the original URL.Redirection
303See OtherRedirect to another resource using GET, typically after a POST.Redirection
304Not ModifiedThe cached copy is still valid, so no body is sent.Redirection
307Temporary RedirectLike 302 but the method and body must not change.Redirection
308Permanent RedirectLike 301 but the method and body must not change.Redirection
400Bad RequestThe server could not understand the request because of malformed syntax or invalid data.Client error
401UnauthorizedAuthentication is required or has failed.Client error
403ForbiddenThe server understood the request but refuses to authorise it.Client error
404Not FoundThe requested resource does not exist.Client error
405Method Not AllowedThe HTTP method is not supported for this resource.Client error
406Not AcceptableThe server cannot produce a response matching the Accept headers.Client error
408Request TimeoutThe server timed out waiting for the request.Client error
409ConflictThe request conflicts with the current state of the resource.Client error
410GoneThe resource existed but has been permanently removed.Client error
413Payload Too LargeThe request body is larger than the server allows.Client error
414URI Too LongThe URL is longer than the server will process.Client error
415Unsupported Media TypeThe request body format is not supported.Client error
418I'm a teapotAn April Fools' joke from RFC 2324 that some servers implement for fun.Client error
422Unprocessable ContentThe request was well-formed but contained semantic errors, common for validation failures.Client error
429Too Many RequestsThe client has sent too many requests and is being rate limited.Client error
431Request Header Fields Too LargeThe headers are too large for the server.Client error
451Unavailable For Legal ReasonsAccess is denied for legal reasons.Client error
500Internal Server ErrorA generic server error; something went wrong that the server could not handle.Server error
501Not ImplementedThe server does not support the functionality required for the request.Server error
502Bad GatewayA gateway or proxy received an invalid response from the upstream server.Server error
503Service UnavailableThe server is overloaded or down for maintenance.Server error
504Gateway TimeoutA gateway or proxy did not receive a timely response from the upstream server.Server error

How it works

Status codes are grouped by their first digit: 1xx informational, 2xx success, 3xx redirection, 4xx the client made a mistake, and 5xx the server failed. Choosing the right code matters for APIs and for SEO: use 301 for permanent moves, 410 for removed content, and 503 with a Retry-After header for planned downtime.

Frequently asked questions

What is the difference between 401 and 403?

401 means you are not authenticated (no or invalid credentials). 403 means you are authenticated but not permitted to access the resource.

301 or 302 for a redirect?

Use 301 when the move is permanent and you want search engines to transfer ranking; use 302 or 307 for temporary redirects.

What does 502 Bad Gateway mean?

A proxy or load balancer received an invalid response from the application server behind it, which often means the app crashed or is unreachable.

More tools

๐ŸŽจ Colour Converter๐Ÿ“„ Lorem Ipsum Generatorโฑ๏ธ Cron Expression Explainer๐Ÿ” Chmod Calculator๐Ÿ•’ Unix Timestamp Converter๐Ÿ”‘ Password Generator{ } JSON Formatter & Validator๐Ÿ”ค Base64 Encode / Decode๐Ÿ†” UUID Generator๐ŸŒ IPv4 Subnet (CIDR) Calculator๐Ÿ”— URL Encode / Decode๐Ÿงช Regex TesterAll Web & Design tools →
Copied to clipboard