← Back to Developer Tools
📡

HTTP Status Codes — Complete 1xx to 5xx Reference

All 34 status codes · Search · Filter · Snippets · cURL Tester · Favorites

💡

Complete reference for all HTTP status codes organized by class: 1xx Informational (100–103), 2xx Success (200–206), 3xx Redirection (301–308), 4xx Client Error (400–429), and 5xx Server Error (500–511). Each code includes its official RFC reference, plain-English description, retryability, and cacheability.

1xx4
2xx5
3xx5
4xx13
5xx7
🌐 Live Status Checker
CORS-safe — works for public APIs and your own endpoints
100
Continue
Server received request headers, client should proceed
Upload
101
Switching Protocols
Server is switching to the protocol specified in Upgrade header
WebSocket
102
Processing
Server has received and is processing the request (WebDAV)
REST
103
Early Hints
Server sends preliminary hints for browser to preload resources
Cache
200
OK
Request succeeded — standard success response
RESTSuccess📦 Cacheable
201
Created
Request succeeded and a new resource was created
RESTSuccess
202
Accepted
Request accepted but processing not yet complete
REST
204
No Content
Request succeeded but no response body
RESTSuccess
206
Partial Content
Server is delivering only part of the resource (range request)
UploadCache📦 Cacheable
301
Moved Permanently
Resource permanently moved to new URL — use Location header
RedirectCache📦 Cacheable
302
Found
Resource temporarily at different URL — method may change
Redirect
304
Not Modified
Resource not changed since last request — use cached version
Cache📦 Cacheable
307
Temporary Redirect
Temporary redirect — HTTP method preserved
Redirect
308
Permanent Redirect
Permanent redirect — HTTP method preserved
RedirectCache📦 Cacheable
400
Bad Request
Server cannot process request due to client error
RESTError
401
Unauthorized
Client must authenticate to get the requested response
AuthError↺ Retryable
403
Forbidden
Client is authenticated but not authorized for this resource
AuthError
404
Not Found
Server cannot find the requested resource
RESTError📦 Cacheable
405
Method Not Allowed
HTTP method not allowed for this resource
RESTError
408
Request Timeout
Server timed out waiting for the request
Error↺ Retryable
409
Conflict
Request conflicts with current state of the server
RESTError↺ Retryable
410
Gone
Resource permanently deleted — unlike 404, this is intentional
RESTErrorCache📦 Cacheable
411
Length Required
Server requires Content-Length header
UploadError
413
Content Too Large
Request body exceeds server size limit
UploadError
415
Unsupported Media Type
Server rejects request due to unsupported Content-Type
RESTError
422
Unprocessable Content
Request is well-formed but has semantic errors (validation failed)
RESTError
429
Too Many Requests
Client has sent too many requests (rate limited)
AuthErrorREST↺ Retryable
500
Internal Server Error
Server encountered unexpected error
Error↺ Retryable
501
Not Implemented
Server does not support the functionality required
Error📦 Cacheable
502
Bad Gateway
Upstream server returned invalid response
Error↺ Retryable
503
Service Unavailable
Server temporarily unavailable — overloaded or down for maintenance
Error↺ Retryable
504
Gateway Timeout
Upstream server did not respond in time
Error↺ Retryable
507
Insufficient Storage
Server unable to store the representation (WebDAV)
UploadError↺ Retryable
511
Network Authentication Required
Client needs to authenticate to gain network access (captive portal)
AuthError↺ Retryable
📡

Click any status code to see full details, code snippets, and usage guide

NavigateEsc CloseCtrl+F Search
Ctrl+F Focus search Navigate codesEsc Close detailCtrl+L Clear filters

Frequently Asked Questions

How many HTTP status codes are there?

The IANA HTTP Status Code Registry lists over 70 official codes. The most commonly used in REST APIs are about 15–20 codes. This reference covers all major codes including the latest additions from RFC 9110 (2022) which supersedes RFC 7231.

What is the newest HTTP status code?

103 Early Hints (RFC 8297, 2017) is one of the newer additions. It allows servers to send preliminary Link headers before the final response, enabling browsers to preload critical resources. Used at CDN/reverse proxy layer to improve page load performance.

What are the 5 classes of HTTP status codes?

1xx Informational — request received, continuing process. 2xx Success — request was successfully received, understood, and accepted. 3xx Redirection — further action must be taken to complete the request. 4xx Client Error — request contains bad syntax or cannot be fulfilled. 5xx Server Error — server failed to fulfill an apparently valid request.

Are HTTP status codes case-sensitive?

The numeric code is not case-sensitive (it's a number). The reason phrase (e.g., "Not Found", "OK") is informational only — HTTP/2 and HTTP/3 do not even include reason phrases. Your code should always check the numeric status code, not the reason string.

What HTTP codes are cacheable by default?

Per RFC 9110, these codes are cacheable without explicit Cache-Control headers: 200 OK, 203 Non-Authoritative, 204 No Content, 206 Partial Content, 300 Multiple Choices, 301 Moved Permanently, 308 Permanent Redirect, 404 Not Found, 405 Method Not Allowed, 410 Gone, 414 URI Too Long, 501 Not Implemented.

What is a retryable HTTP status code?

Retryable codes indicate the client may send the same request again after a delay: 408 Request Timeout, 429 Too Many Requests (after Retry-After), 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable, 504 Gateway Timeout. Non-retryable codes like 400, 401, 403, 404, 422 indicate the request itself must be fixed before retrying.

You might also like

Related Tools