HTTP Status Codes Table

Quick reference for HTTP response codes — search by number or keyword.

What are HTTP status codes?

They are 3-digit codes a web server returns with every response, indicating the outcome of the request: 2xx means success, 3xx is a redirection, 4xx indicates a client-side error (e.g. page not found), and 5xx indicates a server-side error.

How to use it

Type a code (e.g. "404") or a keyword (e.g. "not found", "redirect", "timeout") to filter the table instantly.

Codes that cause the most confusion

Tip for API design

When designing an API, 201 fits a successful creation, 204 a success with no response body, and 422 data that arrived well formed but failed validation. Picking the right code spares API consumers from parsing the text message.

For redirects, 307 and 308 preserve the request method (a POST stays a POST), unlike what may happen with 301 and 302.

Frequently asked questions

What is the difference between 301 and 302?

301 is a permanent redirect (browsers and search engines should update the link to the new address), while 302 is temporary (the original address should keep being used in the future) — using the wrong code can hurt a site's SEO.

What does error 429 mean?

"Too Many Requests" — the client sent too many requests in a short period, and the server is rate-limiting it to protect itself from overload or abuse.