URL Parser and Builder

Parse a URL into protocol, host, path and query parameters, or build one — free online.

About

About the URL Parser and Builder

Splits a full URL into its individual parts, and separately builds a URL back up from those same parts.

Developers use it to understand exactly what a long, unfamiliar URL is pointing to, while anyone constructing a redirect or webhook URL uses the builder to assemble it correctly without hand-typing query string encoding. It's one of many free data tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.

Choose what to view about this tool

Guide

Using the URL Parser and Builder

  1. 1

    Step 1

    Paste a full URL, including its protocol, into the URL field, then click "Parse".

  2. 2

    Step 2

    Read the broken-down parts and any query parameters in the table.

  3. 3

    Step 3

    Or fill in Protocol, Host, Port, Path, query parameters and Fragment directly to build a URL.

  4. 4

    Step 4

    Click "Build URL" to assemble it, then "Copy" to copy the result.

  • Parses a URL into protocol, host, port, path, fragment, username and password
  • Decodes and lists every query parameter in a clear table
  • Builds a URL back up from individual fields, handling encoding automatically
  • Accepts query parameters for the builder as simple key=value lines, one per line
  • Clear error message when the pasted text isn't a valid, fully-formed URL
  • Works entirely in your browser — nothing you paste is sent to a server
  • Free to use, with no sign-up and no limit on how many times you run it

Developers

Developers use the URL Parser for understanding exactly what an unfamiliar or heavily encoded URL from a log or bug report is pointing to.

QA engineers

QA engineers use the URL Parser for checking that a redirect URL's host, path and query parameters are exactly what a test expects.

Marketers

Marketers use the URL Builder for assembling a campaign link with several query parameters without making an encoding mistake by hand.

Support teams

Support teams use the URL Parser for breaking down a long link a customer pasted into a ticket to understand exactly where it points.

Examples

URL Parser and Builder examples

3 worked examples

01

Parsing a full URL

Paste https://user:pass@example.com:8080/path/to/page?a=1&b=2#section and click Parse to get protocol https, host example.com, port 8080, path /path/to/page, fragment section, and a table listing a=1 and b=2 as query parameters.

02

Building a URL from parts

Set Protocol to https, Host to example.com, Path to /search, and a query parameter line q=blue shoes, then click Build URL to get https://example.com/search?q=blue%20shoes.

03

Omitting the port

Leave the Port field blank when building a URL for a standard HTTPS site, since the default port doesn't need to appear in the final URL.

FAQ

Frequently asked questions

Quick answers to common questions about the URL Parser and Builder.

What does the URL Parser and Builder do?

It splits a URL into its individual parts, and separately builds a URL back up from those parts.

Is the URL Parser free to use?

Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.

Is my URL safe when I use this tool?

Yes. Parsing and building both happen entirely on your own device using the browser's built-in URL support — nothing you paste is sent to a server.

What does the parser require to work?

A complete, valid URL including its protocol, such as https://example.com/path — a bare domain or path without a protocol won't parse.

How do I add query parameters when building a URL?

Enter them as one key=value pair per line in the query parameters box; the builder encodes and joins them into a proper query string automatically.

Does the builder require a port to be entered?

No. Leave the Port field empty to omit it, which is correct for the vast majority of URLs that use the protocol's default port.

What happens to sensitive parts like a username or password in the URL?

The parser shows whether a username or password is present, but masks the password's actual value rather than displaying it in the clear.

Can I use the URL Parser on my phone?

Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.

Still have a question? Contact us

Report a problem

URL Parser and Builder

What went wrong?
    or paste a screenshot