Developer Tools
URL Parser
Break a URL into host, path, query, hash, and origin parts.
Input
URL Parser
urlparserwebhostname
Output
Parsed URL
{
"href": "https://www.toolsmith.dev/tools/json-formatter?utm_source=google&plan=starter#examples",
"protocol": "https:",
"origin": "https://www.toolsmith.dev",
"hostname": "www.toolsmith.dev",
"port": "",
"pathname": "/tools/json-formatter",
"search": "?utm_source=google&plan=starter",
"hash": "#examples",
"username": "",
"password": "",
"params": {
"utm_source": [
"google"
],
"plan": [
"starter"
]
}
}Related tools
JSON Formatter
Pretty-print raw JSON with configurable indentation.
JSON Validator
Validate JSON and get a clean parse result.
JSON Minifier
Compress JSON into a single-line payload.
JSON Diff
Compare two JSON documents and list what changed.
JWT Decoder
Decode JWT header and payload without verifying the signature.
Regex Tester
Run a regular expression against sample text and inspect matches.