# URL Parser

> Paste a full URL and see its protocol, hostname, port, path, query string, hash and each query parameter as a key and value list.

- Page: https://mondaytool.com/tools/url-parser
- Category: network-api
- Price: free, no sign-up. Most tools run in the browser, so input is not uploaded.
- Use it: open https://mondaytool.com/tools/url-parser. It is an interactive web page; this file is its documentation.

Last updated: 16 October 2026

## Break a URL into its parts

This **URL parser** splits a web address into its components so you can read each one on its own. Paste a link and see the protocol, hostname, port, path, query string and fragment, plus every query parameter listed as a key and value.

## How to use it

1. Paste or type a complete URL into the field, including the protocol such as `https://`.
2. The breakdown appears as you type. There is no button to press.
3. Check the **Query Parameters** table if the URL has a query string.

## How it works

The tool passes your text to the browser's built-in `URL` parser and reads the standard parts from it. Query parameters are read with `URLSearchParams`, so they are decoded for you, for example `%20` appears as a space.

## What you see

| Row | Example for https://example.com:8080/a/b?x=1#top |
| --- | --- |
| Protocol | https: |
| Hostname | example.com |
| Port | 8080, or (default) when none is given |
| Pathname | /a/b |
| Search | ?x=1, or (none) |
| Hash | #top, or (none) |

The parameters table shows the count and appears only when the query string has at least one parameter.

## Assumptions and limits

- The protocol is required. An address like `example.com/page` shows an error asking you to add one.
- The tool does not fetch the page or check that it exists.
- Username and password parts of a URL are not shown as separate rows.
- The subdomain and domain are not split apart. They appear together in Hostname.
- The parsing runs in your browser.

## Frequently asked questions

### Why does it say Invalid URL?

Most often the protocol is missing. Add `https://` or `http://` in front of the address.

### What does Port (default) mean?

The URL has no port written, so the browser uses the default for the protocol, such as 443 for https.

### How are repeated parameters shown?

Each occurrence gets its own row, in the order it appears in the URL.
