Split a simple URL with parameters
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.
Developer Tools
Review practical URL Splitter examples so you can understand expected input, output, and common patterns faster.
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.
Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
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.
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.
Fix: Enter a full URL including the protocol such as https://example.com.
Fix: Use URL Builder when you need to create a URL rather than split one.
Fix: This tool works best with full URLs, not partial fragments by themselves.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main URL Splitter page and test your own real input.