Chuyển đến nội dung chính

Công cụ phân tích URL

Công cụ cho Nhà phát triển

Tách giao thức/máy chủ/tham số truy vấn

Xem nhanh kết quả

URL Parser: Split protocol/host/query params. URL Parser uses standard developer formulas to compute accurate results instantly.

Bộ phận cấu thành

Giao thứchttps
Tên người dùnguser
Mật khẩu••••••
Tên máy chủapi.example.com
Cổng8080
Đường dẫn/v1/search
Chuỗi truy vấn?q=calculator&lang=zh
Điểm neo#page-2
Nguồnhttps://api.example.com:8080

Query parameters (2)

KeyValueURL-encoded
qcalculatorcalculator
langzhzh

Giải thích phân tích

  1. 1Parsed by WHATWG URL Standard: scheme "https" → authority "api.example.com:8080" → path "/v1/search"
  2. 22 query parameter(s) decoded (percent-decoding + UTF-8)
  3. 3Cổng sẽ bị bỏ qua khi bằng giá trị mặc định của giao thức (https 443, http 80)
Trong trình duyệt dùng new URL() / URLSearchParams — không bao giờ dùng split("&") để phân tích chuỗi truy vấn thủ công. Ký tự bảo tồn trong giá trị tham số (: / ? # [ ] @) cần thoát bằng encodeURIComponent. Điểm neo (#…) không bao giờ gửi đến máy chủ.

Công cụ này có hữu ích cho bạn không?

Hướng dẫn sử dụng

  1. Paste or type content: drop code/text into the URL Parser or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Điểm chính

  • URL Parser is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Split protocol/host/query params.
  • Results come with formulas and reference tables so you can verify every number.

Công thức và nguyên lý hoạt động

URL Parser formula

URL Parser uses standard developer formulas to compute accurate results instantly.

Câu hỏi thường gặp

How do I use the URL Parser?
Open the page and fill in the input fields — results update automatically. Split protocol/host/query params.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

Công cụ liên quan

Hướng dẫn liên quan

Nguồn và cập nhật

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Cập nhật gần nhất:

Công thức và nội dung trên trang này đã được đội ngũ YiJianSuan kiểm tra lại, chỉ dùng để tham khảo học tập, các nghiệp vụ thực tế vui lòng tuân theo thông báo chính thức.

Nội dung được đội ngũ biên tập YiJianSuan duy trì và kiểm tra lại định kỳ, quy trình cập nhật và kiểm duyệt xem tạiQuy định biên tập.

Trích dẫn trang này: YiJianSuan. Công cụ phân tích URL[EB/OL]. https://www.yijiansuan.com/vi/c/dev/url-parser

Kết quả do công cụ này cung cấp chỉ mang tính tham khảo, không cấu thành bất kỳ lời khuyên chuyên nghiệp nào, vui lòng dựa trên kết quả tính toán chính thức.