List of Http Status codes

HTTP status codes are an essential part of the Hypertext Transfer Protocol (HTTP), the underlying protocol used on the web. When a client makes a request to a server, the server responds with an HTTP status code to indicate the outcome of the request. These status codes provide valuable information about whether the request was successful, encountered an error, or requires further action. In this article, we will explore a comprehensive list of HTTP status codes and their meanings.

List of Http Status codes

1. Informational Responses (1xx):

100 Continue: The server acknowledges the initial part of the request and asks the client to proceed with the rest.

101 Switching Protocols: The server confirms the client's request to switch protocols.

2. Successful Responses (2xx):

200 OK: The request was successful, and the server returns the requested resource.

201 Created: The request was successful, and a new resource was created as a result.

204 No Content: The server successfully processed the request but does not return any content.

3. Redirection Messages (3xx):

301 Moved Permanently: The requested resource has been permanently moved to a new URL.

302 Found: The requested resource has been temporarily moved to a different URL.

304 Not Modified: The client's cached copy of the resource is still valid.

4. Client Error Responses (4xx):

400 Bad Request: The server cannot process the request due to a client error.

401 Unauthorized: The request requires user authentication.

404 Not Found: The requested resource could not be found on the server.

5. Server Error Responses (5xx):

500 Internal Server Error: The server encountered an unexpected condition that prevented it from fulfilling the request.

503 Service Unavailable: The server is temporarily unable to handle the request due to maintenance or overload.

6. Custom Status Codes:

Some APIs and web applications define their custom status codes to convey specific meanings beyond the standard ones.


HTTP status codes play a vital role in communication between clients and servers on the web. Understanding these status codes helps developers diagnose and troubleshoot issues, ensuring a smooth user experience. In this article, we covered a range of status codes from informational to success, redirection, client errors, server errors, and even custom codes.