正在加载,请稍候…

HTTP Status Codes Reference

Complete reference for all HTTP status codes (1xx–5xx) with names, descriptions, and common use cases. Quickly look up 200 OK, 301 Redirect, 404 Not Found, 500 Internal Server Error, and every other status code.

How to Use

  1. Step 1: Browse the list of all HTTP status codes organized by category.
  2. Step 2: Use the search box to quickly find a specific code or description.
  3. Step 3: Click a code to copy it to your clipboard.

Frequently Asked Questions

What is an HTTP status code?

HTTP status codes are 3-digit numbers returned by a server indicating whether the request was successful, redirected, or resulted in an error.

What is the difference between 401 and 403?

401 Unauthorized means authentication is required but not provided. 403 Forbidden means the server refuses to authorize the request.

What do the HTTP status code categories mean?

1xx: informational; 2xx: success (200 OK, 201 Created, 204 No Content); 3xx: redirection (301 Permanent, 302 Temporary, 304 Not Modified); 4xx: client error (400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found); 5xx: server error (500 Internal, 502 Bad Gateway, 503 Unavailable).

How should 3xx redirects and 4xx client errors be used correctly?

301 Permanent Redirect (transfers SEO weight, e.g., domain migration); 302 Temporary Redirect (e.g., login redirect); 304 Not Modified (cache unchanged, saves bandwidth); 400 Bad Request (malformed syntax); 401 Unauthorized (authentication required); 403 Forbidden (authenticated but no permission); 404 Not Found; 422 Unprocessable Entity (validation failed, common in REST APIs); 429 Too Many Requests; 500 Internal Server Error.