HTTP Status Code Lookup
Search for any HTTP status code by its number or name to see the reason phrase, its class and a clear explanation. Covers the full standard set from 1xx through 5xx.
How to look up an HTTP status code
- Type a status code number like 404, or part of a name like 'gateway'.
- Read the matching codes with their class and meaning.
- Use the explanation to debug an API or web response.
Examples
Look up a common error
404
404 Not Found, a Client Error: the server cannot find the resource.
Search by name
not found
Matches 404 Not Found.
Frequently asked questions
What do the status code classes mean?
The first digit sets the class: 1xx informational, 2xx success, 3xx redirection, 4xx client error and 5xx server error. So a 404 is a client error and a 503 is a server error.
What is the difference between a 401 and a 403?
A 401 Unauthorized means you are not authenticated, so logging in may help. A 403 Forbidden means you are authenticated but not allowed to access the resource at all.
Is 418 a real status code?
Yes and no. 418 I'm a Teapot comes from an April Fools' joke specification, but many servers and libraries implement it, so it is widely recognized.
What causes a 502 versus a 504?
Both are gateway errors. A 502 Bad Gateway means an upstream server returned an invalid response, while a 504 Gateway Timeout means the upstream server did not respond in time.
Can I search by name instead of number?
Yes. Type part of a reason phrase such as 'forbidden' or 'timeout' to find every matching code.
Related tools
MIME Type Finder
Find the MIME type for any file extension, or the extensions for a MIME type. Covers images, docs, audio, video, code, archives and fonts. Free and private.
URL Encoder
Encode or decode URLs and query strings online. Percent-encode a value, escape a full URL, or decode back to plain text. Free, fast and private.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base32 Encode
Base32 encode and decode text online using the standard RFC 4648 alphabet with proper padding. UTF-8 safe, fast and private in your browser.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.