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:
CommentsPaste 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.
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)
| # | Key | Value |
|---|---|---|
| 1 | utm_source | |
| 2 | utm_medium | social |
| 3 | expand | orders |
| 4 | expand | address |
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.
Try Next
Meta Tag Preview
Preview how your page will appear in Google search results and social share cards on Facebook, Twitter/X, and LinkedIn. Parses <title>, meta description, canonical, and full Open Graph / Twitter Card tags with diagnostics. 100% local.
Related Tools
Color Converter
Convert colors between HEX, RGB, HSL, and HSV instantly with a live color preview and copy-ready CSS strings. Free, no signup, runs entirely in your browser.
User Agent Parser
Parse User-Agent strings to identify browser, engine, operating system, and device. Instantly see what your own browser sends.
HTTP Status Codes
Complete reference of HTTP status codes with meanings, use cases, and RFC citations. Search 60+ codes from 100 Continue to 511 Network Authentication Required.
cURL Converter
Convert cURL commands to Python (requests), JavaScript (fetch), Node.js, Go (net/http), PHP, or Java (HttpClient). Parses -H, -d, --data-urlencode, -F, -u, --json and more. 100% local.
CIDR Calculator
Calculate IPv4 subnets from CIDR notation online. Get network address, broadcast, netmask, wildcard, usable host range, IP class, and binary representation. 100% local — nothing leaves your browser.
CSS Specificity
Calculate CSS selector specificity. See exactly how each part of a selector contributes to the (a,b,c,d) weight. Includes IDs, classes, attributes, pseudo-classes, type selectors, and pseudo-elements. 100% local.