All Tools

HTTP Status Code Reference

Search HTTP status codes and understand their meanings. All 1xx-5xx codes included.

100

Continue

Initial part of request received, continue sending

101

Switching Protocols

Server is switching protocols as requested

200

OK

Request succeeded

201

Created

Request succeeded, new resource created

202

Accepted

Request accepted, processing not complete

204

No Content

Request succeeded, no content to return

206

Partial Content

Range request succeeded, partial content returned

301

Moved Permanently

Resource has permanently moved to new URL

302

Found

Resource temporarily at different URL

303

See Other

Response at different URI (use GET)

304

Not Modified

Cached version is still valid

307

Temporary Redirect

Temporary redirect (preserve method)

308

Permanent Redirect

Permanent redirect (preserve method)

400

Bad Request

Invalid request syntax

401

Unauthorized

Authentication required

403

Forbidden

Access denied

404

Not Found

Resource not found

405

Method Not Allowed

HTTP method not allowed

408

Request Timeout

Request took too long

409

Conflict

Request conflicts with current state

410

Gone

Resource permanently deleted

413

Payload Too Large

Request body is too large

414

URI Too Long

URI is too long

415

Unsupported Media Type

Media type not supported

422

Unprocessable Entity

Request understood but cannot process

429

Too Many Requests

Rate limit exceeded

500

Internal Server Error

Server encountered an error

501

Not Implemented

Feature not supported

502

Bad Gateway

Gateway received invalid response

503

Service Unavailable

Service temporarily unavailable

504

Gateway Timeout

Gateway timed out

🌐 What are HTTP Status Codes?

HTTP status codes are 3-digit numbers indicating how the server processed a client request. Defined in HTTP standards like RFC 7231, the first digit indicates the response category. 1xx is informational, 2xx is success, 3xx is redirection, 4xx is client error, and 5xx is server error. Developers use these codes for API debugging, error handling, and logging.

📊 Category Meanings

1xx Informational

Request received, continue

2xx Success

Request processed successfully

3xx Redirection

Further action needed

4xx Client Error

Bad request

5xx Server Error

Server processing failed

💡 Common Status Codes

  • 200 OK - Success, most common response
  • 201 Created - New resource created via POST
  • 400 Bad Request - Invalid parameters or body
  • 401/403 - Authentication/authorization issues
  • 404 Not Found - Resource not found
  • 500 Internal Server Error - Server internal error

Frequently Asked Questions

What is the difference between 401 and 403?

401 Unauthorized means authentication is required or failed (need to log in). 403 Forbidden means authenticated but no permission for the resource.

What is the difference between 302 and 307?

302 Found historically caused browsers to change POST to GET on redirect. 307 Temporary Redirect preserves the original HTTP method.

Can I create custom status codes?

Possible but not recommended. Use standard codes and include details in the response body. Some vendors have extensions like 499 (Nginx), 520-527 (Cloudflare).

Related Tools