HTTP Status Code Lookup

Searchable HTTP status code reference. Find what 200, 301, 401, 404, 429, 500 and every common code mean. Instant, client-side filter.

How to use

  1. Type a code or word — Enter '404', 'redirect', 'auth' — anything you remember.
  2. Skim the matches — The list filters instantly with category, name, and meaning.
  3. Use it — Copy the exact phrasing into bug reports, docs, or API responses.

What This Tool Does

This is a fast, searchable reference for every HTTP status code you'll meet in real backend, API, or frontend work. Type any digit, partial word, or category and the list filters live. Everything runs in your browser — no requests are sent anywhere.

How HTTP Status Codes Are Organized

HTTP responses always include a three-digit status code. The first digit assigns the response to one of five classes:

  • 1xx Informational: The request was received, continuing process. Rarely surfaced to end users.
  • 2xx Success: The action was successfully received, understood, and accepted.
  • 3xx Redirection: Further action must be taken to complete the request (usually a different URL).
  • 4xx Client Error: The request contains bad syntax or cannot be fulfilled — the caller is at fault.
  • 5xx Server Error: The server failed to fulfill an apparently valid request — the server is at fault.

Codes Developers Actually Encounter Daily

In day-to-day API work the codes you'll write conditionals against are a small subset: 200, 201, 204, 301, 302, 304, 400, 401, 403, 404, 409, 422, 429, 500, 502, 503, 504. Knowing the distinction between each pair (200 vs 201, 401 vs 403, 502 vs 504) is what separates a junior REST consumer from someone who can debug production incidents.

Best Practices When Returning Status Codes

If you're designing an API, pick the most specific code that fits. Returning 200 OK with { "error": "…" } in the body is an antipattern — clients, monitoring tools, and HTTP intermediaries cannot tell the response failed. Use 4xx for client mistakes, 5xx for your bugs, and include a machine-readable error body alongside the right status code.

Frequently asked questions

What do the 1xx, 2xx, 3xx, 4xx, 5xx ranges mean?

1xx is informational (rarely seen by users), 2xx means success, 3xx means redirection, 4xx is a client-side error (bad request, missing auth, wrong URL), and 5xx is a server-side error. The first digit alone tells you whose 'fault' the response is.

What is the difference between 401 and 403?

401 Unauthorized means the request lacks valid authentication — log in or send a token. 403 Forbidden means you are authenticated but not allowed to access this resource. 401 = who are you? 403 = I know who you are and you can't have it.

When should I use 301 vs 302?

Use 301 Moved Permanently for permanent redirects (URL changes, domain moves) — search engines transfer ranking signals. Use 302 Found for temporary redirects (A/B tests, maintenance pages) — search engines keep indexing the original.

What does 429 Too Many Requests mean?

Your client is being rate-limited. The server is rejecting requests because you sent too many in a short window. Look for a Retry-After header which tells you how long to wait before retrying.

Are all status codes part of an official standard?

Most are defined in RFC 7231, RFC 7232, and related IETF documents. Some (like 418 I'm a teapot) come from RFC 2324, an April Fools' joke that became canonical. A few like Cloudflare's 521-525 are non-standard.

Related free tools

  • XML Formatter & Minifier — Beautify or minify any XML — SOAP, RSS, SVG, sitemap. Browser-based parser.
  • XML to JSON Converter — Parse any well-formed XML into a clean JSON tree with attributes and arrays.
  • JSON to XML Converter — Convert JSON to well-formed XML — supports attributes, custom root, declaration.
  • CSV Viewer — Open CSV or TSV files in your browser — sort, search, paginate, export filtered view.
  • JSON to CSV Converter — Convert JSON data to CSV format. Export to spreadsheets easily.
  • CSV to JSON Converter — Convert CSV data to JSON format. Useful for API development.
  • JSON Formatter — Format, beautify, or minify JSON with customizable indentation.
  • JSON Validator — Validate JSON syntax and find errors with line and column numbers.
  • HTML Minifier — Compress HTML by removing comments, whitespace, and line breaks.
  • CSS Minifier — Minify CSS by stripping comments, whitespace, and unnecessary characters.
  • JavaScript Minifier — Compress JavaScript by removing comments, whitespace, and empty lines.
  • Base64 Encoder/Decoder — Encode text to Base64 or decode Base64 back to text. UTF-8 support.

Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools