In plain English The three-digit number a website sends back with every page, saying how it went: 200 means fine, 404 means not found, 500 means the site itself broke.
An HTTP status code is the three-digit number a server sends at the start of every response, saying how the request went. Browsers usually hide it when things work, but it decides what happens next: show the page, follow a redirect, or show an error.
The five classes
| Class | Meaning | Common examples |
|---|---|---|
| 1xx | Informational | Rarely seen |
| 2xx | Success | 200 OK |
| 3xx | Redirect | 301 Moved Permanently, 302 Found, 304 Not Modified |
| 4xx | Problem with the request | 403, 404, 429 |
| 5xx | Problem on the server | 500, 502, 503, 504 |
The first digit tells you where to look: a 4xx usually means the address, permissions or the visitor; a 5xx means the server or the code behind it.
See the code
curl -I https://example.com/
The first line of the reply shows it, such as HTTP/2 200. In a browser, the developer tools’ Network tab shows the status of every file a page loads.
Why they matter for search
Search engines rely on status codes. A moved page should return 301 so rankings pass to the new address. A missing page should return a real 404, not a “not found” message with 200. Planned downtime should return 503, which tells crawlers to come back later instead of dropping the page.
Official documentation: developer.mozilla.org