HTTP Status Codes
Every common HTTP status code explained, informational (1xx), success (2xx), redirection (3xx), client errors (4xx), and server errors (5xx), with what each one means.
HTTP status codes are three-digit numbers a server returns to describe the result of a request. The first digit sets the category, from informational (1xx) through success (2xx), redirection (3xx), client errors (4xx), and server errors (5xx).
1xx, Informational
The request was received and the process is continuing.
| Code | Name | Meaning |
|---|---|---|
100 | Continue | Keep sending the request body. |
101 | Switching Protocols | Server agrees to switch protocols (e.g. to WebSocket). |
103 | Early Hints | Preload hints sent before the final response. |
2xx, Success
The request was received, understood, and accepted.
| Code | Name | Meaning |
|---|---|---|
200 | OK | Standard success response. |
201 | Created | A new resource was created (e.g. after POST). |
202 | Accepted | Accepted for processing, but not yet done. |
204 | No Content | Success, but there is nothing to return. |
206 | Partial Content | Partial response for a range request. |
3xx, Redirection
Further action is needed to complete the request.
| Code | Name | Meaning |
|---|---|---|
301 | Moved Permanently | Resource has a new permanent URL. |
302 | Found | Temporary redirect to another URL. |
304 | Not Modified | Cached version is still valid; use it. |
307 | Temporary Redirect | Like 302 but keeps the HTTP method. |
308 | Permanent Redirect | Like 301 but keeps the HTTP method. |
4xx, Client errors
The request was malformed or not allowed.
| Code | Name | Meaning |
|---|---|---|
400 | Bad Request | The server could not understand the request. |
401 | Unauthorized | Authentication is required or has failed. |
403 | Forbidden | Authenticated, but not allowed to access this. |
404 | Not Found | The resource does not exist. |
405 | Method Not Allowed | The HTTP method is not supported here. |
409 | Conflict | Request conflicts with the current state. |
410 | Gone | The resource is permanently removed. |
418 | I'm a teapot | An April Fools joke from RFC 2324. |
422 | Unprocessable Content | Well-formed but semantically invalid. |
429 | Too Many Requests | Rate limit exceeded; slow down. |
5xx, Server errors
The server failed to fulfil a valid request.
| Code | Name | Meaning |
|---|---|---|
500 | Internal Server Error | A generic, unexpected server failure. |
501 | Not Implemented | The server does not support this feature. |
502 | Bad Gateway | An upstream server sent an invalid response. |
503 | Service Unavailable | Server is overloaded or down for maintenance. |
504 | Gateway Timeout | An upstream server did not respond in time. |
Rule of thumb: 2xx means it worked, 3xx means look elsewhere, 4xx means you (the client) did something wrong, and 5xx means the server did. A 401 means "who are you?", while a 403 means "I know who you are, and no".
What this does
An HTTP status codes reference explains every common code — informational (1xx), success (2xx), redirection (3xx), client errors (4xx), and server errors (5xx).
How to use it
- Find a code by its number.
- Read what it means.
- Note its category.
- Copy the code or name with one tap.
Example
404 means the requested resource was not found.
Sources & methodology
Last updated .
Frequently asked questions
What do the code categories mean?
2xx means success, 3xx means redirection (look elsewhere), 4xx means a client error (your request was wrong), and 5xx means a server error.
What’s the difference between 401 and 403?
A 401 Unauthorized means "who are you?", authentication is needed or failed. A 403 Forbidden means "I know who you are, and you are not allowed".
When should I use 301 vs 302?
Use 301 Moved Permanently when a URL has changed for good (it transfers SEO value); use 302 Found for a temporary redirect.
Related tools
Port Numbers Reference
A reference of common TCP and UDP port numbers (web and email, remote access, databases, and network services) so you can recognise what runs where.
File Extensions Reference
A reference of common file extensions and the formats they represent, documents, images, audio and video, archives, and code and data files.
ASCII Table
A complete ASCII table, printable characters 32–126 with their decimal and hex codes, plus the control characters 0–31 and 127 with their standard abbreviations.
HTML Entities Reference
A reference of common HTML entities, the must-escape characters, punctuation and quotes, currency and legal symbols, math symbols, and arrows, with named and numeric codes.