HTTP Status Codes Reference

Look up any HTTP status code or browse the complete reference below.

1xx Informational

100
Continue
Server received request headers, client should proceed to send body.
101
Switching Protocols
Server is switching protocols as requested (e.g., WebSocket upgrade).
102
Processing
Server is processing the request but no response yet (WebDAV).
103
Early Hints
Used to return response headers before the final HTTP message.

2xx Success

200
OK
Request succeeded. The most common success response.
201
Created
Request succeeded and a new resource was created.
202
Accepted
Request accepted for processing but not yet completed.
204
No Content
Request succeeded but no content to return.
206
Partial Content
Server is delivering only part of the resource (range request).

3xx Redirection

301
Moved Permanently
Resource has permanently moved to a new URL.
302
Found
Resource temporarily at a different URL.
304
Not Modified
Resource has not changed since last request. Use cached version.
307
Temporary Redirect
Like 302, but guarantees method and body will not change.
308
Permanent Redirect
Like 301, but guarantees method and body will not change.

4xx Client Error

400
Bad Request
Server cannot process the request due to malformed syntax.
401
Unauthorized
Authentication required. Client must provide valid credentials.
403
Forbidden
Server understood the request but refuses to authorize it.
404
Not Found
The requested resource could not be found on the server.
405
Method Not Allowed
HTTP method not supported for this endpoint.
408
Request Timeout
Server timed out waiting for the request.
409
Conflict
Request conflicts with current state of the server.
410
Gone
Resource has been permanently removed.
413
Payload Too Large
Request body exceeds server limits.
422
Unprocessable Entity
Request is well-formed but contains semantic errors.
429
Too Many Requests
Rate limit exceeded. Client is sending too many requests.
451
Unavailable For Legal Reasons
Resource blocked due to legal requirements.

5xx Server Error

500
Internal Server Error
Generic server error. Something went wrong on the server side.
502
Bad Gateway
Server acting as gateway received invalid response from upstream.
503
Service Unavailable
Server temporarily unable to handle request (overloaded or maintenance).
504
Gateway Timeout
Server acting as gateway did not receive response in time.

Understanding HTTP Status Codes

HTTP status codes are three-digit numbers returned by a web server in response to a client request. They tell the client whether the request was successful, redirected, or resulted in an error. Every web developer, DevOps engineer, and API consumer needs to understand these codes to debug issues, build resilient applications, and design proper error handling.

Status codes are grouped into five categories. 1xx codes are informational, indicating the request was received and the server is continuing to process. 2xx codes indicate success. 3xx codes indicate the client needs to take additional action, usually a redirect. 4xx codes mean the client made an error (bad URL, missing authentication, etc.). 5xx codes mean something went wrong on the server side.

API Access

Look up any status code programmatically:

curl https://toolpipe.com/api/http-status/404

Frequently Asked Questions

What is the difference between 401 and 403?

A 401 (Unauthorized) means the client has not provided valid authentication credentials. A 403 (Forbidden) means the client is authenticated but does not have permission to access the resource. In short: 401 is "who are you?" and 403 is "you are not allowed."

When should I use 301 vs 302 redirects?

Use 301 (Moved Permanently) when a resource has permanently moved to a new URL. Search engines will transfer SEO value to the new URL. Use 302 (Found) for temporary redirects where the original URL should remain the canonical location.

What does a 500 error mean for end users?

A 500 Internal Server Error means something unexpected went wrong on the server. It is not the user's fault. The server administrator needs to check logs to identify and fix the problem.

Related Tools

DNS Lookup | WHOIS Lookup | cURL Converter | Webhook Tester

Get a free API key for 100+ developer endpoints:
Pro plans
ToolPipe JSON Formatter CSS Minifier JS Minifier UUID Generator Regex Tester JWT Decoder Password Generator Hash Generator Base64 JSON to YAML QR Generator Merge PDF Image to Base64 Color Picker My IP XML Formatter YAML Validator CSV to JSON Diff Checker SQL Formatter Free API Key Pro Plans Quick Start
130+ free developer tools by ToolPipe. No signup, no tracking. Support us