HTTP STATUS CODES

HTTP Status Codes — Complete List by Class

Every status code your server or API is likely to return, grouped by class. Open a code for its meaning, typical causes, fixes for site owners and developers, SEO impact and an example response.

An HTTP status code is the three-digit number at the start of every HTTP response. The first digit sets the class; the full meaning of each code is defined in RFC 9110 (HTTP Semantics) and a few companion RFCs. Want to search or filter instead? Use the HTTP Status Codes tool, or read the complete developer guide.

1xx Informational

Interim responses: the request was received and the process continues. A final status code always follows.

2xx Success

The request was received, understood and accepted.

3xx Redirection

Further action is needed to complete the request, usually following a Location header.

4xx Client Error

The request contains an error or cannot be fulfilled; the problem is on the client side.

5xx Server Error

The server failed to fulfil an apparently valid request.

Frequently asked questions

What are the five classes of HTTP status codes?

1xx informational, 2xx success, 3xx redirection, 4xx client error and 5xx server error. The first digit defines the class (RFC 9110 §15).

Which redirect should I use for SEO?

Use 301 or 308 for permanent moves, and 302 or 307 only when the move is temporary.

What status should a page return during maintenance?

503 Service Unavailable, ideally with a Retry-After header, so search engines know the downtime is temporary.

What happens if a client gets a code it does not know?

RFC 9110 says a client must treat an unrecognised code as the x00 code of its class — for example an unknown 4xx is handled like 400.

More PAYATE tools