URL Parser

Paste a full URL to see every part structured. Great for redirect debugging, UTM params, and OAuth callbacks.

Privacy: processed locally, never uploaded.

↓ Paste in the input area below to see results instantly

Paste a URL here

Parses protocol, host, path, query params, and hash. Defaults to https if missing.

Output

href

https://towalles.com/tools?q=json&lang=zh-CN#section

protocol

https:

host

towalles.com

hostname

towalles.com

port

(default)

pathname

/tools

search

?q=json&lang=zh-CN

hash

#section

origin

https://towalles.com

param:q

json

param:lang

zh-CN

Notes

Parse notes

Query params are listed with a param: prefix. Useful for API debugging, UTM checks, and routing issues.

Paste a full URL to see every part structured. Great for redirect debugging, UTM params, and OAuth callbacks.

Quick start

  1. Paste URL

    https:// optional; the tool adds it when missing.

  2. Read fields

    Query params appear as param:key entries.

Features and use cases

Break URLs into protocol, host, path, query pairs, and hash—with encode/decode helpers.

Use for OAuth redirects, UTM checks, crawler normalization, and frontend routing bugs.

Works with URL encoder

Parse first to see structure, then encode individual params with the URL encoder.

Typical Workflow

When analyzing callback URLs from third-party services, simply paste them into the input box. The tool automatically highlights key parameters, such as WeChat Pay callback paths or Shopify OAuth return parameters. Perfect for quickly verifying URL structures during debugging.

For marketers, batch-check promotional links with UTM parameters. Results display utm_source/medium fields separately to ensure tracking parameters are correctly embedded. Also shows URL protocol (http/https) to prevent mixed-content security warnings.

Examples

Example

Input

https://towalles.com/tools?q=json#help

FAQ

Parse failed?

Check for illegal characters or raw spaces; try URL-encoding first.

Why does parsing URLs with Chinese parameters show garbled text?

This usually indicates unencoded parameters. First process Chinese text with our URL Encoder tool to ensure percent-encoding (like %20 for spaces), then use this parser for structured results.