← Imperial Products / Tools / HTTP Status Codes

HTTP Status Codes Reference

Every HTTP response code — searchable, filterable, with detailed explanations and use cases. Click any code to expand details. Click the copy button to copy the code + name.

HTTP status codes are three-digit numeric codes returned by a server in response to a client request. They are grouped into five classes: 1xx Informational, 2xx Success, 3xx Redirection, 4xx Client Error, and 5xx Server Error. Understanding status codes is essential for building reliable web applications, debugging API integrations, configuring servers, and interpreting browser behavior. This reference covers all standard codes defined in RFC 7231, RFC 7232, RFC 7233, RFC 7235, RFC 6585, RFC 8297, and other relevant specifications, plus widely-used unofficial codes like 418 I'm a Teapot, 429 Too Many Requests, and 451 Unavailable For Legal Reasons.

Understanding HTTP Status Code Classes

The first digit of an HTTP status code defines its class. Each class communicates a different category of response from the server.

Most Important HTTP Status Codes

While there are over 60 standardized codes, a handful appear in the vast majority of web traffic:

HTTP Status Codes in REST APIs

Choosing the correct status code in a REST API is critical for usability and standards compliance. Some key conventions:

More Free Developer Tools