HTTP Status Code Lookup

Searchable reference for every HTTP status code. 1xx, 2xx, 3xx, 4xx, 5xx, plus Cloudflare 5xx codes. Free, instant lookup, runs in your browser.

What this is

A searchable, filterable reference for every HTTP status code, plus the Cloudflare-specific 5xx codes you actually run into in production. Type a code, name, or description fragment and the list narrows live.

Direct-link friendly — /tools/http-status-codes/#status-404 scrolls straight to 404. Useful for sharing the exact code you need someone to read.

When you actually need this

  • Reading API documentation. “On validation failure we return 422” — what does 422 mean again, exactly?
  • Debugging a 504 vs 524. Both say “gateway timeout.” But 504 is your reverse proxy giving up on the origin; 524 is Cloudflare giving up on your origin. Different remediation.
  • Telling Postman / fetch what to expect. When you write a test that asserts response.status === 201, this is the source of truth for what 201 means (created, not OK).
  • Designing your own API responses. “Should this be a 400 or a 422?” — 400 is malformed JSON / parse failure; 422 is well-formed but semantically invalid (e.g., email format wrong, value out of range).

A few status codes that get used wrong all the time

  • 200 OK for an error inside a JSON body. Don’t. If the operation failed, return 4xx or 5xx with a JSON body that explains it. Returning 200 {"error": "Not found"} breaks every HTTP-aware tool downstream.
  • 401 vs 403. 401 = “you didn’t authenticate” (no creds, bad creds). 403 = “you authenticated but you’re not allowed”. Use 401 with WWW-Authenticate header on missing/invalid creds, 403 on authorization failures.
  • 404 for forbidden resources. Some APIs return 404 to hide existence (“does this user have a private repo?”). Defensible if leaking existence is itself sensitive. Don’t do it accidentally.
  • 405 vs 404. If /api/users exists but you sent DELETE on a GET-only endpoint, return 405 with an Allow: header listing the allowed methods. Not 404.
  • 500 for client mistakes. A 500 means the server is broken. Validation failures, missing required fields, bad JSON — those are 4xx, not 500.
  • 502 vs 504. 502 = upstream returned garbage. 504 = upstream didn’t respond in time. Different operational signals.

Cloudflare 5xx codes you might see in real life

If your site is behind Cloudflare, the code your user sees may not match what your origin returned:

  • 520 — origin returned something Cloudflare couldn’t parse (truncated response, weird headers).
  • 521 — origin TCP-refused Cloudflare (firewall block, service down).
  • 522 — TCP handshake to origin timed out (origin overloaded or DDoS).
  • 524 — TCP handshake worked but origin didn’t respond to the HTTP request within ~100s (long-running query, blocked process).
  • 525 / 526 — SSL handshake or cert validation failed between Cloudflare and origin (cert expired, mismatched hostname, weak ciphers).

When debugging a Cloudflare-fronted site, always check both your application logs and Cloudflare’s edge logs — they may disagree on what happened.

Privacy

The tool runs entirely in your browser. Static lookup table.

Explore More Free Tools

🔧

Aspect Ratio Calculator

Calculate width, height, or ratio. Solve any one from the other two. 16:9, 4:3, 21:9, 9:16, 1:1, custom. Free, runs in your browser.

🔧

BPM to Milliseconds Calculator

Convert BPM to delay times in milliseconds. Whole, half, quarter, 1/8, 1/16, 1/32 notes plus dotted and triplet variants. Free tempo-sync calculator for producers.

🔧

Chmod Calculator

Convert chmod permissions between octal (e.g. 755) and symbolic (rwxr-xr-x) form. Toggle read/write/execute checkboxes for owner, group, and other. Free, runs in your browser.

🔧

Color Contrast Checker

Check color contrast for WCAG AA and AAA compliance. Live preview, hex and rgb support, instant pass/fail across 5 levels. Free, in-browser.

🔧

Cron Expression Explainer

Paste a cron expression, get a plain-English explanation plus the next 5 run times. Handles macros (@daily, @hourly), ranges, and steps. Free, in-browser.

🔧

CSV to Markdown Table

Paste CSV (or TSV), get a clean GitHub-flavored Markdown table. Auto column alignment, header detection, custom delimiters. Free, in-browser.

🔧

Cubic Bezier Generator

Visual editor for CSS cubic-bezier() easing curves. Drag the control handles, see the live animation, copy the CSS. Free, in-browser.

🔧

Env to JSON Converter

Convert .env files to JSON instantly. Handles quoted values, comments, escape sequences, and type coercion. Free, runs in your browser, no signup.

🔧

HTML Entity Encoder & Decoder

Encode and decode HTML entities — minimal, named, numeric, or hex. Handles &, <, >, accented characters, em dash, smart quotes. Free, browser-based.

🔧

JSON Diff

Compare two JSON values semantically. Shows added, removed, and changed keys with the exact path. Free, runs in your browser.

🔧

JSON to Go Struct Generator

Convert JSON to idiomatic Go structs with json tags, time.Time detection, omitempty support. Free, in-browser.

🔧

JSON to TypeScript Interface Generator

Paste JSON, get TypeScript interfaces. Handles nested objects, arrays, unions, optional fields. No signup, runs in your browser.

🔧

Lorem Ipsum Generator

Generate placeholder text. Classic Lorem Ipsum, hipster, corporate, and dev variants. Words, sentences, paragraphs, lists. Free, in-browser.

🔧

Markdown to HTML Converter

Convert Markdown to HTML with live preview. Headings, lists, code blocks, links, images, blockquotes. Free, in-browser.

🔧

Number Base Converter

Convert numbers between binary, octal, decimal, hex, and any base from 2 to 36. BigInt-safe for large values. Free, in-browser.

🔧

Slugify Text

Generate URL-safe slugs from any text. Handles accents, Unicode, stop words, custom separators, length limits. Free, in-browser.

🔧

Text Case Converter

Convert text to camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, and 7 more. Free, instant, in-browser.

🔧

YAML Validator

Validate YAML syntax, find duplicate keys, indentation issues, tabs in indent, and trailing whitespace. JSON preview included.

🔧

Cron Expression Generator

Generate and validate cron expressions with a visual builder. See next execution times, human-readable descriptions, and common presets. Free online crontab generator for developers.

🔧

JWT Decoder

Decode and inspect JWT tokens instantly. View header, payload, and signature. Check expiration, issuer, and claims. Free online JWT decoder — no data sent to any server.

🔧

Regex Tester

Test regular expressions with real-time matching and highlighting. Supports JavaScript regex flags (g, i, m, s). See match groups, captures, and indices. Free online regex tester.

🔧

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds. Shows current epoch time live. Free online tool for developers.

🔧

UUID Generator

Generate random UUIDs (v4), time-based UUIDs (v7), and ULIDs instantly. Bulk generate up to 100 at once. Free online UUID generator for developers — no signup required.

🔧

Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to plain text instantly. Free online Base64 converter with file support and batch processing. No registration required.

🎨

Color Palette Generator

Generate beautiful color palettes instantly. Create complementary, analogous, triadic, and monochromatic color schemes for web design, branding, and creative projects.

📝

JSON Formatter & Validator

Format, validate, and beautify JSON data instantly with our free online JSON formatter. Supports minification, syntax highlighting, and error detection. No registration required.

🔧

JSON to YAML Converter

Convert JSON to YAML and YAML to JSON instantly with our free online converter. Supports validation, formatting, and syntax highlighting. No registration required.

🔑

Password Generator

Generate strong, secure passwords instantly with our free password generator. Customize length, character types, and complexity. No registration required, privacy-focused.

📊

Percentage Calculator

Calculate percentages, percentage increases/decreases, and compare values instantly. Free online percentage calculator with multiple calculation types and detailed results.

🔧

SEO Meta Tag Generator

Generate SEO-optimized meta tags instantly. Create title tags, meta descriptions, Open Graph tags, and Twitter Cards for better search engine visibility.

🔧

Subnet Calculator

Plan IPv4 subnets visually. Enter a CIDR block, split it, see network/broadcast/host counts. Free, runs in your browser.

🔧

Tools Sitemap

Complete list of all free developer tools available on Ataiva. Find password generators, JSON formatters, converters, and more utilities for developers.

📏

Unit Converter

Convert between various units such as length, weight, temperature, and more.

📄

Word Counter & Text Analyzer

Count words, characters, sentences, and paragraphs instantly. Analyze readability, text complexity, and writing style with our text analyzer.