Web Tools

URL Parser

All tools

See every component of a link at a glance and adjust query values without hand-editing the string.

How it works

Four simple steps

1

Paste the link

Type or paste a URL. A missing scheme defaults to https://.

2

Read the parts

Protocol, host, port, path, query, hash and origin fill the table.

3

Edit a parameter

Change any decoded query value and the URL rebuilds itself.

4

Copy the result

Use Copy rebuilt URL to grab the updated link.

URL Parser

About URL Parser

A marketing link arrives with fourteen tracking parameters and a redirect target buried in the middle, and you need to know which value actually reaches the landing page. Pasting it here lays every piece out in a table so you can read it instead of squinting at one long line.

Paste a URL and the parser fills a table with the protocol, host, hostname, port (or "default"), path, raw query string, hash, origin and full href, using the same URL API your browser relies on for links. If you leave off the scheme, https:// is assumed, so "example.com/docs?id=4" works as typed. Query parameters are listed underneath with their percent-encoding decoded, and each value sits in an editable field. Change one and the URL at the top is rebuilt and re-encoded straight away. Copy rebuilt URL puts the result on your clipboard.

One caution: editing works per key name. If a link repeats a key, as in tag=a&tag=b, changing any value collapses those into a single parameter. For links like that, check the before and after in URL Compare, or turn the query into an object with Query to JSON. When a parameter holds another encoded URL, the URL decoder unpacks it so you can paste it back in here.

Parsing happens on each keystroke inside the page. The link is never requested, which matters when it carries session ids or signed tokens.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

Decoded. A value sent as hello%20world appears as hello world in the table and is encoded again when the URL is rebuilt, so you can edit readable text without worrying about escapes.

No. It only splits the string you paste and never fetches anything, so a URL can parse cleanly and still return a 404 or redirect somewhere else.

View more FAQs

Related tools

View all

A11y Annotator

Audit HTML for alt text, labels, headings, and ARIA gaps with fix suggestions.

Open

Bundle Size Estimator

Compare approximate gzip sizes for popular npm packages offline.

Open

Import Cost Estimator

Estimate approximate import cost from pasted import lines and package names.

Open

URL Builder

Build URLs with query params.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools