ToolMochi

URL Parser

Break a URL into protocol, host, port, path, query parameters and hash, with automatic path decoding.

Paste a URL to see its components

This tool runs entirely in your browser. Your input is never uploaded.

How to use

  1. 1Paste a full URL — https:// is added automatically if the scheme is missing
  2. 2Review the protocol, host, port, path and hash
  3. 3Inspect and copy individual query parameters

FAQ

Why does it work without a protocol?

When the input looks like a domain, the tool parses it as https:// so you can quickly paste addresses like example.com/path.

Are query parameters decoded?

Yes. The browser URL API decodes names and values, restoring readable Chinese text and special characters.

Does it request the URL?

No. Parsing happens entirely in your browser with no network requests.

Related tools

JSON Formatter & Validator

Format, minify and validate JSON, compare two payloads path by path, and escape or unescape JSON strings.

Cron Expression Parser

Parse crontab expressions into a plain-language schedule and the next 5 run times.

Base64 Encoder & Decoder

Encode text to Base64 or decode it back to UTF-8, with an optional URL-safe alphabet. Everything runs locally.

URL Encoder & Decoder

Percent-encode or decode URLs and query values, with component, full-URL and form modes.