URLパーサー
URLをプロトコル、ホスト、ポート、パス、クエリ文字列、検索パラメータ、ハッシュ、認証情報、サブドメイン、ファイル名、ファイル拡張子などの部分に分解します。
入力
出力
URLの部分
| 部分 | 値 |
|---|---|
| No data yet | |
役に立ちましたか?
ガイド
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
- Paste a full URL (including its protocol, e.g.
https://) into the input. - The table updates automatically with each part, one row per part.
- 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 / Port —
hostincludes the port if one is present;hostnameandportare split out separately. - Pathname — everything after the host, before the query string.
- Search / Search Params — the raw query string, and each
key=valuepair 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
Use it from code
From 3 credits per callREST 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…"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `url-parser` tool (URL Parser) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.