Encoding

URL & Query String Parser

Parse URLs, inspect their components and edit query parameters.

URL or query string

Paste a complete URL or standalone query parameters.

Parse a URL or query string

Enter a complete URL to inspect all its components, or provide standalone query parameters.

URLs and query parameters are parsed entirely inside your browser and are never uploaded.

About this tool

What is URL & Query String Parser?

A URL and query string parser separates a web address into its protocol, origin, host, port, path, query parameters and fragment. It is useful for inspecting API requests, application routes, tracking links and encoded parameter values.

Features

Built for fast developer workflows

  • Parse complete URLs or standalone query strings.
  • Inspect protocol, origin, hostname, port, path and fragment.
  • Display and preserve repeated query parameters.
  • Add, edit, duplicate, sort and remove parameters.
  • Copy individual URL components.
  • Rebuild percent-encoded URLs locally in the browser.

Frequently asked questions

Questions about URL & Query String Parser

What is a query string?

A query string is the portion of a URL after the question mark. It contains key-value parameters commonly separated by ampersands.

Can a query parameter appear more than once?

Yes. URLs may contain repeated keys such as tag=javascript&tag=typescript. This tool preserves every occurrence separately.

What is the difference between host and hostname?

The hostname contains the domain or IP address. The host includes both the hostname and an explicit port when one is present.

Are parameter values automatically decoded?

Yes. The browser URL and URLSearchParams APIs decode percent-encoded names and values when parsing them.

Is the URL uploaded?

No. Parsing, editing and rebuilding take place entirely inside your browser.

Related tools