HTTP Status Code Lookup
Every HTTP status code in plain words, with what to do and what it means for SEO.
What to do: Sent after a client asks with Expect: 100-continue before uploading a large body. Nothing to fix.
What to do: Normal when a WebSocket connection opens.
SEO: Can make pages load faster, which helps Core Web Vitals.
SEO: The normal code for a page that should be indexed. A “not found” page that returns 200 is a soft 404: return 404 instead.
What to do: Check the job's status later, often at a URL given in the response.
What to do: Don't try to parse JSON from a 204 response: the body is empty.
What to do: Use it when a page moves for good, such as http:// to https:// or an old URL to a new one. Browsers cache it, so test before you deploy.
SEO: Passes the old page's ranking to the new URL; search engines replace the old address in their index.
What to do: Use it for short-term moves, such as a sale page. If the move is permanent, switch to 301.
SEO: Search engines keep the old URL indexed. A 302 left in place for a long time is usually treated like a 301.
What to do: Normal when the browser sends If-None-Match or If-Modified-Since. It saves bandwidth.
SEO: Helps crawlers spend less time on unchanged pages.
What to do: Browsers also show 307 for HSTS: an internal redirect from http:// to https://.
SEO: Treated like 301: the ranking moves to the new URL.
What to do: Check the request body against the API docs, the Content-Type header, and any special characters that need URL encoding.
What to do: Send valid credentials, often as Authorization: Bearer <token>. If the token expired, get a new one.
What to do: Check permissions, roles, IP allow-lists and file permissions on the server. Logging in again doesn't help.
SEO: Pages that return 403 to crawlers are dropped from the index.
What to do: Check the URL for typos, a missing slash or the wrong case. If the page moved, add a 301 from the old address.
SEO: Fine for pages that never existed. Redirect moved pages with 301 so you keep their ranking and links.
What to do: Use a method from the Allow header in the response.
What to do: Loosen the Accept header, for example Accept: */*.
What to do: Retry. On slow networks, send smaller requests.
What to do: Fetch the latest version, merge your change and try again.
SEO: Search engines drop a 410 page a little faster than a 404.
What to do: Upload a smaller file, or raise the limit (client_max_body_size in nginx, upload limits in PHP).
What to do: Send the data in a POST body instead.
What to do: Set the right Content-Type, for example application/json for JSON.
What to do: Read the error list in the response body and fix those fields.
What to do: Wait for the time in the Retry-After header, then retry with backoff.
SEO: If crawlers keep getting 429, they crawl less often.
What to do: Clear the site's cookies, or send fewer or shorter headers.
What to do: Often a timeout on the client side or a user who left. Check for slow endpoints.
What to do: Check the server's error log; the problem is in the server code or configuration, not the request.
SEO: If it lasts, search engines crawl less and can drop pages.
What to do: The app behind the proxy crashed or isn't running. Restart it and check its logs.
What to do: Retry later. Send a Retry-After header during planned maintenance.
SEO: The right code for short maintenance: search engines come back later instead of dropping the page.
What to do: Find the slow part (database queries, external APIs) or raise the proxy's timeout.
About the HTTP Status Code Lookup
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
- 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.
- Or tap a class button to show only 1xx, 2xx, 3xx, 4xx or 5xx codes.
- 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 and tricks
Don't answer every error with 200 and an error message; clients, monitoring and caches rely on the status code.
Use 400 when the request can't be read at all (broken JSON) and 422 when it's readable but fails validation.
Send ETag or Last-Modified headers so browsers and crawlers can get a fast 304 for unchanged pages.
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 tools
Updated