Skip to main content

URL Parser

Parse and analyze URLs to extract components and query parameters.

URL Input

Enter a URL to parse

Examples:

URL Components

Protocol
https
Hostname
api.example.com
Port
(default)
Pathname
/v1/users
Search
?page=2&limit=10&sort=name&filter=active
Hash
#results
Origin
https://api.example.com
Full URL
https://api.example.com/v1/users?page=2&limit=10&sort=name&filter=active#results
Username
(none)
Password
(none)

Query Parameters

4 parameter(s)

page
2
limit
10
sort
name
filter
active

URL Encode/Decode Utility

Convert text to URL-encoded format and vice versa

PLAINTEXT1 lines
1
PLAINTEXT1 lines
1

Tip: Type in either field to automatically convert. Raw text uses encodeURIComponent() and encoded text uses decodeURIComponent()

About the URL Parser

URLs contain multiple components — protocol, hostname, port, path, query parameters, and fragment — that are often bundled together in ways that make debugging difficult. A URL parser breaks them apart for inspection.

Paste any URL to see each component extracted separately: protocol, host, port, path, query string (parsed into individual key-value pairs), and hash fragment. Useful for debugging API endpoints and tracking parameters.

How to use

  1. Paste the URL you want to dissect.
  2. Each component is extracted and displayed separately.
  3. Inspect individual query parameters as key-value pairs.
  4. Copy any component for use in your code.

Frequently Asked Questions

Can it parse URLs with query parameters? ▾

Yes — each query parameter is extracted as a separate key-value pair, making it easy to inspect individual parameters without manually splitting the string.

Does it handle encoded characters? ▾

Yes — percent-encoded characters in the URL are preserved as-is. Use the URL Encoder tool to decode them if needed.