HTTP

HTTP Status Codes

Reference for all HTTP status codes

πŸ”’ 100% client-side β€” your data never leaves this page
100
ContinueServer received request headers
101
Switching ProtocolsUpgrading protocol as requested
200
OKRequest succeeded
201
CreatedResource created successfully
204
No ContentSuccess but no body returned
206
Partial ContentPartial range request fulfilled
301
Moved PermanentlyURL permanently changed
302
FoundTemporary redirect
304
Not ModifiedCached version is still valid
307
Temporary RedirectSame as 302 but method preserved
308
Permanent RedirectSame as 301 but method preserved
400
Bad RequestInvalid request syntax
401
UnauthorizedAuthentication required
403
ForbiddenAuthenticated but not authorized
404
Not FoundResource does not exist
405
Method Not AllowedHTTP method not supported
408
Request TimeoutServer timed out waiting
409
ConflictRequest conflicts with current state
410
GoneResource permanently deleted
422
Unprocessable EntityValidation failed
429
Too Many RequestsRate limit exceeded
500
Internal Server ErrorGeneric server error
502
Bad GatewayInvalid upstream response
503
Service UnavailableServer temporarily offline
504
Gateway TimeoutUpstream server timed out
505
HTTP Version Not SupportedHTTP version not supported

About this tool

A complete searchable reference for all HTTP status codes. Filter by category (1xx informational, 2xx success, 3xx redirect, 4xx client error, 5xx server error) or search by code number and description. Each code includes a detailed explanation and real-world usage examples.

Frequently Asked Questions

What is the difference between 401 and 403?

401 Unauthorized means authentication is required and has failed or not been provided. 403 Forbidden means the server understood the request but refuses to authorize it β€” the user is authenticated but lacks permission.

What is the difference between 301 and 302 redirects?

301 is a permanent redirect, telling browsers and search engines to update their records. 302 is temporary, meaning the original URL should be kept. For SEO, 301 passes link equity while 302 does not.

When should I use 422 instead of 400?

Use 400 for malformed requests (invalid JSON syntax). Use 422 for requests that are syntactically valid but semantically wrong β€” such as failing business logic validation like an invalid email format.