URL Parser & Rebuilder

Split a URL into protocol, credentials, host, port, path, query parameters and fragment, then edit any part and see the rebuilt link instantly. Parameters can be added or removed.

3 parameters · 1 duplicated keys · fragment yes

Segments

The path keeps its original percent-encoding (%2F is not the same as a literal slash, so it is not decoded automatically).

Query parameters

=
=
=

Rebuilt URL

https://user:pass@example.com:8080/blog/post-name?utm_source=nav&tag=vue&tag=nuxt#section-2

Keys and values are edited decoded; they are percent-encoded again when rebuilt. No need to escape spaces, ampersands or CJK characters yourself.

A URL without a protocol is parsed as http, but the rebuilt result does not add http:// back. What you see is what you typed.

Comments

Sign in to join the discussion

No comments yet — be the first to say something