URL Parser & Query String Editor

Instantly break any URL into its components — protocol, subdomain, domain, TLD, port, path, query string, and hash. Edit query parameters interactively and copy a clean, reconstructed URL in real-time.

How to Use the URL Parser

  1. Paste your URL — Type or paste any full URL (including https://) into the input field at the top. Use the example buttons to try sample URLs.
  2. Inspect components — The tool instantly breaks the URL into labeled cards: Protocol, Subdomain, Domain, TLD, Port, Pathname, Full Path, Query String, and Hash.
  3. Edit parameters — In the Query Parameter Editor table, click any Key or Value cell to modify it. Add new rows or delete existing ones. The reconstructed URL updates live.
  4. Use Quick Actions — Copy the full reconstructed URL, copy just the query string, or strip tracking parameters with one click.

URL Anatomy Explained

Protocol

The scheme defining how data is transferred. Common values: https:, http:, ftp:.

Subdomain

The prefix before the root domain — e.g. www, shop, or api.

Domain & TLD

The registered domain name (e.g. example) and its top-level suffix (.com, .co.uk).

Query String

Everything after ? — key-value pairs like page=2&sort=asc used to pass data.

Hash / Anchor

The fragment identifier after # — used to jump to a page section. Never sent to the server.

When to Use a URL Parser

Debugging Redirects

Quickly inspect where a complex redirect chain is routing users by examining the exact path, parameters, and hash of each URL hop.

Marketing Attribution

Validate your UTM-tagged campaign URLs before publishing. Check every parameter is spelled correctly and values are properly encoded.

Cleaning Shared Links

Strip UTM and ad-click IDs (fbclid, gclid) before sharing URLs with colleagues, in documents, or on social media.

API Development

Inspect REST API endpoint URLs, understand query parameter structure, and safely edit parameters without breaking encoding.

SEO Auditing

Identify duplicate content caused by unnecessary parameters, or confirm canonical URL structure for crawlability.

Learning Web Basics

Understand URL structure visually as a developer or student. Experiment with real URLs and see how each component is parsed.

Technical Notes

Browser URL() API: This tool uses the browser's native URL() constructor (WHATWG URL Standard) for parsing. This ensures maximum accuracy and handles edge cases like IPv6 addresses, international domain names (IDN), and encoded characters correctly.

Subdomain & TLD detection: Subdomain and TLD are extracted via heuristic hostname splitting. For simple domains like www.example.com, this is highly accurate. Multi-level TLDs like .co.uk are handled using a common two-part TLD list.

Privacy: All processing is 100% client-side. No URL data is ever sent to FlowStack Tools servers, stored in cookies, or logged in any analytics system beyond standard anonymous page-view metrics.

URL reconstruction: When you edit parameters in the table, the tool rebuilds the URL using URLSearchParams, which automatically handles proper percent-encoding of special characters in keys and values.

Frequently Asked Questions

What is a URL parser?

A URL parser breaks a URL into its individual components: protocol, subdomain, domain, TLD, port, pathname, query string, and fragment (hash). This makes it easy to inspect, debug, or modify any part of a web address.

What are query parameters?

Query parameters are key-value pairs appended to a URL after the "?" character, separated by "&". For example, in "?utm_source=google&page=2", the parameters are utm_source=google and page=2. They pass data between pages or to servers.

What are UTM parameters and why would I strip them?

UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) are tracking tags added to URLs for analytics attribution. Stripping them is useful when sharing clean links without exposing tracking data, or when copying a URL for personal reference.

What tracking parameters does "Strip All Tracking" remove?

Strip All Tracking removes all UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) plus common ad and referral trackers including fbclid (Facebook), gclid (Google Ads), msclkid (Microsoft Ads), ref, referrer, mc_eid, igshid, twclid, and _ga.

Is my URL data sent to any server?

No. All URL parsing, editing, and reconstruction happens entirely in your browser using the built-in URL() Web API and JavaScript. Your URLs never leave your device and nothing is stored or transmitted.

Can I edit query parameters directly in the table?

Yes! The interactive query parameter editor lets you modify any key or value inline, add new parameters with the "Add Row" button, and delete individual parameters. The reconstructed URL updates in real-time as you type.

What is the difference between "Domain" and "Full Host"?

The "Domain" field shows the registered domain name only (e.g. "example"), while "Full Host" (hostname) includes the subdomain and TLD together (e.g. "www.example.com"). The TLD is the top-level suffix like .com, .org, or .co.uk.