failover.io
  1. Home
  2. Free tools
  3. HTTP status checker

HTTP status code checker

Check the status code of up to 10 URLs, with redirects, response time and headers.

The checker requests each URL from our servers, the way a browser would, and follows redirects. For each one you get the final HTTP status code, what it means, how long it took, the redirect chain and the response headers. A domain without https:// is checked over https.

HTTP status codes

The first digit gives the class: 2xx worked, 3xx redirects, 4xx is a problem with the request or the page, 5xx is a problem on the server.

CodeMeaningWhat to do
200OKNothing. If the page still looks broken, see 200 but shows an error.
301, 308Permanent redirectFine for http to https or a moved page. Point links at the final URL.
302, 307Temporary redirectUse 301 or 308 if the move is permanent. Trace the chain with the redirect checker.
304Not modifiedNormal for cached files. Browsers send it, this checker doesn't.
400Bad requestLook for a malformed URL, an oversized cookie or a broken header.
401UnauthorizedThe page needs a login or an API token.
403ForbiddenCheck file permissions, the web server's access rules and firewall or WAF rules that block some visitors.
404Not foundFix the link, or redirect the old URL with a 301.
410GoneThe page was removed on purpose. Search engines drop it faster than a 404.
429Too many requestsA rate limit. Check the Retry-After header.
500Internal server errorThe application failed. The answer is in its error log.
502Bad gatewayThe proxy (nginx, a load balancer) got no valid answer from the app behind it. Is the app running?
503Service unavailableOverloaded or in maintenance. Check the server load and the app's workers.
504Gateway timeoutThe app answered too slowly for the proxy. Look for slow queries or long requests.
520 to 526Cloudflare errorsCloudflare couldn't get a good answer from your server. Each code has its own fix: Cloudflare 5xx errors.

Response headers worth reading

HeaderWhat it tells you
locationWhere a redirect points.
cache-controlHow long browsers and CDNs may keep the page.
serverThe web server or CDN that answered, like nginx or cloudflare.
cf-cache-statusOn Cloudflare: HIT came from the cache, MISS or DYNAMIC came from your server.
strict-transport-securityThe site tells browsers to use https only.
x-robots-tagA noindex here keeps the page out of search results, even with a 200.
retry-afterWith a 429 or 503: when to try again.

Check a status code from the command line

curl -s -o /dev/null -w "%{http_code}\n" https://example.com

This prints only the status code. Add -L to follow redirects and get the final code. To see every header:

curl -sI https://example.com

-I sends a HEAD request. A few servers answer HEAD differently from GET, so if the code looks wrong, compare with curl -s -o /dev/null -D - https://example.com, which sends a GET and prints the headers.

Know when a status code changes

A page that returns 200 today can return 502 after a deploy at 3 a.m. An uptime monitor requests your URLs every minute and alerts you when the status code isn't the one you expect, by email, Slack, SMS or a phone call. To ask whether a site is down for everyone, use the is it down checker.

Frequently asked questions

How do I check the HTTP status code of a URL?

Paste the URL in the checker above. It requests the page, follows redirects and shows the final status code with its meaning, the redirect chain and the response headers. From a terminal: curl -s -o /dev/null -w "%{http_code}" https://example.com.

Can I check several URLs at once?

Yes. Paste up to 10 URLs, one per line. Each one gets its own status code, timing and headers.

Why does the checker show a different code than my browser?

Your browser may have the page cached, be logged in or be in another country than our servers. Some sites also block or challenge automated requests, which often shows up as a 403 or 429.

Does the checker follow redirects?

Yes, up to 5. It shows the final status code, the final URL and every step in between. For a closer look at a chain, use the redirect checker.

Which status codes mean a site is down?

Codes from 500 up, and no answer at all. A 404 or 403 means the server is up but that page is missing or refused.