Перейти к основному содержанию

Парсер URL

Разбейте URL на его компоненты — протокол, хост, порт, путь, строку запроса, параметры поиска, хеш, учетные данные, поддомен, имя файла и расширение файла.

Ввод

Вывод

Части URL
ЧастьЗначение
No data yet
Это было полезно?

Другие способы использовать этот инструмент

REST API

curl -X POST https://api.iotools.cloud/v1/tool/url-parser \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urlToParse": "https://john:pass@www.example.com:3000/lorem/ips…"
  }'

Подставьте свой собственный ключ из аккаунта. Поля инструмента — это тело запроса, без обёртки.

Спросите у ИИ-агента

Use the IOTools `url-parser` tool (URL Parser) on this input:

YOUR_INPUT_HERE

Вставьте это любому агенту, подключённому к MCP-серверу IOTools, и добавьте свой ввод.

Виджет для встраивания

<iframe
  src="https://iotools.cloud/embed/url-parser/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Парсер URL — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Вставьте это на свою страницу — бесплатно, без ключа, нужна лишь обратная ссылка.

Стоимость вызова API/MCPОт 5 кредитов
Нужно больше кредитов?Посмотреть тарифы

Также доступно через

Руководства

Paste any URL and break it down into every component part — protocol, host, port, path, query string, individual search params, hash, embedded credentials, subdomain, filename and file extension — without reading through the string character by character.

How to use it

  1. Paste a full URL (including its protocol, e.g. https://) into the input.
  2. The table updates automatically with each part, one row per part.
  3. Copy the table or download it as CSV if you need to keep the breakdown.

What each part means

  • Protocol — the scheme, e.g. https:.
  • Host / Hostname / Porthost includes the port if one is present; hostname and port are split out separately.
  • Pathname — everything after the host, before the query string.
  • Search / Search Params — the raw query string, and each key=value pair listed individually.
  • Hash — the fragment after #, if any.
  • Username / Password — credentials embedded in the URL (https://user:pass@host/), if present.
  • Subdomain — everything before the registrable domain, guessed from a bundled list of IANA top-level domains. Left blank when the guess isn't confident (e.g. a bare domain with no subdomain).
  • Filename / File Suffix — the last path segment and its extension, when the path looks like it points at a file rather than a directory.

Does it run on my device?

Yes — parsing happens entirely in your browser using the standard URL API. No URL you enter is sent anywhere.

urluriparserquery stringsubdomaindebugging

Нравятся инструменты? Уберите рекламу.

Один платёж навсегда убирает всю рекламу с вашего аккаунта. Без подписки, без слежки.