SnappTools logoSnappTools

HTTP Status Code Reference

Searchable reference of all HTTP status codes with descriptions and common use cases.

1xx Informational

100Continue

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

Use case: Large file uploads where the server checks headers before accepting the body.

101Switching Protocols

The server is switching protocols as requested by the client.

Use case: Upgrading from HTTP to WebSocket connections.

102Processing

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

Use case: Long-running WebDAV operations.

103Early Hints

Used to return some response headers before the final HTTP message.

Use case: Preloading resources while the server prepares the full response.

2xx Success

200OK

The request has succeeded.

Use case: Standard response for successful GET, POST, PUT requests.

201Created

The request has succeeded and a new resource has been created.

Use case: Successful POST request that creates a new record.

202Accepted

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

Use case: Queued background jobs or async operations.

203Non-Authoritative Information

The returned metadata is not exactly the same as from the origin server.

Use case: Proxy or cache returning modified headers.

204No Content

The server successfully processed the request but returns no content.

Use case: Successful DELETE requests or form submissions with no redirect.

205Reset Content

The server successfully processed the request and asks the client to reset the document view.

Use case: Form submission where the browser should clear the form.

206Partial Content

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

Use case: Video streaming, resumable downloads.

207Multi-Status

A multi-status response conveys information about multiple resources.

Use case: WebDAV batch operations with mixed results.

3xx Redirection

300Multiple Choices

The request has more than one possible response.

Use case: Content negotiation with multiple formats available.

301Moved Permanently

The URL of the requested resource has been changed permanently.

Use case: SEO-friendly permanent URL redirects.

302Found

The URI of the requested resource has been changed temporarily.

Use case: Temporary redirects during maintenance.

303See Other

The server directs the client to get the resource at another URI with a GET request.

Use case: Redirect after a POST form submission (POST/Redirect/GET pattern).

304Not Modified

The resource has not been modified since the last request.

Use case: Browser caching with ETag or If-Modified-Since headers.

307Temporary Redirect

The request should be repeated with another URI, but the method must not change.

Use case: Temporary redirect that preserves the HTTP method.

308Permanent Redirect

The request and future requests should use another URI, method must not change.

Use case: Permanent redirect that preserves the HTTP method.

4xx Client Error

400Bad Request

The server cannot process the request due to a client error.

Use case: Malformed request syntax, invalid JSON body, missing required fields.

401Unauthorized

Authentication is required and has failed or has not been provided.

Use case: Missing or invalid authentication token.

403Forbidden

The server understood the request but refuses to authorize it.

Use case: User authenticated but lacks permission to access the resource.

404Not Found

The server cannot find the requested resource.

Use case: Requested URL or resource does not exist.

405Method Not Allowed

The HTTP method is not allowed for the requested resource.

Use case: Sending POST to a read-only endpoint that only accepts GET.

406Not Acceptable

The server cannot produce a response matching the Accept headers.

Use case: Client requests XML but server only produces JSON.

407Proxy Authentication Required

Authentication with the proxy is required.

Use case: Corporate proxy requiring login credentials.

408Request Timeout

The server timed out waiting for the request.

Use case: Client took too long to send the complete request.

409Conflict

The request conflicts with the current state of the server.

Use case: Duplicate resource creation, edit conflicts.

410Gone

The resource is no longer available and will not be available again.

Use case: Permanently deleted content, deprecated API endpoints.

411Length Required

The server requires a Content-Length header.

Use case: Upload endpoints that need to know the size in advance.

412Precondition Failed

The server does not meet one of the preconditions in the request headers.

Use case: Conditional requests using If-Match or If-Unmodified-Since.

413Payload Too Large

The request entity is larger than the server is willing to process.

Use case: File upload exceeding the server's size limit.

414URI Too Long

The URI requested by the client is longer than the server is willing to interpret.

Use case: Extremely long query strings.

415Unsupported Media Type

The media format of the requested data is not supported.

Use case: Sending XML to an endpoint that only accepts JSON.

422Unprocessable Entity

The request is well-formed but semantically invalid.

Use case: Validation errors (e.g., email format wrong, date in past).

429Too Many Requests

The user has sent too many requests in a given time.

Use case: API rate limiting.

451Unavailable For Legal Reasons

The resource is unavailable due to legal demands.

Use case: Content blocked by court order or government censorship.

5xx Server Error

500Internal Server Error

The server encountered an unexpected condition.

Use case: Unhandled exceptions, database errors, server bugs.

501Not Implemented

The server does not support the functionality required to fulfill the request.

Use case: Server doesn't support the HTTP method used.

502Bad Gateway

The server received an invalid response from an upstream server.

Use case: Reverse proxy getting an error from the application server.

503Service Unavailable

The server is not ready to handle the request.

Use case: Server maintenance, overloaded servers, deployment in progress.

504Gateway Timeout

The server acting as a gateway did not get a timely response.

Use case: Upstream server took too long to respond.

505HTTP Version Not Supported

The HTTP version used in the request is not supported.

Use case: Server doesn't support HTTP/2 or the version requested.

507Insufficient Storage

The server cannot store the representation needed to complete the request.

Use case: WebDAV server running out of disk space.

508Loop Detected

The server detected an infinite loop while processing the request.

Use case: WebDAV infinite redirect loops.

511Network Authentication Required

The client needs to authenticate to gain network access.

Use case: Captive portals (hotel/airport Wi-Fi login pages).

About HTTP Status Code Reference

The HTTP Status Code Reference is a searchable, categorized guide to all standard HTTP response codes. Instead of reaching for the MDN docs or searching the web, find any status code instantly and understand what it means, when servers send it, and how clients should respond.

Codes are organized by category: 1xx Informational, 2xx Success, 3xx Redirection, 4xx Client Errors, and 5xx Server Errors. Search by code number or keyword to find what you need fast.

Includes less common codes like 418 I'm a Teapot, 429 Too Many Requests, and 511 Network Authentication Required.

Features

  • All standard HTTP status codes from 100 to 599
  • Search by code number or description keyword
  • Grouped by response category
  • Plain-English descriptions and usage notes
  • Includes uncommon and rarely-documented codes

Common Use Cases

  • Looking up the meaning of an unexpected API response
  • Deciding which status code to return from an API endpoint
  • Debugging web server configuration issues
  • Learning HTTP protocol fundamentals