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:
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 |
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
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.
URL Encode/Decode
Percent-encode and decode URLs online. Handles query strings, path segments, and special characters correctly.
Color Converter
Convert colors between HEX, RGB, HSL, and HSV instantly. Includes a live color preview and copy-ready CSS strings.
HTML Minifier
Minify HTML by removing comments, collapsing whitespace, and stripping optional attribute quotes and void-element slashes. Reports byte savings. Preserves IE conditional comments and preformatted <pre> / <textarea> / <script> / <style> content. 100% local.
HTML Beautify
Format messy or minified HTML with clean indentation and line breaks. Handles void elements (<br />), preserves preformatted <pre> / <textarea> / <script> / <style>, and normalizes self-closing tags. 100% local.