HTTP Status Codes Explained: 200, 301, 404, 500 and the Rest
Updated November 2026
Written by the Toolpuffin team. Tools in this guide are tested in the browser.
When your browser asks a server for a page, the server answers with a three-digit status code. Most of the time you never see it, until something goes wrong and you meet a 404 or a 500. This guide explains the five classes and the codes you will meet most often.
Try the tool: HTTP Status Codes
The five classes
The first digit of a status code tells you the class. The codes are defined by RFC 9110 and listed by MDN.
| Class | Meaning | Example |
|---|---|---|
| 1xx | Informational: the request was received | 100 Continue |
| 2xx | Success: the request worked | 200 OK |
| 3xx | Redirection: look somewhere else | 301 Moved Permanently |
| 4xx | Client error: the request has a problem | 404 Not Found |
| 5xx | Server error: the server failed a valid request | 500 Internal Server Error |
Source: MDN: HTTP response status codes
Codes you will meet most often
| Code | Name | What it usually means |
|---|---|---|
| 200 | OK | The request worked and the page is returned |
| 301 | Moved Permanently | The page has a new address for good |
| 302 | Found | A temporary redirect to another address |
| 304 | Not Modified | The copy you already have is still current |
| 400 | Bad Request | The server could not understand the request |
| 401 | Unauthorized | You need to sign in first |
| 403 | Forbidden | You are known but not allowed to see this |
| 404 | Not Found | There is nothing at this address |
| 410 | Gone | It was here, and it is gone for good |
| 429 | Too Many Requests | Too many requests in a short time |
| 500 | Internal Server Error | Something went wrong on the server |
| 502 | Bad Gateway | A server in between got a bad answer |
| 503 | Service Unavailable | The server is busy or down for now |
What it means for your own site
- A 4xx points at the request, so repeating the same request gives the same answer. For a broken link, fix the link or add a redirect.
- A 5xx points at the server, so it is worth trying again later and checking your hosting.
- Use 301 when a page moved for good and 302 when the move is temporary.
- A page that is missing should return 404, not 200 with an error message.