Back to all tools
Web Tools

URL Parser

Break a URL into its components

{
  "protocol": "https:",
  "host": "devbox.dev",
  "hostname": "devbox.dev",
  "port": "",
  "pathname": "/tools/json-formatter",
  "search": "?theme=dark&v=2",
  "hash": "#hash",
  "params": {
    "theme": "dark",
    "v": "2"
  }
}