🚦 HTTP Status Code Explainer

HTTP status code lookup for every standard response code — 200, 301, 404, 500, 502, 503 — in plain English, with what to do about each one.

Free No Signup Required Browser-Based

Showing 16 HTTP Status Codes

200OK
2xx Success

Standard response for successful HTTP requests.

💡 How to Fix / Debug: Request succeeded as expected.
201Created
2xx Success

Request succeeded and a new resource has been created.

💡 How to Fix / Debug: Common with POST or PUT requests.
204No Content
2xx Success

Server successfully processed request but returns no content.

💡 How to Fix / Debug: Common with DELETE requests.
301Moved Permanently
3xx Redirection

Resource has been permanently assigned a new URI.

💡 How to Fix / Debug: Update bookmarks and internal links to the new canonical URL.
302Found (Temporary Redirect)
3xx Redirection

Resource temporarily resides under a different URI.

💡 How to Fix / Debug: Check temporary routing or login redirects.
304Not Modified
3xx Redirection

Client has cached copy; no need to retransmit resource.

💡 How to Fix / Debug: Browser caching working normally via ETag or If-Modified-Since.
400Bad Request
4xx Client Error

Server cannot process request due to malformed syntax.

💡 How to Fix / Debug: Check JSON payload structure, missing required parameters, or invalid headers.
401Unauthorized
4xx Client Error

Authentication is required and has failed or not been provided.

💡 How to Fix / Debug: Pass a valid Bearer token, API key, or login credentials in Authorization header.
403Forbidden
4xx Client Error

Server understands request but refuses to authorize it.

💡 How to Fix / Debug: Verify user permissions, IP whitelists, or API token scope.
404Not Found
4xx Client Error

Origin server did not find a current representation for target resource.

💡 How to Fix / Debug: Verify URL path spelling and verify route exists in router.
405Method Not Allowed
4xx Client Error

HTTP method used (e.g. GET vs POST) is not supported for this endpoint.

💡 How to Fix / Debug: Check API documentation for allowed HTTP methods (GET, POST, PUT, DELETE).
429Too Many Requests
4xx Client Error

User has sent too many requests in a given amount of time (Rate Limited).

💡 How to Fix / Debug: Implement exponential backoff, client caching, or upgrade API rate limit tier.
500Internal Server Error
5xx Server Error

Generic error message when an unexpected condition occurred on server.

💡 How to Fix / Debug: Check backend application crash logs and database connections.
502Bad Gateway
5xx Server Error

Server received an invalid response from upstream server (e.g. Nginx proxy).

💡 How to Fix / Debug: Ensure backend service/daemon is running and listening on specified port.
503Service Unavailable
5xx Server Error

Server currently unable to handle request due to overload or maintenance.

💡 How to Fix / Debug: Check server CPU/memory usage, load balancer health, and retry after brief delay.
504Gateway Timeout
5xx Server Error

Server acting as gateway did not receive timely response from upstream.

💡 How to Fix / Debug: Optimize slow SQL queries, long-running background tasks, or increase proxy timeout.

What HTTP Status Code Explainer Does

HTTP status codes are three-digit integers that tell a client what happened to its request. The first digit defines the class — 1xx informational, 2xx success, 3xx redirection, 4xx client error, 5xx server error — and a client that does not recognize a specific code is required to treat it as the generic x00 code of its class.

The core set is defined in RFC 9110, which in 2022 consolidated the older RFC 7231 series. Additional codes come from separate specifications: WebDAV contributes 207 and 422, RFC 6585 adds 428, 429 and 431, and IANA maintains the authoritative registry of every assigned value.

Choosing the right code matters more than it appears. Search engines treat 301, 302, 404 and 410 as materially different instructions about whether and how to keep a URL, and returning 200 for an error page — a soft 404 — is one of the most common ways sites confuse crawlers about which pages are real.

How to Use HTTP Status Code Explainer

  1. Filter by status category (2xx, 3xx, 4xx, 5xx) or type a code/keyword
  2. Read the description and developer fix recommendations

Status Code Classes

ClassMeaningClient behavior
1xxInformational — request received, continuingInterim; the client waits for a final response
2xxSuccessful — request understood and acceptedProcess the payload
3xxRedirection — further action neededUsually follow the Location header
4xxClient error — the request is at faultDo not retry unmodified
5xxServer error — the server failed a valid requestRetry may succeed later

Source: RFC 9110 §15 — HTTP Semantics: Status Codes

Redirects: Which Code to Use

The distinction between permanent and temporary, and whether the request method is allowed to change, is the part that is most often got wrong.

CodeNamePermanent?Method preserved?Use when
301Moved PermanentlyYesNo — may rewrite POST to GETA URL has moved for good; passes ranking signals
302FoundNoNo — may rewrite POST to GETTemporary move; the original URL stays canonical
303See OtherNoNo — always becomes GETPost/Redirect/Get after a form submission
307Temporary RedirectNoYes — method and body preservedTemporary move where a POST must stay a POST
308Permanent RedirectYesYes — method and body preservedPermanent move where the method must not change

The Client Errors That Matter Most

CodeNameWhat it actually means
400Bad RequestMalformed syntax — the server could not parse it at all
401UnauthorizedAuthentication is missing or invalid. Misnamed: it means unauthenticated
403ForbiddenIdentity is known and still not permitted. Re-authenticating will not help
404Not FoundNo representation here. The server is silent on whether it ever existed
410GoneDeliberately removed and not coming back. Crawlers drop these faster than 404s
422Unprocessable ContentSyntactically valid but semantically wrong — the usual API validation failure
429Too Many RequestsRate limited. Should carry a Retry-After header

Server Errors

CodeNameTypical cause
500Internal Server ErrorAn unhandled exception — the catch-all when nothing more specific fits
502Bad GatewayA proxy received an invalid response from upstream
503Service UnavailableOverloaded or in maintenance. Temporary by definition; send Retry-After
504Gateway TimeoutA proxy gave up waiting for an upstream response

How to Read Your Result

401 versus 403

A 401 means the server does not know who you are and an appropriate credential might work; it must include a WWW-Authenticate header. A 403 means the server knows exactly who you are and the answer is still no. Sending 401 for an authorization failure invites clients into a pointless re-authentication loop.

404 versus 410 for deleted pages

Both remove a page from search results eventually, but 410 signals deliberate permanent removal and is acted on more quickly. Use 410 for content you intentionally deleted and will never restore. Use 404 as the default for anything that simply is not there.

Soft 404s

Returning 200 with a "page not found" message is a soft 404. Google detects and reports these, and they waste crawl budget because every non-existent URL looks like a real page. Redirecting a large set of dead URLs to an unrelated hub page produces the same problem: the destination has nothing to do with the request, so it is classified as a soft 404 rather than a useful redirect.

Limitations & Accuracy Notes

  • This lookup covers registered status codes and their standard semantics. Individual APIs sometimes overload codes with their own meanings — always check the API documentation before relying on a generic interpretation.
  • Codes in the 6xx range and above are not valid HTTP. Some frameworks and CDNs emit non-standard values (Cloudflare's 520–530 series, for example) that clients will treat as generic 5xx.
  • Whether a redirect preserves the request method is prescribed by the specification but historically violated by user agents, which is precisely why 307 and 308 were introduced to state it unambiguously.

Frequently Asked Questions

What do HTTP status code ranges mean?
1xx is Informational, 2xx is Successful, 3xx is Redirection, 4xx is Client Error (e.g. 404 Not Found), and 5xx is Server Error (e.g. 500 Internal Error).
What is the difference between 401 and 403 status codes?
401 Unauthorized means the user has not authenticated (missing login), while 403 Forbidden means the user is authenticated but lacks required permission.
What do the status code classes mean?
1xx is informational, 2xx succeeded, 3xx means the client must do something more — usually follow a redirect, 4xx is a client-side problem such as a bad request or missing resource, and 5xx means the server failed while handling an otherwise valid request.
What is the difference between 301 and 302?
301 is permanent: clients and search engines update to the new URL and ranking signals transfer. 302 is temporary and the original URL is kept. Using 302 for a permanent move is a common and costly mistake, since the new URL never fully inherits the old one's standing.
When should I use 404 versus 410?
404 means not found, with no statement about whether it ever existed or might return. 410 means deliberately and permanently gone. Crawlers drop a 410 faster, so it is the better choice when you have intentionally removed something for good.
What does 401 mean versus 403?
401 means authentication is missing or invalid — log in and try again. 403 means you are authenticated and still not allowed. Returning 401 when the real answer is 403 sends people into a pointless login loop.
What is a 429?
Too many requests — you have hit a rate limit. A well-behaved server includes a Retry-After header saying how long to wait. Treating 429 as a generic failure and retrying immediately usually makes the situation worse.
Why am I getting a 502 or 504?
Both come from a proxy or load balancer rather than the application. 502 means the upstream server returned something invalid, 504 means it did not answer within the timeout. Neither indicates a problem with your request — they point at the server side.

References & Further Reading

By OnlineToolHubs Team • September 2026