./prontouso.com
WEB & MẠNG

Phân Tích Cấu Trúc URL

Tách và phân tích chi tiết mọi thành phần trong đường dẫn URL: Protocol, Hostname, Port, Pathname, Query Parameters (dạng bảng có thể chỉnh sửa) và Hash Fragment.

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước

URL Parser

Kết quả

Protocolhttps:
Hostexample.com:8080
Hostnameexample.com
Port8080
Path/path/to/page
Query string?query=123
Fragment#section
Usernameuser
Passwordpass

Query parameters

query123

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

Phân Tích Cấu Trúc URL là gì?

Paste any URL to see its protocol, host, path, query parameters, and fragment listed separately.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

How to break a URL into its parts

What each part means

  • Protocol — the scheme, such as https:.
  • Host — hostname plus port, if one is set.
  • Path — everything after the host, before the query string.
  • Query string — the part after ?, also broken down parameter by parameter.
  • Fragment — the part after #, used for in-page anchors.

URLs without a protocol

A browser's URL parser requires a scheme to work at all. If you paste something like "example.com/path" with no https:// or http://, this tool assumes https:// so it still parses — a note appears when that happens.

How to use it

  • Paste or type a URL into the input box.
  • Every component updates immediately below.
  • Any query parameters appear in their own table.

Bare domain example

Assumed scheme

If you enter example.com/path?x=1, the parser retries it as an HTTPS URL so hostname, path, and query parameters can still be inspected.

example.com/path?x=1 -> https://example.com/path?x=1

URL parsing notes

The parser uses the browser URL API and assumes https:// for bare hosts. It does not open, fetch, or validate the destination.

Các Câu Hỏi Thường Gặp (FAQ)

Why does it add https:// automatically?

Because the underlying URL parser can't interpret a URL with no scheme at all. Assuming https:// (today's overwhelming default) lets a bare domain still be inspected, with a note shown so it's clear a guess was made.

Does it decode percent-encoded characters?

The path and query values are shown as the browser's URL parser exposes them, which already decodes standard percent-encoding in most fields.

Is the URL I paste sent anywhere?

No. Parsing happens locally using the browser's own URL API; nothing is sent to a server.

Does parsing a URL send a request?

No. It only uses the browser URL parser. The destination is not opened or fetched.

Công Cụ Liên Quan