URL Parser

解析协议、主机、端口、路径、查询参数与锚点;支持整段 URL 的 encodeURI / decodeURIComponent 辅助。

What Is a URL Parser?

A URL parser is an online URL analysis tool that splits a URL into protocol, username, password, host, port, path, query parameters and anchor, and lists Query key-value pairs separately. It also provides encodeURI / decodeURIComponent helpers for the whole URL.

Main Features

  • Parse protocol, host, port, path, query parameters and anchor
  • Automatically prepend a missing scheme such as http:// before parsing
  • List Query key-value pairs separately for easy review
  • Encode and decode URLs with one click

Use Cases & Notes

Suitable for API debugging, URL validation and link structure analysis. Passwords are masked in the output to avoid leaking plain text.

How to Use

  1. Paste the URL to parse
  2. Click Parse to view every component and the Query parameters
  3. Use the Encode and Decode buttons when needed