snaptools
U
URL Parser
Scheme
Host
Port
Path
Query
Fragment
User
Password
Enter a URL to break it into parts
// about this tool

URL Parser Online

Updated 2026-07-09

Parse any URL into its parts online for free. Paste a link and SnapTools breaks it into scheme, host, port, path, query, and fragment, then lists every query parameter in a table — each part copyable with one click. Everything runs in your browser, so nothing is uploaded.

Long URLs packed with tracking and query parameters are hard to read at a glance. This parser pulls them apart so you can see exactly what a link contains — handy for debugging redirects, inspecting UTM tags, or understanding an API endpoint.

// how to use

  1. 1 Paste a URL into the input field.
  2. 2 SnapTools breaks it into scheme, host, port, path, query, and fragment.
  3. 3 Read the query parameters in the table below, and copy any part you need.

// examples

Parse a URL with query params
Input
https://shop.example.com/list?category=books&page=2#reviews
Output
host: shop.example.com · path: /list · params: category=books, page=2 · fragment: reviews

// common uses

Inspecting tracking and UTM parameters Debugging redirect and callback URLs Extracting query values from long links Understanding API endpoint structure

// faq

The scheme (https), host, port, user and password (if present), path, raw query string, and fragment. The query string is also broken out into a table of individual parameters.
Bracketed parameters like tags[]=a&tags[]=b are flattened into indexed keys (tags[0], tags[1]) so every value is listed separately.
Query parameter values are URL-decoded as part of parsing, so %20 becomes a space. Use the URL Decoder if you need to decode an entire string.
Severely malformed URLs — for example a non-numeric port — can't be parsed. Check the scheme and authority part of the URL and try again.
No — parsing runs in your browser, so nothing leaves your machine.

Use this via API

Get a free API key →
curl -X POST https://snaptools.dev/api/v1/tools/url-parser \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://shop.example.com/list?category=books&page=2#reviews"}'
Esc
↑↓ navigate open Esc close