URL Parser

Parse any URL into its components: protocol, hostname, path, query parameters, and fragment.

Runs locallyNo sign-upKeyboard first
InputA full URL, including the scheme
PartsEdit any part to rebuild the URL
Query parameters (3)
Rebuilt URL
https://api.devprix.io:8443/v1/search?q=caf%C3%A9%20cr%C3%A8me&lang=fr&page=2#results
Valid URLapi.devprix.io3 query parameters83 charsProcessed locally

What is URL Parsing?

URL parsing breaks a URL into its components: protocol (https), hostname (example.com), port, pathname (/path), query parameters (?key=value), and fragment (#section). Understanding URL structure is essential for routing, API development, and debugging network requests. This tool parses any URL and displays each component separately.

Common use cases

  • Inspecting and debugging complex API endpoint URLs
  • Extracting query parameters from analytics or tracking URLs
  • Understanding URL structure for web scraping
  • Validating URLs before making HTTP requests
  • Parsing deep links and redirect URLs

How to use

  1. 1Paste a full URL, including https://, into the input.
  2. 2Read or edit the parts: protocol, host, port, path, each query parameter and the fragment.
  3. 3Copy the rebuilt URL, or click Use as input to keep working from your edited version.

Frequently asked questions

What are the parts of a URL?

A URL has up to 8 parts: scheme (https), username, password, hostname (example.com), port (443), path (/page), query (?key=val), and fragment (#section). Most URLs only use scheme, hostname, path, and query.

What is the fragment/hash in a URL?

The fragment (after #) identifies a section within a page. It is NOT sent to the server — it's handled entirely by the browser. Single-page apps often use fragments for client-side routing.