Developer Tools

Split a URL into components online

Split a URL into protocol, host, path, query, and hash.

All Tools

URL Splitter

Upload file
Drag & drop a file here, or choose a file.
Input
Output

How to use

  1. Paste a URL.
  2. Click Convert to split path/query/hash.
  3. Copy the output.

Best practices

  • For best performance, try with smaller inputs first.
  • Preview the output before downloading or sharing it.
  • Avoid pasting sensitive data on shared devices.

Privacy

Some tools run in your browser. Some may require server processing depending on the feature.

Examples
Example 1
Input
https://example.com/path/to/page?utm_source=test&x=1&x=2#section
Output

                                    
Example 2
Input
/relative/path?query=1
Output

                                    

Was this tool helpful?