# HTTP Status Code Reference

Complete HTTP status code reference (1xx–5xx) with semantics, typical scenarios, and retry advice in a filterable comparison table

> Canonical page: https://elysiatools.com/en/tools/http-status-reference

- **Category:** Development

- **Keywords:** http, status code, reference, 1xx, 2xx, 3xx, 4xx, 5xx, rest, api, response, cheatsheet, retry

## Overview

The HTTP Status Code Reference tool provides a complete, filterable directory of HTTP response codes from 1xx to 5xx. It delivers clear semantics, typical real-world scenarios, and actionable retry advice for developers and system administrators troubleshooting API integrations or web traffic.

## Inputs

- **Category Filter** (select)
- **Search** (text): Filter by code, reason, meaning or scenario...

## When to use

- When debugging API responses and needing to understand the exact meaning and retry logic of an unfamiliar HTTP status code.
- When designing RESTful APIs and selecting the most appropriate standard status code for specific success or error scenarios.
- When configuring load balancers, reverse proxies, or API gateways to handle upstream errors and client retries correctly.

## How it works

- Select a specific category filter, such as 2xx Success, 4xx Client Error, or 5xx Server Error, to narrow down the status codes.
- Use the search input to filter the reference table by code number, reason phrase, meaning, or specific scenario.
- Review the generated comparison table to inspect the semantics, typical use cases, and retry recommendations for each code.

## Use cases

- API Development: Referencing standard codes to ensure a REST API returns compliant HTTP responses.
- Network Troubleshooting: Quickly looking up error codes found in server logs or browser developer tools to diagnose connection issues.
- Client-Side Error Handling: Determining whether an application should automatically retry a failed HTTP request based on the returned status code.

## Frequently asked questions

### What is the difference between 4xx and 5xx status codes?

4xx codes indicate client-side errors, such as bad syntax or unauthorized access, while 5xx codes indicate server-side failures where the server failed to fulfill a valid request.

### How do I search for a specific status code?

Type the code number or a keyword into the search box to instantly filter the reference table.

### Does the reference table provide retry advice?

Yes, the table includes specific retry recommendations indicating whether a client should immediately retry, wait, or avoid retrying the request.

### Can I filter the list by category?

Yes, you can use the Category Filter dropdown to isolate 1xx, 2xx, 3xx, 4xx, or 5xx status codes.

### What are 3xx status codes used for?

3xx status codes indicate redirection, requiring the user agent or client to take further action to complete the request.

## Related tools

- [Cron Expression Explainer](https://elysiatools.com/en/tools/cron-expression-explainer): Parse a 5-part / 6-part / Quartz cron expression into a plain-language schedule description, show the field-by-field breakdown, and list the next N execution times in any IANA timezone — with an AI-generated natural-language explanation in your language
- [ASCII Table Reference](https://elysiatools.com/en/tools/ascii-table): Browse the complete ASCII character table (0–127) with decimal, hex, octal, binary, HTML entity, and control character names; filter by code or name
- [cURL to Go (net/http) Converter](https://elysiatools.com/en/tools/curl-to-go): Convert a cURL command into a Go net/http code snippet with http.NewRequest, headers, and body
- [cURL to JavaScript (axios) Converter](https://elysiatools.com/en/tools/curl-to-js-axios): Convert a cURL command into a JavaScript axios code snippet with config object, headers, and data
- [cURL to JavaScript (fetch) Converter](https://elysiatools.com/en/tools/curl-to-js-fetch): Convert a cURL command into a JavaScript fetch() code snippet with headers, body, and method
- [cURL to PHP (cURL) Converter](https://elysiatools.com/en/tools/curl-to-php): Convert a cURL command into a PHP cURL code snippet with curl_setopt, headers, and post fields
- [cURL to Python (requests) Converter](https://elysiatools.com/en/tools/curl-to-python): Convert a cURL command into a Python requests code snippet with headers, data, and method
- [HTTP Request Tester](https://elysiatools.com/en/tools/http-request-tester): A lightweight in-browser HTTP client (mini Postman): send GET/POST/PUT/DELETE requests with custom headers and body, inspect status, headers, timing, and formatted response — all from your browser

## Samples

- [QR Code Samples](https://elysiatools.com/en/samples/qrcode-samples): Sample QR code images for testing QR code reading and generation tools
- [Code Comment Samples](https://elysiatools.com/en/samples/code-comment-samples): Sample code files with various comment styles for testing comment removal
- [Invalid Variable Names Code Samples](https://elysiatools.com/en/samples/code-invalid-variable-names-samples): Sample code files demonstrating invalid variable naming conventions across different programming languages
- [Code Viewer Samples](https://elysiatools.com/en/samples/code-viewer-samples): Sample long-tail code and config files (shell, Vue, C++, TOML, Graphviz) for the in-browser Code Viewer

## Related content

- [cURL to Code Converter and HTTP Request Tools](https://elysiatools.com/en/hubs/curl-to-code-converter): Convert cURL commands into Go, JavaScript, Python, PHP, and HAR, generate API request snippets, test HTTP requests, and look up status codes in one focused developer hub.
