Free tools

Free HTTP Status & Redirect Chain Parser

Analyze status lines and Location headers from curl or logs to validate redirect flows and final destination.

Copy-paste outputs

The autonomous growth engine for your business.

Brand Armor AI finds where your customers are, decides what to create, distributes it across the channels that matter, and learns from every result.

Discover customer opportunitiesPlan campaignsCreate posts, images, and videosPublish across channelsMeasure what worksAI search visibilityDiscover customer opportunitiesPlan campaignsCreate posts, images, and videosPublish across channelsMeasure what worksAI search visibility
Social publishingBlog and CMS deliveryEmail outreachAutopilot workflowsBrand IdentityWeekly reportsSocial publishingBlog and CMS deliveryEmail outreachAutopilot workflowsBrand IdentityWeekly reports
Shopping IntelligenceCompetitor AnalysisBrand IdentityShopping IntelligenceCompetitor AnalysisBrand Identity

Tool 01

HTTP Status + Redirect Chain Parser

Parse status lines and redirect hops from raw headers and curl output.

HTTP Status + Redirect Chain Parser
Parse pasted response headers or curl output to inspect redirect hops and final response.
Redirect hops (3)

Hop 1: 301

Location: https://www.brandarmor.ai/features

Hop 2: 302

Location: https://brandarmor.ai/features

Hop 3: 200

Location: (none)

{
  "hops": [
    {
      "hop": 1,
      "status": 301,
      "reason": "",
      "location": "https://www.brandarmor.ai/features",
      "headers": {
        "location": "https://www.brandarmor.ai/features",
        "cache-control": "max-age=0"
      }
    },
    {
      "hop": 2,
      "status": 302,
      "reason": "",
      "location": "https://brandarmor.ai/features",
      "headers": {
        "location": "https://brandarmor.ai/features"
      }
    },
    {
      "hop": 3,
      "status": 200,
      "reason": "",
      "location": null,
      "headers": {
        "content-type": "text/html; charset=utf-8"
      }
    }
  ],
  "warnings": []
}

How it works

HTTP Status + Redirect Chain Parser: methodology and worked example

How this tool computes its result

Parses multi-line input matching the regex `^HTTP/[0-9.]+s+(d{3})(?:s+(.*))?$` to extract HTTP status codes and reason phrases. After each status line, subsequent lines matching `KEY: VALUE` format are captured as headers. The Location header (case-insensitive match) is extracted separately. Hops are numbered in order; each hop object stores status, reason, location (if present), and a headers dict. Warnings fire if no status lines are found, or if any redirect status (300-399) lacks a Location header.

Worked example

Pasting curl -I -L output with "HTTP/2 301", "location: https://example.com/new", "HTTP/2 200", "content-type: text/html": the tool parses two hops - hop 1 is status 301 with location "https://example.com/new," hop 2 is status 200 with no location. Output lists both hops and warns if hop 1 lacked a location.

When not to use this tool

This parses text headers pasted manually or from curl output - it does not make live HTTP requests to trace a real redirect chain from the network; to capture an actual chain, run `curl -I -L https://example.com` and paste the output into this tool.

Common mistakes

  • - Pasting a status line like "HTTP/1.1 301" followed by no header lines and then another status - the tool still parses correctly, but it will warn if the 301 hop has no Location header, which is probably an error in the data you pasted.
  • - Assuming all headers between status lines belong to that status hop - headers are tied to the most recent status line above them; if you paste headers out of order or skip a status line, headers may be assigned to the wrong hop.
  • - Expecting "HTTP/2" and "HTTP/1.1" to be treated as separate protocol versions - the parser just extracts the numeric status code and ignores the version prefix, so the redirect chain logic is identical regardless of protocol.

Ready to put your growth work on autopilot?

Connect your business once, then let Brand Armor AI find opportunities, create content, publish it, and learn from what brings customers in.