utilities.dev

URL Parser

Break down URLs into parts and rebuild them with editable query parameters.

URL parsing runs in your browser; no input is sent to a server.

URL Input
Paste or type a URL to parse into its components

How to use this tool

  1. Paste or type a URL into the input field.
  2. View parsed parts and edit query parameters in the list.
  3. Copy the rebuilt URL or clear to start over.

About URL Parser

This tool helps you inspect and modify URLs when debugging redirects, building API endpoints, or working with query strings. It parses URLs locally and lets you edit query params before rebuilding.

Common use cases

  • Inspecting query parameters in redirect URLs during debugging
  • Building or modifying API endpoint URLs with dynamic params
  • Understanding URL structure before implementing routing logic

FAQ

What does the URL parser do?
It splits a URL into protocol, host, port, pathname, query parameters, and hash. You can view and edit query params, then rebuild the full URL.
Is my URL sent to a server?
No, parsing and rebuilding happen entirely in your browser. URLs are never transmitted by this tool.
Why does parsing fail for some URLs?
The parser uses the browser URL API, which requires a valid absolute URL with a scheme (e.g. https://). Relative paths or malformed strings will fail.
How do I add or remove query parameters?
Use the Add param button to insert new key-value pairs, or the trash icon next to each row to remove. Changes update the rebuilt URL immediately.

Related tools