HTTP Status Code Lookup
Type an HTTP status code number, a code prefix, or part of a reason phrase, and this tool lists every standard code that matches, each with its class and a plain-English meaning. It covers the full IANA set from the 1xx informational range through the 5xx server errors, including WebDAV extensions and the joke 418 I'm a Teapot. Results are colour-coded by class and update as you type.
How to look up an HTTP status code
- Type a full code like 404 into the Status code or name box.
- Or type a prefix like 50 to list a whole class of codes at once.
- Or type part of a reason phrase such as gateway or timeout to search by name.
- Scan the matching cards, each showing the code, reason phrase, coloured class badge, and a one-line explanation.
- Click Copy on a card to grab the code and its reason phrase as text.
Examples
Look up a single code
404
1 match: 404 Not Found, a Client Error. The server cannot find the requested resource.
Search by reason phrase
gateway
2 matches: 502 Bad Gateway and 504 Gateway Timeout, both Server Error codes.
List a class by prefix
50
9 matches: 500 through 508, every Server Error code whose number starts with 50.
Frequently asked questions
What do the status code classes mean?
The first digit sets the class. 1xx is informational, 2xx is success, 3xx is redirection, 4xx is a client error, and 5xx is a server error. So a 404 is a client error you can often fix by correcting the request, while a 503 is a server error you usually cannot fix from the client side.
Can I search by name instead of by number?
Yes. Type part of a reason phrase, such as forbidden, timeout, or gateway, and the tool lists every code whose name contains that text. The match is case-insensitive, so uppercase and lowercase both work.
How does the prefix search work?
If you type digits, the tool matches any code whose number begins with them. Typing 4 lists the whole 4xx family, typing 42 narrows it to 421 through 429, and typing a full code like 404 returns just that one. This is a quick way to browse an entire class.
What is the difference between 401 and 403?
A 401 Unauthorized means the request lacks valid authentication, so signing in or sending a correct token may resolve it. A 403 Forbidden means you are recognised but not permitted to access the resource at all, so better credentials will not help unless your permissions change.
What causes a 502 versus a 504?
Both are gateway errors reported by a proxy or load balancer sitting in front of your app. A 502 Bad Gateway means the upstream server returned an invalid or empty response, while a 504 Gateway Timeout means the upstream server did not reply within the allowed time.
Is 418 I'm a Teapot a real status code?
It began as an April Fools' joke in the Hyper Text Coffee Pot Control Protocol, yet many servers and frameworks implement it, so it is widely recognised and included here. It is not part of the core HTTP standard and should not be used for real error handling.
Which codes does the tool include?
It covers the standard IANA registry: the 1xx, 2xx, 3xx, 4xx, and 5xx ranges from RFC 9110 and related specs, plus commonly deployed WebDAV codes such as 207 Multi-Status and 423 Locked. Vendor-specific codes like Cloudflare's 5xx extensions are not part of the standard set and are not listed.
Does looking up a code make any network request?
No. The full code table is bundled with the page and the search runs in your browser, so nothing is sent to a server and lookups work offline once the page has loaded.
Why do I sometimes see no matches?
If your query is a number that is not in the standard registry, such as 499 or a vendor-only code, no card appears because the tool only lists official codes. Check the number, or search by a partial reason phrase instead.
Learn more
- HTTP status code classes explained, from 1xx to 5xx
What each HTTP status class means, the codes developers meet most, and how to read a response code to decide whether the client or the server is at fault.
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.
ASCII Table
Full ASCII table for all 128 codes with decimal, hex, octal and binary values, character names and descriptions. Search by code, hex or character.
Aspect Ratio Box Generator
Generate CSS for a responsive aspect-ratio container. Use the modern aspect-ratio property or the padding-top fallback, then copy the ready code.
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.