Skip to content
UniKit

HTTP status codes

A complete HTTP status code reference from 1xx to 5xx, including non-standard codes such as 418, 429, 451, 499 and 599, with search, category filters and copy.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Search status codes

Total 65 codes / 65

100ContinueStandard

English meaningThe server received the request headers; the client should continue sending the body.

Chinese meaning服务器已收到请求头,客户端应继续发送请求体。

101Switching ProtocolsStandard

English meaningThe server is switching protocols as requested by the client.

Chinese meaning服务器按客户端的 Upgrade 请求切换协议。

102ProcessingStandard

English meaningWebDAV: the server has received the request and is still processing it.

Chinese meaningWebDAV:服务器已收到请求并正在处理,暂时没有响应。

103Early HintsStandard

English meaningReturns resource hints before the final response.

Chinese meaning在最终响应之前先返回资源预加载提示。

200OKStandard

English meaningThe request succeeded and the response body carries the result.

Chinese meaning请求成功,响应内容在正文里。

201CreatedStandard

English meaningThe request succeeded and a new resource was created; Location usually points to it.

Chinese meaning请求成功并创建了新资源,通常配合 Location 头返回新地址。

202AcceptedStandard

English meaningThe request was accepted but processing is not finished yet.

Chinese meaning请求已被接受但尚未处理完成,结果稍后可用。

203Non-Authoritative InformationStandard

English meaningThe returned metadata comes from a proxy rather than the origin server.

Chinese meaning返回的元信息来自代理,不是源服务器的最新版本。

204No ContentStandard

English meaningThe request succeeded but there is no body to return.

Chinese meaning请求成功但正文为空,常用于删除或提交后的响应。

205Reset ContentStandard

English meaningThe client should reset the document view, for example a form.

Chinese meaning请求成功,客户端应重置当前文档的视图(如表单)。

206Partial ContentStandard

English meaningRange request: only a part of the resource is returned.

Chinese meaning断点续传:只返回了资源的一部分。

207Multi-StatusStandard

English meaningWebDAV: several sub-requests each carry their own status.

Chinese meaningWebDAV:多个子请求各有自己的状态码。

208Already ReportedStandard

English meaningWebDAV: the members were already reported in an earlier part of the response.

Chinese meaningWebDAV:同一集合里的成员已经在前面的响应里报告过。

226IM UsedStandard

English meaningThe server fulfilled the request using instance manipulations.

Chinese meaning服务器已完成实例操纵,返回增量结果。

300Multiple ChoicesStandard

English meaningThe resource has multiple representations and the client should choose one.

Chinese meaning请求的资源有多种表示,需要客户端选择。

301Moved PermanentlyStandard

English meaningThe resource moved permanently; search engines update their index.

Chinese meaning资源永久重定向到新地址,搜索引擎会更新索引。

302FoundStandard

English meaningTemporary redirect to another address.

Chinese meaning资源临时重定向到另一个地址。

303See OtherStandard

English meaningRedirect to another address, which should be fetched with GET.

Chinese meaning重定向到另一个地址,并且应该改用 GET 获取结果。

304Not ModifiedStandard

English meaningConditional cache hit: the resource is unchanged, use the local copy.

Chinese meaning命中协商缓存,资源没有变化,直接使用本地副本。

305Use ProxyNon-standard

English meaningDeprecated: the resource must be accessed through a proxy.

Chinese meaning已弃用:要求通过代理访问资源。

306UnusedNon-standard

English meaningDeprecated: a historical code that is reserved and unused.

Chinese meaning已废弃:历史遗留的状态码,保留未用。

307Temporary RedirectStandard

English meaningTemporary redirect that must keep the original request method.

Chinese meaning临时重定向,但必须保持原来的请求方法。

308Permanent RedirectStandard

English meaningPermanent redirect that must keep the original request method.

Chinese meaning永久重定向,同样必须保持原来的请求方法。

400Bad RequestStandard

English meaningThe request is malformed or the parameters are invalid.

Chinese meaning请求语法错误或参数不合法,服务器无法处理。

401UnauthorizedStandard

English meaningNot authenticated: sign in or provide valid credentials first.

Chinese meaning未认证:需要先登录或提供有效的凭证。

402Payment RequiredStandard

English meaningReserved; often used for APIs that require payment.

Chinese meaning预留状态码,常被用于需要付费才能访问的场景。

403ForbiddenStandard

English meaningAuthenticated but not allowed to access the resource.

Chinese meaning已认证但没有访问权限。

404Not FoundStandard

English meaningThe requested resource does not exist.

Chinese meaning请求的资源不存在。

405Method Not AllowedStandard

English meaningThe resource exists but does not support this HTTP method.

Chinese meaning资源存在,但不支持这个请求方法。

406Not AcceptableStandard

English meaningNo representation matches the Accept header.

Chinese meaning无法返回符合 Accept 头要求的响应。

407Proxy Authentication RequiredStandard

English meaningThe request must authenticate with the proxy first.

Chinese meaning需要先通过代理服务器认证。

408Request TimeoutStandard

English meaningThe server timed out waiting for the request.

Chinese meaning服务器等待请求超时,客户端可以重试。

409ConflictStandard

English meaningThe request conflicts with the current state of the resource.

Chinese meaning请求与资源当前状态冲突,例如并发写入。

410GoneStandard

English meaningThe resource existed but has been permanently removed.

Chinese meaning资源曾经存在但已被永久删除。

411Length RequiredStandard

English meaningThe Content-Length header is required.

Chinese meaning缺少 Content-Length 头。

412Precondition FailedStandard

English meaningA precondition such as If-Match failed.

Chinese meaning条件请求的预置条件(If-Match 等)不满足。

413Content Too LargeStandard

English meaningThe request body exceeds the size the server accepts.

Chinese meaning请求体超过服务器允许的大小。

414URI Too LongStandard

English meaningThe request URL is too long.

Chinese meaning请求的 URL 太长。

415Unsupported Media TypeStandard

English meaningThe media type of the request body is not supported.

Chinese meaning请求体的媒体类型不被支持。

416Range Not SatisfiableStandard

English meaningThe requested byte range cannot be satisfied.

Chinese meaning请求的字节范围无法满足。

417Expectation FailedStandard

English meaningThe expectation given in the Expect header cannot be met.

Chinese meaningExpect 头里的期望不能满足。

418I'm a teapotNon-standard

English meaningApril Fools code: the server is a teapot and cannot brew coffee.

Chinese meaning愚人节彩蛋状态码:服务器是一把茶壶,不能煮咖啡。

421Misdirected RequestStandard

English meaningThe request was directed at a server that cannot serve this host.

Chinese meaning请求被发给了无法为该域名提供服务的服务器。

422Unprocessable ContentStandard

English meaningThe request is well-formed but semantically invalid.

Chinese meaning请求格式正确但语义有误,无法处理。

423LockedStandard

English meaningWebDAV: the resource is locked.

Chinese meaningWebDAV:资源已被锁定。

424Failed DependencyStandard

English meaningWebDAV: the request failed because a previous request failed.

Chinese meaningWebDAV:前置请求失败,本次请求无法完成。

425Too EarlyStandard

English meaningThe server is unwilling to process a request that might be replayed.

Chinese meaning服务器不愿处理可能被重放的早期请求。

426Upgrade RequiredStandard

English meaningThe client should switch to another protocol.

Chinese meaning需要升级到其他协议才能继续。

428Precondition RequiredStandard

English meaningThe origin server requires the request to be conditional.

Chinese meaning要求请求带上条件头,避免并发覆盖。

429Too Many RequestsStandard

English meaningToo many requests in a short time: rate limited.

Chinese meaning短时间内请求过多,已被限流,请稍后重试。

431Request Header Fields Too LargeStandard

English meaningThe request header fields are too large.

Chinese meaning请求头总大小超出限制。

451Unavailable For Legal ReasonsStandard

English meaningThe resource cannot be provided for legal reasons.

Chinese meaning因法律原因无法提供该资源。

499Client Closed RequestNon-standard

English meaningNon-standard (nginx): the client closed the connection before the response.

Chinese meaning非标准(nginx):客户端在服务器响应前断开了连接。

500Internal Server ErrorStandard

English meaningAn unexpected error occurred on the server.

Chinese meaning服务器内部错误,通常是代码异常。

501Not ImplementedStandard

English meaningThe server does not support the functionality required.

Chinese meaning服务器不支持该请求需要的功能。

502Bad GatewayStandard

English meaningThe gateway received an invalid response from the upstream server.

Chinese meaning网关或代理从上游收到了无效响应。

503Service UnavailableStandard

English meaningThe server is temporarily unavailable, for example overloaded or in maintenance.

Chinese meaning服务暂时不可用,通常是过载或维护中。

504Gateway TimeoutStandard

English meaningThe gateway timed out waiting for the upstream server.

Chinese meaning网关等待上游响应超时。

505HTTP Version Not SupportedStandard

English meaningThe HTTP protocol version used in the request is not supported.

Chinese meaning服务器不支持请求使用的 HTTP 版本。

506Variant Also NegotiatesStandard

English meaningTransparent content negotiation results in a circular reference.

Chinese meaning内容协商配置错误,导致循环引用。

507Insufficient StorageStandard

English meaningWebDAV: the server cannot store the representation needed.

Chinese meaningWebDAV:服务器存储空间不足。

508Loop DetectedStandard

English meaningWebDAV: an infinite loop was detected while processing the request.

Chinese meaningWebDAV:处理请求时检测到死循环。

510Not ExtendedStandard

English meaningFurther extensions to the request are required.

Chinese meaning需要对请求做进一步扩展才能满足策略。

511Network Authentication RequiredStandard

English meaningThe client needs to authenticate, for example on a captive portal.

Chinese meaning需要先通过网络的认证(例如公共 Wi-Fi 登录)。

599Network Connect Timeout ErrorNon-standard

English meaningNon-standard: the proxy timed out connecting upstream.

Chinese meaning非标准:代理连接上游超时(常见于 nginx 日志)。

What this tool does

  • Look up an unfamiliar status code from an API response or a log full of 4xx/5xx errors and see the standard reason phrase plus what it means for the client and server.
  • Write API docs or an error-code table and copy the canonical reason phrases (404 Not Found, 429 Too Many Requests) instead of inventing your own.
  • Check where non-standard codes come from when reading an nginx access log — 499 and 599 are nginx conventions, not RFC definitions.
  • Teach or learn HTTP by browsing the 1xx–5xx categories, including the difference between 401 (not authenticated) and 403 (authenticated but not allowed).

Example

Input

404

Output

404 Not Found (standard)
Chinese meaning: 请求的资源不存在。
English meaning: The requested resource does not exist.

Each result row on the page is exactly those three lines: code and reason phrase with a “standard / non-standard” tag, then the Chinese and the English meaning; the copy button gives the plain one-liner 404 Not Found. Digits match exactly first and fall back to a prefix match: 404 returns this single entry, while 4 lists all 30 codes in the 4xx range (or use the category filter). For keyword lookups type a word — "timeout" hits 408, 504 and 599.

Frequently asked questions

What is the real difference between 401 and 403?

401 Unauthorized means "not authenticated yet": the server sends a WWW-Authenticate header telling you how to authenticate. 403 Forbidden means you are authenticated but not allowed, so logging in again will not help. The accurate name for 401 would be Unauthenticated — the misleading one is a spec legacy.

How do I decide whether a 4xx or a 5xx is at fault?

A 4xx says the request itself is wrong, and repeating it unchanged will usually fail again — fix the request first. A 5xx says the server broke, so the client may retry with backoff. 502 and 504 usually come from the gateway-to-upstream hop, and both 429 and 503 carry a Retry-After telling you how long to wait.

Why are 418, 499 and 599 marked non-standard?

Because they are not in the IETF registry. 418 I'm a teapot is an April Fools joke from RFC 2324 in 1998, while 499 and 599 are defined by nginx (client closed the request early, proxy timed out connecting upstream). They belong in logs, not in a public API contract.

Why does 304 have no response body?

304 Not Modified is the outcome of conditional caching: the browser asks with If-None-Match or If-Modified-Since, the server sees the resource is unchanged and replies with 304 so the local copy is reused, saving the transfer. That is why it has no payload and usually no Content-Type either.

Can I search with a phrase instead of a number?

Yes. Non-numeric input is matched case-insensitively against the reason phrase, the Chinese meaning and the English description, so words like "redirect", "timeout" or "rate" all work. Numeric input uses exact then prefix matching, so a mixed string such as 4xx will not match.

Keywords:httpstatus code404500http statusrest

Related tools