HTTP Status Codes Reference - Complete Guide with Search & Categories
Complete reference list of all HTTP status codes from 1xx Informational to 5xx Server Error. Browse codes organized by category, search by code number or name, and click to copy. Includes WebDAV codes. Color-coded for quick visual identification. Essential reference for web developers, API designers, and system administrators.
Key Features of Our HTTP Status Codes Reference
š Complete Status Code Reference
Browse all 63 HTTP and WebDAV status codes organized into 5 categories from 1xx Informational to 5xx Server Error.
š Real-Time Search
Search by code number, name, description, or category. Results filter instantly as you type.
šØ Color-Coded Categories
Each category has a distinct color: green for success, amber for redirects, red for errors. Easy visual scanning.
š·ļø Category Filter Tabs
Use filter tabs to quickly jump between 1xx, 2xx, 3xx, 4xx, and 5xx categories with code counts.
š One-Click Copy
Copy any status code number to your clipboard with a single click. Perfect for documentation and code comments.
š WebDAV Support
Includes WebDAV-specific status codes with clear identification, in addition to all standard HTTP codes.
š± Responsive & Accessible
Works on desktop and mobile. Status codes displayed in a clean grid layout that adapts to any screen size.
š No Data Upload
This is a static reference page. All data is pre-loaded in your browser with no server requests.
What are HTTP Status Codes?
HTTP status codes are three-digit numbers returned by web servers in response to HTTP requests. They indicate whether a request has been successfully processed, whether it was redirected, or if an error occurred.
Status codes are grouped into five categories: 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), and 5xx (Server Error). Each code has a standard meaning and description defined in the HTTP specification (RFC 7231 and related RFCs).
Why Use an HTTP Status Codes Reference?
- Web Development: Quickly look up status codes when building or debugging HTTP APIs and web applications
- API Design: Choose the correct status codes for REST and GraphQL API responses
- Debugging: Understand error responses from servers, proxies, and CDNs
- Documentation: Reference accurate status code descriptions for technical documentation
- Learning: Study the meaning and proper usage of HTTP status codes
How to Use the HTTP Status Codes Reference
| Step | Action |
|---|---|
| 1 | Browse by Category Use the filter tabs to view status codes by category: 1xx Informational through 5xx Server Error. |
| 2 | Search for Codes Type a code number, name, or description in the search bar to find specific status codes instantly. |
| 3 | Read Descriptions Each status code card shows the code number, standard name, description, and protocol type. |
| 4 | Copy Codes Click the copy icon on any code to copy the status code number to your clipboard. |
Common Use Cases
š API Development
Reference the correct status codes when building and documenting RESTful and GraphQL APIs.
š§ Debugging Server Issues
Look up unfamiliar status codes encountered in server logs, error messages, or API responses.
š Technical Writing
Use accurate status code descriptions in API documentation, tutorials, and technical articles.
š Learning HTTP Protocol
Study the meaning and correct usage of each HTTP status code category and individual code.
š”ļø Security Auditing
Verify that your application returns appropriate status codes and does not leak information through error responses.
ā” Performance Monitoring
Understand 5xx and 4xx codes in monitoring dashboards to identify server issues and client errors.
Frequently Asked Questions About HTTP Status Codes
What is the difference between 4xx and 5xx status codes?
4xx status codes indicate client errors ā the request contains invalid syntax, unauthorized access, or cannot be fulfilled due to a client-side issue. For example, 404 Not Found means the resource does not exist. 5xx status codes indicate server errors ā the server failed to fulfill a valid request due to an internal issue, such as 500 Internal Server Error or 503 Service Unavailable. The key difference is whether the problem is with the client's request or the server's ability to process it.
What is the most common HTTP status code?
200 OK is the most common HTTP status code for successful requests. For errors, 404 Not Found is the most well-known code. In modern web applications, 301/302 redirect status codes are also extremely common for URL redirection. On the server side, 500 Internal Server Error is the most generic and common server error code. According to web traffic analysis, approximately 70-80% of requests return 2xx codes, 5-10% return 3xx redirects, 5-15% return 4xx client errors, and 1-5% return 5xx server errors.
Can HTTP status codes be customized?
While the standard HTTP status codes are defined by the IANA and RFC specifications, custom status codes can be used in some contexts. However, doing so is not recommended because clients, proxies, and browsers may not understand custom codes. The standard codes cover virtually all common scenarios. Some applications use non-standard codes internally, but they should always map to standard codes when communicating with external clients. The HTTP specification reserves the status code ranges for specific categories (1xx-5xx) and recommends using the most appropriate existing code rather than creating custom ones.
What is the 418 I'm a Teapot status code?
The 418 I'm a Teapot status code is an April Fools' Day joke defined in RFC 2324 (Hyper Text Coffee Pot Control Protocol) published on April 1, 1998. It means the server refuses to brew coffee because it is a teapot. While it is an officially registered HTTP status code, it is not intended for real-world use. Some developers and frameworks include it as an Easter egg or for testing purposes. It has become one of the most well-known humorous elements in the HTTP specification.
How should I handle 301 vs 302 redirects?
Use 301 Moved Permanently when a resource has been permanently moved to a new URL. Search engines will update their index to the new URL and stop crawling the old one. Use 302 Found (or 307 Temporary Redirect) when the redirect is temporary, such as during maintenance or A/B testing. Search engines will continue to index the original URL. For modern applications, consider using 308 Permanent Redirect (preserves request method) and 307 Temporary Redirect (preserves request method) as more explicit alternatives to 301 and 302.
Master HTTP Status Codes with Our Reference
The HTTP Status Codes Reference from OneTools Online provides a complete, searchable, and color-coded guide to all standard HTTP and WebDAV status codes. Whether you are a web developer building APIs, a system administrator debugging server issues, or a student learning the HTTP protocol, this reference helps you quickly find and understand any status code. With real-time search, category filtering, and one-click copy, it is the perfect companion for daily web development work.
