HTTP Status Codes

Complete reference for every HTTP status code with descriptions and common uses. Free online lookup with search and categories.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

What is the difference between 301 and 302?
301 is a permanent redirect - search engines update their index. 302 is temporary - the original URL remains the canonical one. Use 301 for moved pages, 302 for maintenance.
When should I use 404 vs 410?
404 means "not found, might come back later." 410 means "gone permanently, stop asking." Use 410 for deleted resources you will not restore.
Is 418 a real status code?
Yes, but as a joke. "I’m a teapot" from RFC 2324 (April 1998). Some frameworks implement it as an easter egg, others use it for rate limiting.
What status code should my form validation use?
422 Unprocessable Entity is the standard for valid request format but invalid data. 400 Bad Request is also acceptable for malformed JSON or missing fields.
What does 429 mean?
429 Too Many Requests - the client is being rate limited. Usually paired with a Retry-After header telling the client when to try again.