๐Ÿ”

URL Parser

Break down an absolute URL or a relative reference with a base URL. Inspect components and repeated query parameters, then copy fields or JSON locally.

Practical Guide
URL to ParseEnter an absolute URL, or add a base URL for a relative reference.
Base URL for relative input
Select Sample
Parsed Result
Full URL
Origin
Protocol
Hostname
Port
Pathname
Search
Hash
Username
Password
Query Parameters (3)
1
2
3

โ“What is URL Parser

Break down an absolute URL or a relative reference with a base URL. Inspect components and repeated query parameters, then copy fields or JSON locally. The browser URL API parses the text locally. This tool does not test whether a site exists or whether a URL is safe.

โœจFeatures

๐Ÿ”—

Parsed Result

Review the normalized URL, its components, and every query parameter in order.
๐Ÿงญ

Base URL for relative input

A base URL must itself be absolute; relative input is resolved against it.
๐Ÿ“‹

Query Parameters

Repeated query keys remain separate rows. URLSearchParams displays decoded keys and values; copying a pair encodes it again.
๐Ÿ“„

Copy JSON

Copy a field, a query pair, the full URL, or structured JSON.

๐ŸŽฏUse cases

Parsed Result

Review the normalized URL, its components, and every query parameter in order.

Query Parameters

Repeated query keys remain separate rows. URLSearchParams displays decoded keys and values; copying a pair encodes it again.

Base URL for relative input

A base URL must itself be absolute; relative input is resolved against it.

๐Ÿ“šPractical Guide

WHATWG URL API

A base URL must itself be absolute; relative input is resolved against it.

URLSearchParams

Repeated query keys remain separate rows. URLSearchParams displays decoded keys and values; copying a pair encodes it again.

Invalid URL

The browser URL API parses the text locally. This tool does not test whether a site exists or whether a URL is safe.

๐Ÿ’ฌFrequently Asked Questions

โ“What are the components of a URL?
Review the normalized URL, its components, and every query parameter in order.
๐Ÿ’ฌWhat types of URLs can the URL Parser handle?
A base URL must itself be absolute; relative input is resolved against it.
๐Ÿ”Why does my URL parsing fail?
Enter a valid absolute URL, or provide a valid absolute base URL for relative input.
๐Ÿ’กHow are special characters handled in URLs?
Repeated query keys remain separate rows. URLSearchParams displays decoded keys and values; copying a pair encodes it again.
๐Ÿ“šHow to extract all query parameters from a URL?
Repeated query keys remain separate rows. URLSearchParams displays decoded keys and values; copying a pair encodes it again. Copy a field, a query pair, the full URL, or structured JSON.

๐Ÿ’กHow to use

1๏ธโƒฃ

URL to Parse

Paste an absolute URL or choose a sample; for a relative reference, enter a base URL.
2๏ธโƒฃ

Parsed Result

Review the normalized URL, its components, and every query parameter in order.
3๏ธโƒฃ

Copy

Copy a field, a query pair, the full URL, or structured JSON.

๐Ÿ“Update log

๐Ÿ“Œv1.12.261118
v1.12.261118

Added relative URL resolution, duplicate query display, JSON copying, and clearer parse errors.

๐Ÿ“ฆRecommended components

User Comments

0 / 2000
Loading...