DevKits

URL Parser & Builder (Break Down Any URL Online)

Parse any URL into scheme, host, port, path, and query parameters — or build a URL from scratch with a form. Great for debugging redirect chains, tracking pixels, and OAuth flows. 100% local.

Last updated:

HTTPSContains credentialsHas fragment4 query params

Scheme

https

Hostname

api.example.com

Port

8443

Origin

https://api.example.com:8443

Pathname

/v2/users/42/profile

Fragment

#profile-bio

Username

ada

Password

••••••

Path segments (decoded)

v2/users/42/profile
#KeyValue
1utm_sourcetwitter
2utm_mediumsocial
3expandorders
4expandaddress

Paste any URL to break it into scheme, userinfo, host, port, path, query parameters, and fragment. Also shows each query param as a table with URL-decoded values. 100% local.

Tips & Best Practices

  • The path may include percent-encoded characters — the parser shows both the raw and decoded form so you can compare.
  • URLs with unicode hostnames (IDN) are shown in both Punycode (xn--...) and the original form.
  • The 'build' mode is the inverse: give it components (host, path, query params) and get a properly encoded URL.

Frequently Asked Questions

What's the difference between this and the URL Encoder?

The URL Encoder handles percent-encoding — turning spaces into %20 and back. This tool goes one level up: it parses a URL into its structural parts (scheme, host, path, query, fragment) and lets you edit query parameters in a table. Use both together when debugging tracking URLs or OAuth callbacks.

Does it work with relative URLs?

Yes. If the input is missing a scheme (like /api/users?id=1), the tool parses it against a placeholder base and shows a 'relative' badge — only the path, query, and hash fields will be filled in.

How are duplicate query keys handled?

Multiple values for the same key are preserved and listed as separate rows. This matches how RFC 3986 and modern browsers treat them — e.g. ?tag=a&tag=b is not merged into a single entry.

Is my URL sent anywhere?

No. The tool uses the browser's built-in URL API and never transmits your input. Even URLs containing tokens, credentials, or PII stay entirely on your device.

Related Tools