Перейти до основного вмісту

Розділення протоколу/хоста/параметрів запиту

Швидкий перегляд відповіді

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

Складові частини

Протоколhttps
Ім'я користувачаuser
Пароль••••••
Ім'я хостаapi.example.com
Порт8080
Шлях/v1/search
Рядок запиту?q=calculator&lang=zh
Якірна точка#page-2
Джерелоhttps://api.example.com:8080

Query parameters (2)

KeyValueURL-encoded
qcalculatorcalculator
langzhzh

Опис аналізу

  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. 3Порт опускається, коли дорівнює значенню за замовчуванням протоколу (https 443, http 80)
У браузері використовуйте new URL() / URLSearchParams — ніколи не розбирайте рядок запиту вручну за допомогою split("&"). Зарезервовані символи в значеннях параметрів (: / ? # [ ] @) потрібно екранувати за допомогою encodeURIComponent. Якір (#…) ніколи не надсилається на сервер.

Чи був цей інструмент корисним для вас?

Як користуватися

  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.

Основні моменти

  • 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.

Принципи та формули

URL Parser formula

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

Поширені запитання

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.

Пов'язані інструменти

Переглянути всі 55 інструментів цієї категорії →

Пов'язані посібники

Джерела та оновлення

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

Останнє оновлення:

Формули та вміст цієї сторінки перевірені командою YiJianSuan. Вони призначені лише для навчання та довідки – для реальних справ орієнтуйтеся на офіційні дані.

Вміст підтримується та періодично перевіряється редакційною командою YiJianSuan – процес оновлення та перевірки див. уПолітика редагування.

Цитувати цю сторінку: YiJianSuan. Парсер URL-адрес[EB/OL]. https://www.yijiansuan.com/uk/c/dev/url-parser

Результати, надані цим інструментом, призначені лише для довідки і не є професійною консультацією. Орієнтуйтеся на офіційні розрахунки.