URL Port

Extract host and port.

Reads hostname and effective port from a URL. Unlike Host Port Split this accepts full URLs. Unlike Well-Known Port this extracts, not names. Bad URL fails.

What URL Port does

Reads hostname and effective port from a URL. Unlike Host Port Split this accepts full URLs. Unlike Well-Known Port this extracts, not names. Bad URL fails.

The interactive controls for URL Port load after this article so crawlers still read the instructions. Path /network/url-port is the canonical address. Work happens on this device; Tool-You does not take a copy of the file or pasted text for URL Port.

How to use URL Port

  1. Keep this tab on URL Port (/network/url-port). Pasting into the wrong Network tool (for example Host Port Split) changes the job.
  2. Paste or type the input URL Port expects. Path hint: network · url port. Extract host and port.
  3. Apply the URL Port action only. URL Hostname is a different transform (Extract host and port.). Reads hostname and effective port from a URL. Unlike Host Port Split this accepts full URLs. Unlike Well-Known Port this extracts, not names. Bad URL fails.
  4. Copy the output of URL Port if you need it elsewhere. Size/complexity still follows: URL in, host and port out.
  5. If the text job is actually Split host:port; optional default port., leave URL Port and open Host Port Split.

When not to use URL Port

Skip URL Port when a neighbor tool matches better — start with Host Port Split or URL Hostname — or when the description already warns the job will fail. In the tool’s own words: Reads hostname and effective port from a URL. Unlike Host Port Split this accepts full URLs. Unlike Well-Known Port this extracts, not names. Bad URL fails.

Questions about URL Port

What does URL Port do that other Network pages on this site do not?
Reads hostname and effective port from a URL. Unlike Host Port Split this accepts full URLs. Unlike Well-Known Port this extracts, not names. Bad URL fails. Short version: Extract host and port.
Does URL Port upload my file or text to Tool-You servers?
No. URL Port runs in this browser tab. Files stay on the device. Limit note: URL in, host and port out.
Should I use Host Port Split instead of URL Port?
Use URL Port when you need Extract host and port. Use Host Port Split when you need Split host:port; optional default port. They share a category (Network) but not the same job.
What are the limits of URL Port?
URL in, host and port out. Also: Reads hostname and effective port from a URL. Unlike Host Port Split this accepts full URLs. Unlike Well-Known Port this extracts, not names. Bad URL fails.