Simple online tools for developers, networking, text and conversions.

Developer Tools

URL Splitter

Split a URL into readable parts such as protocol, host, path, query, and fragment.

Tool

Use this URL Splitter to break a full URL into readable parts like protocol, hostname, pathname, query string, and fragment. It is useful for debugging links, reviewing redirects, inspecting tracking URLs, understanding nested URLs, and checking the structure of a long or messy web address more clearly.

About this tool

Use this URL Splitter to break a full URL into readable parts like protocol, hostname, pathname, query string, and fragment. It is useful for debugging links, reviewing redirects, inspecting tracking URLs, understanding nested URLs, and checking the structure of a long or messy web address more clearly.

Use url splitter when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Paste a full URL into the input box
  2. Click Run Tool to split the URL
  3. Review the protocol, host, path, query, and fragment output
  4. Copy the part you need for debugging or reuse
  5. Run it again with another link if needed

Examples

Example

Input

https://example.com/search?q=test&page=2#top

Output

Protocol: https:
Host: example.com
Path: /search
Query: ?q=test&page=2
Fragment: #top

Useful for checking the full structure of a tracked or filtered URL.

Example

Input

https://api.example.com/items/42?expand=true

Output

Protocol: https:
Host: api.example.com
Path: /items/42
Query: ?expand=true
Fragment: 

Helpful when reviewing request URLs in debugging workflows.

Common errors

The input is not a valid full URL

Fix: Enter a full URL including the protocol such as https://example.com.

The user expects the tool to build a URL from parts

Fix: Use URL Builder when you need to create a URL rather than split one.

The input is only a query string or path

Fix: This tool works best with full URLs, not partial fragments by themselves.

FAQ

What does a URL Splitter do?

It breaks a full URL into readable parts such as protocol, host, path, query, and fragment.

Do I need a full URL with protocol?

Yes. A full URL like https://example.com works best.

What is the difference between URL Splitter and URL Builder?

URL Splitter breaks down an existing URL, while URL Builder creates one from a base URL and parameters.

Can it show query strings and fragments separately?

Yes. Query and fragment parts are shown separately in the output.

Why is my result invalid?

The most common reasons are a partial URL, a missing protocol, or malformed input.

Use cases

Related tools