Swelıty
Tools for everyone

Free Online URL Parser

Break a web address into its scheme, host, port, path, query parameters and fragment, with every part decoded and ready to copy.

Web address

Paste any URL

Parts

Scheme, host, port, path, query and fragment

Paste a web address to see it taken apart.

How to use

  1. Paste a web address into the box, or press Example.

  2. Read the scheme, host, port, path, query string and fragment, and copy any of them with its copy button.

  3. Check the path segments and the query parameters table. Names and values are decoded, so %20 and + show as spaces.

  4. If you leave out the scheme, https:// is assumed and the tool says so.

Why use this tool

  • Every part, copyable

    Scheme, host, port, path, query, fragment, origin and the normalised address each have a copy button.

  • Decoded parameters

    Query parameters are listed in a table with percent-encoding and plus signs decoded. Repeated names are kept.

  • Path segments

    The path is split into numbered, decoded segments.

  • Same parser as the browser

    The result comes from the browser's own URL parser, so edge cases behave as they do in real use.

  • Warnings that matter

    An http address is marked as not encrypted, and a password in an address is flagged.

About this tool

The URL Parser takes a web address apart so you can see each piece. Paste a link and it shows the scheme (http or https), the host, the port, the path, the query string and the fragment, plus the username and password if the address carries them. The path is split into its segments and every query parameter is listed with its name and value, decoded from percent-encoding. It uses the same URL parser your browser uses, so the result matches what a browser would do with the link. Use it to debug redirects and tracking links, to read a long address with many parameters, or to check what part of a link is the host.

Frequently asked questions

A URL is made of a scheme (such as https), an optional username and password, a host (the domain name or IP address), an optional port, a path, an optional query string that starts with a question mark, and an optional fragment that starts with a hash.

The host is the name and port of the server, like example.com:8443. The origin is the scheme, host and port together, like https://example.com:8443. Browsers use the origin to decide what a page may access.

A URL needs a scheme to be read, so when none is typed the tool assumes https and tells you. If your address is really something else, such as ftp, type the scheme.

In form data, a plus sign stands for a space. The tool decodes it as a space in the parameter table, while the raw query string above keeps the plus sign as it was.

No. It only reads the text you type. It does not visit the page, so it cannot tell you whether the address works.