🌐 Complete Reference · Plain English · Code Examples

HTTP Status Code Reference

Plain English explanations for every HTTP status code β€” what it means, when to use it, common causes and real code examples.

1xx

1xx Informational

2xx

2xx Success

3xx

3xx Redirection

4xx

4xx Client Error

5xx

5xx Server Error

About HTTP Status Codes

HTTP status codes are three-digit numbers returned by a server in response to a client request. They are grouped into five classes: 1xx informational responses, 2xx successful responses, 3xx redirection messages, 4xx client error responses, and 5xx server error responses.

Understanding the difference between similar codes β€” like 401 vs 403, or 400 vs 422, or 502 vs 504 β€” helps you debug APIs faster and build more informative error responses. Each code is defined in an RFC (Request for Comments) document published by the IETF.