# HTTP Status Code Lookup

> Every HTTP status code from 100 to 511 in plain words, with fixes for common errors and what 301, 302, 404, 410 and 503 mean for SEO. Search by code.

Canonical: https://cromagnon.app/tools/http-status-codes
Last updated: 2026-10-26

- Category: Developer
- Formats: REFERENCE
- Use it: https://cromagnon.app/tools/http-status-codes (free, runs in the browser)

## What it does

Look up any HTTP status code, from 100 Continue to 511 Network Authentication Required, plus common unofficial ones from nginx and Cloudflare. Each code has a plain-words meaning, what to do when you see it, and, where it matters, what it means for search engines and SEO.

## How to use it

1. Type a code (404), the start of one (5 lists all 5xx), a class like 3xx, or words such as redirect or too many requests.
2. Or tap a class button to show only 1xx, 2xx, 3xx, 4xx or 5xx codes.
3. Read the meaning, what to do, and the SEO note.

Tip: The first digit tells you who has to act: 2xx worked, 3xx means look somewhere else, 4xx means the request needs changing, and 5xx means the server has a problem.

## The five classes

- **1xx Informational**: Interim answers while a request continues, such as 101 when a WebSocket opens or 103 Early Hints.
- **2xx Success**: The request worked. 200 OK is the usual one; 201 Created and 204 No Content are common in APIs.
- **3xx Redirection**: The content is somewhere else (301, 302, 307, 308) or your cached copy is still good (304).
- **4xx Client error**: Something in the request is wrong or not allowed: 400, 401, 403, 404, 429 and others.
- **5xx Server error**: The server failed to handle a valid request: 500, 502, 503 and 504.

## Redirects and SEO: 301 vs 302 vs 307 vs 308

Use 301 (or 308) when a page has moved for good: a new URL structure, http:// to https://, or merging two pages. Search engines move the old page's ranking and links to the new address. Use 302 (or 307) only for temporary moves, such as a campaign page or A/B test, because the old URL stays in the index.

307 and 308 are the strict versions: the browser must repeat the same method and body, so a form POST stays a POST. Avoid redirect chains (A → B → C): point every old URL straight to its final address.

## 404 vs 410 and soft 404s

404 Not Found and 410 Gone both remove a page from search results; 410 says the removal is deliberate, so it can happen a little faster. Don't redirect every missing page to the home page: search engines treat that as a soft 404. And a “page not found” message served with status 200 is also a soft 404; make sure your error page really returns 404.

## How to fix the most common errors

- **401 vs 403**: 401 means you aren't logged in or your token expired: send valid credentials. 403 means you're logged in but not allowed: check roles and permissions.
- **429 Too Many Requests**: You hit a rate limit. Wait for the Retry-After time and retry with exponential backoff (1s, 2s, 4s…).
- **500 Internal Server Error**: Check the server's error log; the cause is in the code or configuration, not your request.
- **502 Bad Gateway**: The app behind nginx, a load balancer or Cloudflare crashed or isn't running.
- **503 Service Unavailable**: Overloaded or in maintenance. For planned maintenance, send 503 with Retry-After so search engines come back later.
- **504 Gateway Timeout**: The app answered too slowly. Find slow database queries or external calls, or raise the proxy timeout.

## How to check a page's status code

In the browser, open developer tools (F12), go to the Network tab and reload: the Status column shows each code. In a terminal, curl -I https://example.com shows the code and headers; add -L to follow redirects. Search Console's page indexing report shows the codes Google got when it crawled your site.

## Status codes for API design

- **Creating something**: 201 Created, with a Location header pointing to the new item.
- **Deleting or saving with nothing to return**: 204 No Content.
- **Work that finishes later**: 202 Accepted, with a URL where the client can check progress.
- **Validation errors**: 422 with a list of the fields that failed and why.
- **Editing something that changed meanwhile**: 409 Conflict, or 412 when you use If-Match with ETags.

## Tips

- **Return real codes from APIs**: Don't answer every error with 200 and an error message; clients, monitoring and caches rely on the status code.
- **422 vs 400**: Use 400 when the request can't be read at all (broken JSON) and 422 when it's readable but fails validation.
- **Cache 304s**: Send ETag or Last-Modified headers so browsers and crawlers can get a fast 304 for unchanged pages.
- **Unofficial codes**: 499, 520, 521, 522 and 524 come from nginx and Cloudflare, not the HTTP standard; the tool marks them.

## Questions

### What is the most common HTTP status code?

200 OK: almost every successful page load and API call returns it.

### Do 4xx and 5xx errors hurt SEO?

A few 404s for pages that never existed are normal. Many 5xx errors, or important pages returning 404, make search engines crawl less and drop pages.

### What does 418 I'm a teapot mean?

It started as an April Fools' joke (RFC 2324). Browsers and servers don't use it for real; some sites send it to turn away bots.

### Was 422 renamed?

Yes. RFC 9110 calls it Unprocessable Content (it was Unprocessable Entity) and 413 Content Too Large (it was Payload Too Large). The codes didn't change.

### What is the difference between 502 and 504?

Both come from a proxy or gateway in front of the app. 502 means the app sent back something broken or nothing at all; 504 means the app didn't answer in time.

### Is anything I type uploaded?

No. The tool runs in your browser; what you type or paste never leaves your device and nothing is stored on a server.

## Related

- [cURL Command Builder](https://cromagnon.app/tools/curl-builder)
- [Robots.txt Generator](https://cromagnon.app/tools/robots-generator)
- [URL Encoder & Decoder](https://cromagnon.app/tools/url-encoder)
- [JSON Formatter](https://cromagnon.app/tools/json-formatter)
- [All tools](https://cromagnon.app/tools)
