# URL Parser

> Break a URL into protocol, host, path, query parameters and fragment.

To parse a URL, paste it above and every component is separated out — protocol, subdomain, root domain, port, path, each query parameter and the fragment. Percent-encoded parameter values are decoded so you see what the server actually receives.

**URL:** https://convertto.tech/t/url-parser
**Category:** Developer Tools (https://convertto.tech/c/developer-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your url.
2. The result appears immediately — copy or download it.

## FAQ

### What is the difference between a fragment and a query string?

The query string is sent to the server; the fragment after # never leaves the browser. That is why analytics cannot see fragments by default, and why putting a token in one is safer than putting it in a query.

### Why does my URL break with special characters?

Because characters like space, &, # and + are structural. They must be percent-encoded in values, or the parser treats them as delimiters — a space in an unencoded query parameter truncates the URL at that point in many clients.

## Related tools

- [URL Encoder & Decoder](https://convertto.tech/t/url-encode-decode): Percent-encode text for safe use in URLs, and decode encoded URLs back to readable text.
- [Query String to JSON Converter](https://convertto.tech/t/query-string-converter): Convert URL query strings to JSON and build query strings from JSON objects.
- [URL Builder](https://convertto.tech/t/url-builder): Compose a URL from its parts with correctly percent-encoded query parameters.
- [Content Security Policy Generator](https://convertto.tech/t/csp-generator): Build a CSP header from common presets, with each directive explained.
- [HTTP Status Code Reference](https://convertto.tech/t/http-status-codes): Look up what any HTTP status code means and when to use it.
- [MIME Type Lookup](https://convertto.tech/t/mime-type-lookup): Find the correct MIME type for any file extension, and vice versa.
- [Naming Convention Converter](https://convertto.tech/t/case-detector): Convert an identifier between every common naming convention at once.
- [Cron Expression Parser](https://convertto.tech/t/cron-expression-generator): Translate a cron expression into plain English and see when it will next run.
