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

Win high-intent buyers from ChatGPT, Gemini, Claude, Perplexity, and AI Overviews before your competitors do.

One operating layer for monitoring, measurement, content action, and technical cleanup.

AI Visibility TrackingCompetitive RankingSentiment by ModelSource CitationsAI Overviews TrackingPrompt MonitoringAI Visibility TrackingCompetitive RankingSentiment by ModelSource CitationsAI Overviews TrackingPrompt Monitoring
Content GapsAI InsightsAdvanced AnalyticsData CopilotBlog GenerationUGC CampaignsLLM CouncilContent GapsAI InsightsAdvanced AnalyticsData CopilotBlog GenerationUGC CampaignsLLM Council
Shopping IntelligenceCrawler MonitoringGEO OptimizationMulti-Brand ManagementShopping IntelligenceCrawler MonitoringGEO OptimizationMulti-Brand Management

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 dominate AI search visibility?

Track where your brand shows up in AI answers, close the content gaps that cost conversions, and stay visible across ChatGPT, Claude, Gemini, Perplexity, and Grok.