HTTP Status Codes
Reference for all HTTP status codes
π 100% client-side β your data never leaves this pageAbout this tool
A complete searchable reference for all HTTP status codes. Filter by category (1xx informational, 2xx success, 3xx redirect, 4xx client error, 5xx server error) or search by code number and description. Each code includes a detailed explanation and real-world usage examples.
Frequently Asked Questions
What is the difference between 401 and 403?
401 Unauthorized means authentication is required and has failed or not been provided. 403 Forbidden means the server understood the request but refuses to authorize it β the user is authenticated but lacks permission.
What is the difference between 301 and 302 redirects?
301 is a permanent redirect, telling browsers and search engines to update their records. 302 is temporary, meaning the original URL should be kept. For SEO, 301 passes link equity while 302 does not.
When should I use 422 instead of 400?
Use 400 for malformed requests (invalid JSON syntax). Use 422 for requests that are syntactically valid but semantically wrong β such as failing business logic validation like an invalid email format.