Home/Tools/HTTP Status Codes

HTTP Status Codes

Comprehensive HTTP status code reference with search and explanations

A comprehensive, searchable reference guide for all HTTP status codes with descriptions, causes, and solutions.

Showing 62 of 62 status codes
100

Continue

The server has received the request headers and the client should proceed to send the request body.

Click for details โ†’
101

Switching Protocols

The server is switching protocols as requested by the client.

Click for details โ†’
102

Processing

The server has received and is processing the request, but no response is available yet.

Click for details โ†’
103

Early Hints

Used to return some response headers before final HTTP message.

Click for details โ†’
200

OK

Common

The request has succeeded.

Click for details โ†’
201

Created

Common

The request has been fulfilled and resulted in a new resource being created.

Click for details โ†’
202

Accepted

The request has been accepted for processing, but the processing has not been completed.

Click for details โ†’
203

Non-Authoritative Information

The request was successful but the enclosed payload has been modified by a transforming proxy.

Click for details โ†’
204

No Content

Common

The request has succeeded but there is no content to send back.

Click for details โ†’
205

Reset Content

The server tells the client to reset the document view.

Click for details โ†’
206

Partial Content

The server is delivering only part of the resource due to a range header sent by the client.

Click for details โ†’
207

Multi-Status

Provides status for multiple independent operations (WebDAV).

Click for details โ†’
...

Press Ctrl+K or โŒ˜K to focus search

Press Esc to close details

Need Help Building Robust Web Applications?

Our development team can help you design and implement RESTful APIs with proper error handling, build scalable web applications, and optimize your infrastructure.

Understanding HTTP Status Code Categories

1xx Informational

The request was received and is being processed. These are interim responses. Examples: 100 Continue, 101 Switching Protocols, 103 Early Hints.

2xx Success

The request was successfully received, understood, and accepted. Examples: 200 OK, 201 Created, 204 No Content, 206 Partial Content.

3xx Redirection

Further action is needed to complete the request. Examples: 301 Moved Permanently, 302 Found, 304 Not Modified, 307 Temporary Redirect.

4xx Client Error

The request contains bad syntax or cannot be fulfilled. Examples: 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests.

5xx Server Error

The server failed to fulfill a valid request. Examples: 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable, 504 Gateway Timeout.

Custom Codes

Some platforms use non-standard codes (e.g., Cloudflare 52x errors, IIS 440 Login Timeout). Use standard codes when possible for better compatibility.

Common Status Codes Explained

200OK

Standard success response. The request was successful and the server returned the requested data.

201Created

A new resource was successfully created (typically in response to POST or PUT requests).

400Bad Request

The server cannot process the request due to client error (malformed syntax, invalid parameters, etc.).

404Not Found

The requested resource could not be found on the server. This is the most common error status code.

500Internal Server Error

A generic server error occurred. The server encountered an unexpected condition that prevented it from fulfilling the request.

Best Practices for API Design

  • โ€ขUse semantic codes: Choose status codes that accurately describe the result (200 for success, 404 for not found, 500 for server errors)
  • โ€ขBe consistent: Use the same status codes for similar situations across your API
  • โ€ขProvide error details: Include helpful error messages in the response body along with appropriate status codes
  • โ€ขUse 201 for resource creation: Return 201 Created with a Location header pointing to the new resource
  • โ€ขDistinguish authentication vs authorization: Use 401 for missing/invalid auth, 403 for insufficient permissions
  • โ€ขImplement rate limiting: Return 429 Too Many Requests with Retry-After header when rate limits are exceeded

Frequently Asked Questions

Common questions about the HTTP Status Codes

HTTP status codes are three-digit numbers returned by web servers in response to HTTP requests. They indicate whether a specific request has been successfully completed and provide information about the status of the request. Status codes are grouped into five categories: 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), and 5xx (Server Error).

โ„น๏ธ Disclaimer

This tool is provided for informational and educational purposes only. All processing happens entirely in your browser - no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results. Use at your own discretion.