HTTP status codes are three-digit numbers a server returns with every response to say what happened. The first digit gives the class: 1xx informational, 2xx success, 3xx redirection, 4xx client error and 5xx server error. Search this reference by number or keyword to see the name and meaning of each registered code.
How to use the HTTP Status Codes
- Type a code or keywordEnter a number such as 404, the start of one such as 50, or a word such as "redirect" or "timeout".
- Filter by classUse the class menu to show only informational, success, redirection, client error or server error codes.
- Read the meaningEach row gives the official name and a short explanation of when the code is sent.
The five classes of HTTP status codes
Every HTTP response starts with a status line such as HTTP/1.1 200 OK. The number is defined by the HTTP standard (RFC 9110) and a registry kept by IANA. You only need the first digit to know roughly what happened:
- 1xx Informational: the request was received and processing continues. Rarely seen outside protocol upgrades and
103 Early Hints. - 2xx Success: the request worked.
200 OKis the normal answer;201 Createdand204 No Contentare common in APIs. - 3xx Redirection: the client must look elsewhere, or can use its cached copy (
304). - 4xx Client error: the request was wrong: a bad URL, missing login or invalid data. Retrying the same request will not help.
- 5xx Server error: the request may have been fine but the server failed. Retrying later may work.
A client that meets a code it does not know treats it like the x00 code of its class, so an unknown 4xx is handled as a 400.
The codes that matter most for websites and SEO
| Code | Use it when |
|---|---|
| 200 | The page exists and is returned normally. |
| 301 | A page has moved for good. Search engines pass its signals to the new URL. |
| 302 / 307 | A temporary move. The original URL stays indexed. |
| 304 | The browser's cached copy is still valid. |
| 404 | The page does not exist. |
| 410 | The page was removed on purpose and is not coming back. |
| 429 | The client is sending too many requests. |
| 500 | The application crashed or is misconfigured. |
| 503 | Planned maintenance or overload; add a Retry-After header. |
A few pairs are often confused. 401 vs 403: 401 means "you have not proved who you are", 403 means "I know who you are and the answer is no". 301 vs 308 and 302 vs 307: the newer 307 and 308 guarantee that a POST stays a POST, while 301 and 302 allow it to become a GET. 502 vs 504: both come from a proxy or load balancer; 502 means the server behind it gave a bad answer, 504 means it gave none in time.
Avoid "soft 404s", where a missing page returns 200 with an error message; search engines treat them as low-quality pages. To set up redirects on Apache, use the .htaccess redirect generator.
You may also see unofficial codes such as 499 (nginx: client closed the request) or 520 to 526 (Cloudflare). They are specific to those products and are not part of this list.
Frequently asked questions
What are HTTP status codes?
They are three-digit numbers a web server sends with every response to report the result of the request, such as 200 for success, 301 for a permanent redirect or 404 for not found.
What is the difference between 301 and 302?
A 301 is a permanent redirect: browsers and search engines should use the new URL from now on. A 302 is temporary: the original URL remains the one to keep.
What is the difference between 401 and 403?
401 Unauthorized means authentication is missing or invalid, so logging in may fix it. 403 Forbidden means the server refuses the request regardless of who you are logged in as.
What does a 500 error mean?
500 Internal Server Error means something went wrong on the server, such as a crash or a configuration fault. The cause is in the server logs, not in the visitor's browser.
What does 503 Service Unavailable mean?
The server is temporarily unable to handle the request, usually because of maintenance or overload. It signals that the client should try again later.
Last updated 24 November 2026 by the TheTechFolk team.