Network tools

URL Parser

Parse URLs into protocol, host, path, query parameters, hash, and origin with local validation.

URL input

Paste an absolute URL or a relative path.

Href
https://zptools.com/search?q=json%20parser&tag=developer&tag=tools#results
Origin
https://zptools.com
Protocol
https:
Host
zptools.com
Hostname
zptools.com
Port
—
Pathname
/search
Search
?q=json%20parser&tag=developer&tag=tools
Hash
#results

Query JSON

{
  "href": "https://zptools.com/search?q=json%20parser&tag=developer&tag=tools#results",
  "origin": "https://zptools.com",
  "protocol": "https:",
  "username": "",
  "password": "",
  "host": "zptools.com",
  "hostname": "zptools.com",
  "port": "",
  "pathname": "/search",
  "search": "?q=json%20parser&tag=developer&tag=tools",
  "hash": "#results",
  "query": {
    "q": "json parser",
    "tag": [
      "developer",
      "tools"
    ]
  }
}

Features

URL Components

Break URLs into protocol, origin, host, port, path, search, and hash.

Query Parameters

Inspect repeated query keys and decoded parameter values.

JSON Summary

Copy a structured JSON representation for debugging and tickets.

Relative Support

Use a configurable base URL to inspect relative links.

Copy Quickly

Copy parsed components or query JSON into docs and API clients.

No Requests

Parsing happens locally without loading or contacting the URL.

Frequently Asked Questions

No. It only uses the browser URL parser and never makes a network request.

Yes. Relative URLs are resolved against the base URL field.

Duplicate keys are grouped into arrays in the query parameter summary.

A growing collection of fast, privacy-first developer utilities. All tools run in your browser — your data never leaves your device.

Tools

JSON ParserJSON Schema ValidatorJSON ConverterJSON to TypeScriptJSON MinifierOpenAPI ViewerCode FormatterSQL FormattercURL ConverterTimestamp ConverterCron ParserURL EncoderQR Code ToolURL ParserIP & CIDR CalculatorGzip & Deflate ToolJWT DecoderJWT Verify & JWK ToolHash GeneratorPassword & TOTPBase64 EncoderUUID GeneratorImage MetadataImage CompressionTiny Image CompressorImage Toolkit ProScreen RecorderRegex TesterCase ConverterLorem Ipsum GeneratorText DiffMarkdown & Mermaid PreviewColor & Contrast Tool

Legal

Privacy PolicyTerms of Service

© 2026 ZPTools. All Rights Reserved.