URL Parser — Free Online URL Breakdown & Query String Parser

Free online URL parser. Break down any URL into protocol, host, port, path, query parameters and hash, list every query string key and value, spot UTM tags a...

To parse a URL, paste it into the Your url to parse field; the tool breaks it into protocol, host, port, path segments, query parameters and hash instantly.

Last updated:

URL Parser — Free Online URL Breakdown & Query String Parser. Free online URL parser. Break down any URL into protocol, host, port, path, query parameters and hash, list every query string key and value, spot UTM tags and copy the result as JSON.

Our free online URL parser splits any web address into its individual URL components the moment you paste it.

You instantly see the protocol, username and password, hostname, port, host, origin, path, query string, hash fragment and the normalised href, each in its own field with a one-click copy button.

It works as a complete URL breakdown tool: the path is split into readable segments, the effective port is filled in from the protocol default (443 for HTTPS, 80 for HTTP) and scheme-less inputs such as example.com/page are parsed as HTTPS automatically, just like a browser address bar.

Whenever you need to parse URL online — to debug a redirect, review a deep link or check an API endpoint — this is the fastest way to read it. The built-in query string parser lists every parameter as a separate key/value pair.

Values are percent-decoded, + is read as a space and repeated keys such as tag=a&tag=b are kept instead of being silently merged, so you see exactly what a server will receive.

UTM parameters (utm_source, utm_medium, utm_campaign …) are highlighted and counted, which makes the tool handy for marketers auditing campaign links. Need to encode or decode a single value instead? Use the URL Encoder & Decoder.

To pull every link out of a block of text use the URL Extractor, and to create clean paths from titles try the Slug Generator.

Parsing uses the standard WHATWG URL API that every modern browser implements, and it runs 100% in your browser — tokens, signed URLs, passwords in the authority part and private API routes are never uploaded to a server.

Load the sample URL to see every field in action, copy the full breakdown as JSON for bug reports or test fixtures, and share a link that re-opens the parser with your URL.

Related tools: Safelink Decoder for Microsoft SafeLinks, HTTP Status Codes and JSON Viewer to inspect the JSON output.

Frequently asked questions

How do I break down a URL into its parts?

Paste the link into Your url to parse. The URL components card lists protocol, username, password, hostname, port, effective port, host, origin, path, params, hash and the full URL, each with a copy button. Path segments and query parameters are shown in their own cards below.

How do I parse a query string into keys and values?

Paste the full URL and look at the Query parameters card. Every parameter is listed as a separate key and value, percent-decoded with + read as a space, and repeated keys such as tag=a and tag=b are kept as separate rows. Click Copy as JSON to export everything.

How does the URL parser show UTM parameters?

UTM parameters such as utm_source, utm_medium and utm_campaign are tracking tags added to marketing links. Each one is marked with a UTM tag in the Query parameters card and the total UTM count is shown, so you can audit campaign links quickly.

Can I parse a URL without http or https?

Yes. If you enter something like example.com/path without a scheme, the tool parses it as https:// and shows a note saying so. Other schemes such as mailto:, ftp:// or wss:// are parsed as entered.

What is the effective port?

When a URL has no explicit port, the Port field stays empty and Effective port shows the default for the protocol: 80 for http and ws, 443 for https and wss, and 21 for ftp. An explicit port such as :3000 is shown in both fields.

Why does the URL parser say Invalid url?

The text cannot be read as a URL, for example when it contains spaces but no scheme, or has an invalid host name. Check the address, remove stray spaces and add https:// at the start if it is missing.

How to use this online tool

URL Parser — Free Online URL Breakdown & Query String Parser is designed for fast browser workflows when you need to format, validate, convert, decode, encode, generate, or inspect data without opening a heavy desktop app. Start with the input field or visible options, review the result, then copy or download the output for the next step.

Private processing in your browser

URL Parser — Free Online URL Breakdown & Query String Parser keeps the normal processing step local in your browser. That is useful for code snippets, tokens, documents, configuration values, text samples, and other material that should not be sent to a remote service unless you explicitly choose to share it.

When this tool is useful

Use URL Parser — Free Online URL Breakdown & Query String Parser for repeatable developer tasks, technical documentation, QA checks, quick conversions, debugging, content cleanup, and internal team workflows. The page focuses on clear inputs, immediate feedback, and output that is easy to reuse in code, reports, tickets, emails, or notes.

Practical tips

Before copying the final result, check important details such as spacing, casing, filenames, encoding, token structure, line breaks, or output format. Small checks prevent mistakes when the result is reused in source code, API requests, documentation, spreadsheets, or shared files.