HTTP Status Codes
WebReference for HTTP status codes (1xx-5xx) with meanings, examples and use cases. Debug API responses faster by looking up 404, 503 and every code.
100Informational101Informational200Success201Success202Success204Success206Success301Redirect302Redirect304Redirect307Redirect308Redirect400Client error401Client error403Client error404Client error405Client error408Client error409Client error410Client error418Client error422Client error429Client error500Server error502Server error503Server error504Server errorAbout HTTP Status Codes
HTTP status codes are the three-digit results a server returns for each request, grouped by their first digit into five classes: 1xx informational, 2xx success, 3xx redirection, 4xx client error, and 5xx server error. This tool ships a complete code dictionary: enter codes like 404, 301, or 429 to find the standard name, meaning, class, and common use cases, or search by keyword such as "redirect" or "unauthorized". The tables are bundled in the page and queried entirely in your browser, with no network requests. Tip: Bookmark this tool for quick access during your web development work. All processing happens locally in your browser with no installation required.
How to Use
- Open the HTTP Status Codes tool page
- Enter or paste your data into the input area
- View the real-time results and use the copy button to get the output
Use Cases
- Debug API responses — Quickly confirm semantics of 422 or 409 to tell a data problem from a conflict.
- Configure redirects — Distinguish 301 permanent from 302 temporary to avoid hurting SEO link equity.
- Rate-limit design — Pick 429 Too Many Requests and pair it with a Retry-After header.
- Error handling — Decide on the frontend whether to retry or prompt based on 4xx vs 5xx classes.
- Learning & interviews — Systematically memorize standard definitions and applicable boundaries.
- Proxy config — Check 502 vs 504 semantics to configure gateway timeout and retry logic correctly.
- Cache tuning — Review 304 and 200 semantics to validate ETag-based caching and conditional requests.
FAQ
Difference between 301 and 308?
Both are permanent redirects, but with 301 a browser may switch POST to GET, while 308 strictly preserves the original method and body. Prefer 308 when form submissions are involved.
How to tell 401 from 403?
401 Unauthorized means not authenticated (missing or invalid credentials, go log in); 403 Forbidden means authenticated but lacking permission, where providing credentials again will not help.
When should I return 404 instead of 200?
Missing resources should return 404 so search engines and clients handle them correctly. Serving a "not found" page with 200 creates a soft 404 that harms indexing.
Is status code 418 real?
418 I'm a teapot comes from the April Fools' RFC 2324 joke and is not an official standard, though many frameworks keep it. Do not rely on it for business semantics in production.
What do 502, 503, and 504 mean?
502 means the gateway got an invalid upstream response, 503 means the service is temporarily unavailable (overload or maintenance), and 504 means the gateway timed out waiting upstream. Check the upstream service and timeout settings accordingly.
Any browser compatibility requirements?
This tool works in all modern browsers (Chrome, Firefox, Edge, Safari). No plugins or extensions required.
Can I use it offline?
After initial load, most features work offline. The core logic runs entirely in your browser with no network dependency.
Comments
Comments are stored locally in your browser. Configure Giscus for cloud-based comments.