Free tools

Free URL Splitter & Query Parser

Break down any URL into normalized components and inspect query parameters for analytics and technical SEO workflows.

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

URL Splitter & Parser

Break down URLs into protocol, host, path, query, hash, and normalized form.

URL Splitter & Parser
Split and normalize URLs into protocol, host, path, query, and hash components.
Core components

Normalized

https://www.brandarmor.ai/tools/url-splitter-parser?utm_source=google&utm_medium=organic#section

Protocol

https:

Host

www.brandarmor.ai

Hostname

www.brandarmor.ai

Port

-

Pathname

/tools/url-splitter-parser

Search

?utm_source=google&utm_medium=organic

Hash

#section

Origin

https://www.brandarmor.ai

Username

-

Password

-

Query parameters
KeyValue
utm_sourcegoogle
utm_mediumorganic
{
  "normalized": "https://www.brandarmor.ai/tools/url-splitter-parser?utm_source=google&utm_medium=organic#section",
  "protocol": "https:",
  "host": "www.brandarmor.ai",
  "pathname": "/tools/url-splitter-parser",
  "query": [
    {
      "key": "utm_source",
      "value": "google"
    },
    {
      "key": "utm_medium",
      "value": "organic"
    }
  ],
  "hash": "#section"
}

How it works

URL Splitter & Parser: methodology and worked example

How this tool computes its result

Takes a URL input, optionally prepends https:// if no scheme is detected (via regex test), then passes it to the native URL constructor. If the URL parses successfully, it extracts all components: protocol, username, password, host, hostname, port, pathname, search (query string), hash (fragment), and origin, plus builds a key-value table of query parameters by iterating url.searchParams. If the URL fails to parse, it shows an error message. Credentials in the password field are masked as "***" in output, and the JSON export excludes plaintext passwords for safety.

Worked example

Entering the URL "https://www.brandarmor.ai/tools/url-splitter-parser?utm_source=google&utm_medium=organic#section" parses into protocol "https:", hostname "www.brandarmor.ai", pathname "/tools/url-splitter-parser", search "?utm_source=google&utm_medium=organic", hash "#section", and a query table with two rows: {key: "utm_source", value: "google"} and {key: "utm_medium", value: "organic"}. Entering a bare domain "example.com/path" auto-prepends https:// to become "https://example.com/path" before parsing.

When not to use this tool

The native URL constructor only accepts fully formed URLs — it cannot parse relative paths like "/path/to/page" or "../parent" without a base URL. Also, certain legacy or non-standard URL schemes (e.g., ftp://edge cases, custom protocols) may be accepted by the constructor but produce unexpected hostname/pathname splits.

Common mistakes

  • - Pasting a relative URL without a hostname (e.g., "/path/to/page") — the auto-prepend of https:// results in "https:///path/to/page", which throws "Invalid URL" because there is no hostname.
  • - Expecting URL-encoded query parameters to be automatically decoded — the query table shows the decoded key-value pairs (since URLSearchParams decodes them), but if you need the literal encoded form with %20 or %26, the raw search string is still shown separately.
  • - Assuming the password field in the parsed output contains your actual password — it does (but is hidden as "***" in the UI); do not share the JSON export of a URL that contains credentials.

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.