A short list of codes you actually meet
Look up an HTTP status
Status codes are grouped by the first digit. This page lists the ones that show up in APIs and browsers, with a one-line meaning.
Type a number, such as 404, or a word, such as gateway. The filter matches the code and the English or Chinese name. Unused and obsolete codes are left out, except 418, which is included because people still look it up. The page does not send a request to see which code a site returns.
The list is in the page. Nothing is requested.
This tool runs in your browser. Turn on JavaScript to use it.
Two codes that are easy to mix
401 means the client is not authenticated. 403 means the server refuses even if it knows who is asking.
- 401
- Unauthorized
- 403
- Forbidden
- 404
- Not Found
How to use it
- 1Type a code or a word.
- 2Read the matching rows.
- 3Clear the box to see the whole short list.
Good to know
- Not the full IANA list.
- 418 is the teapot joke.
- The page does not probe a website.
Questions
Why is 401 called Unauthorized?
The name is historical. It means authentication is required or failed, not that the resource is forbidden.
Where is 418?
In the list. It comes from a joke RFC and is not an ordinary API result.
Can this tell me why my site returned 500?
No. It only explains the code. The cause is in the server log.
Related tools
- Split a URL into parts
A URL is several fields joined by punctuation. This page uses the browser's URL parser and lists each part, including every query parameter.
- Debug a WebSocket connection
A WebSocket stays open and carries frames in both directions. This page is a client: you choose the address, watch the ready state, and send text. It is not an interceptor for some other app.
- Test a JavaScript regular expression
Regular expressions in JavaScript are not the same as PCRE or .NET. This page uses the RegExp your browser already ships, so a match here is a match in frontend code.