About URL Parser / Query String Splitter
The URL Parser / Query String Splitter breaks a URL into its individual parts — protocol, host, port, path, hash and every query parameter listed separately — instead of leaving you to eyeball a long string for the piece you need. Paste a URL and get a clean, labeled breakdown instantly.
It's useful for debugging a redirect that's landing on the wrong page by inspecting its exact path and query string, checking what tracking parameters (UTM tags, referral codes) are actually attached to a link before sharing it, decoding a complex URL with many query parameters to find one specific value quickly, and understanding a URL a bug report or support ticket pasted in without manually counting ampersands and question marks.
Parsing uses the browser's native URL API — the same URL-parsing logic every browser uses internally to load a page — so the breakdown here matches exactly what parsing that URL in JavaScript (or any modern browser) would produce. Query parameters are extracted individually with their decoded values (percent-encoded characters like %20 or %3D are automatically decoded), so a param like `?q=hello%20world` shows up as `q = hello world`, not the raw encoded string.
URLs without a scheme (like `example.com/path` instead of `https://example.com/path`) are rejected with a clear message rather than silently guessed at, since the URL API itself requires an explicit scheme to parse correctly — add `https://` (or the correct scheme) to the front and it'll parse normally. Credentials embedded in a URL (`https://user:pass@host`) are broken out into their own fields too, which is useful for spotting a leaked token or password sitting in a URL before it's shared somewhere it shouldn't be. Parsing happens entirely in your browser; the URL you're inspecting is never sent anywhere, which matters when the URL itself contains a session token, API key or other sensitive query parameter.
How to Use the URL Parser / Query String Splitter
- Paste a full URL, including its scheme (https://).
- The parsed breakdown appears instantly: protocol, host, path, hash and every query parameter.
- Copy the breakdown or download it as a text file.
Features
- Full breakdown: protocol, host, port, pathname, hash, credentials
- Every query parameter listed individually with decoded values
- Uses the browser's native, spec-compliant URL parser
- Clear error message for URLs missing a scheme
Examples
Parsing a full URL with credentials, port, query and hash
Input
https://user:[email protected]:8080/products/shoes?color=red&size=9#reviews
Output
Protocol: https: · Host: example.com:8080 · Path: /products/shoes · Hash: #reviews Query parameters: color = red, size = 9
Rejecting a URL with no scheme
Input
example.com/path
Output
Error — make sure the URL includes a scheme, e.g. https://
Frequently Asked Questions
Why do I need to include https:// in the URL?
The parser uses the standard URL API, which requires an explicit scheme to know how to interpret the rest of the string. Without one, 'example.com/path' is ambiguous — add https:// (or the correct scheme) to the front.
Are query parameter values automatically decoded?
Yes — percent-encoded characters like %20 (space) or %3D (equals sign) are decoded in the query parameter list, so you see the actual intended value rather than the raw encoded string.
Can it parse a URL with a username and password?
Yes — URLs in the form https://user:pass@host are supported, and the username and password are broken out into their own labeled fields separate from the host.
Is the URL parser free?
Yes, the URL parser is completely free with no usage limits. No signup, no account and no installation required.
Is my data safe?
Yes. All processing happens locally in your browser using JavaScript — nothing you type is uploaded or stored on our servers.
Related Tools
JSON to XML Converter
Convert JSON to XML or XML back to JSON, with attributes preserved. Free online JSON ↔ XML converter, no signup required.
User-Agent Parser
Parse a User-Agent string into browser, engine, OS and device details instantly. Free online User-Agent parser and analyzer.
Text to Slug
Turn any title into a clean, SEO-friendly URL slug — lowercase, hyphenated and free of accents or special characters.
HTTP Status Code Lookup
Search every HTTP status code by number, name or keyword and see what it means. Free, searchable HTTP status code reference.
URL Encode/Decode
Encode or decode URLs and query strings online. Free URL encoder/decoder for percent-encoding special characters.
Chmod Calculator
Convert Unix file permissions between checkboxes, symbolic notation (rwxr-xr-x) and octal (755). Free online chmod calculator.
UTM Link Builder
Build campaign tracking URLs with UTM source, medium, campaign, term and content parameters. Free UTM builder with link history.
Robots.txt Generator
Generate a robots.txt file with allow/disallow rules, sitemap reference and crawl-delay, plus a basic syntax validator.