HTTP Status Code Reference
Search and reference HTTP status codes. Find 39 major codes including 200 OK, 404 Not Found, 500 Internal Server Error and more.
Last updated:
How to Use
Expand how to useCollapse how to use
- 1
Browse the List
The page displays a list of HTTP status codes. You can see the code, name, and description.
- 2
Search and Filter
Enter a code number or name in the search box to filter results. You can also filter by category (1xx-5xx).
- 3
Use the Information
Click on any status code to copy it. Use this for API development or debugging.
Description is also searchable
Showing 39 status codes of 39
What is HTTP Status Code Reference?
HTTP Status Code Reference is a searchable guide covering 39 major HTTP response codes organized by category: 1xx Informational, 2xx Success, 3xx Redirection, 4xx Client Error, and 5xx Server Error. Look up any status code instantly when debugging REST APIs, reading Nginx or Apache access logs, writing error-handling middleware, or diagnosing issues in your web application. Each entry includes the numeric code, standard name, and a clear explanation of when and why the server returns it. Real-time search filters by code number or name, and category filters let you browse all codes in a specific range. One-click copy makes it easy to reference codes in documentation or bug reports.
Key Features
- List view of 39 major HTTP status codes with code, name, and description
- Real-time search by code number or name
- Filter by 1xx-5xx categories
- Sort by frequency or code number
- One-click copy of status codes
Use Cases
- Choose the right response code when designing a REST or GraphQL API
- Debug unexpected responses in Postman, cURL, or browser DevTools
- Implement proper redirects (301 vs 302) for SEO during site migrations
- Write error-handling middleware in Express, Django, or Rails
- Understand status codes returned by AWS, Stripe, Twilio, or other third-party APIs
FAQ
What do the different status code categories mean?
1xx (Informational) indicates request processing in progress. 2xx (Success) indicates the request was processed successfully. 3xx (Redirection) indicates a redirect to another URL. 4xx (Client Error) indicates a problem with the request. 5xx (Server Error) indicates a server-side problem.
What's the difference between 404 and 410?
404 Not Found means 'resource not found (potentially temporary)'. 410 Gone means 'resource has been permanently deleted' and signals to crawlers that the resource should be deindexed. For SEO, using 410 for deleted pages is recommended.
When should I use 301 vs 302 redirects?
301 Moved Permanently indicates a permanent move, and SEO value transfers to the new URL. 302 Found indicates a temporary move, and SEO value stays with the original URL. Use 301 for site migrations or URL structure changes, and 302 for temporary redirects like maintenance.
What's the difference between 401 and 403?
401 Unauthorized means 'authentication required' — the request can succeed after logging in or providing valid credentials. 403 Forbidden means 'authenticated but not authorized' — the server knows who you are but won't allow access. Return 401 for login walls and 403 for permission-denied scenarios.
What should I do when a 500 error occurs?
500 Internal Server Error indicates an unexpected server-side error. Check your application logs (e.g., CloudWatch, Datadog, or Sentry) for stack traces. Common causes include unhandled exceptions, database connection failures, and misconfigured environment variables.
