CalcHive

URL Validator

Validate URL format and structure. Check protocol, hostname, path, query parameters, and fragment. Supports HTTP, HTTPS, FTP, and more.

Examples

Full URL with query

In:https://example.com/path?q=1&lang=en#section

Not a URL

In:not-a-url

FTP URL

In:ftp://files.example.com/public/docs

How to Use URL Validator

  1. Enter a URL in the input field.
  2. Click "Validate" or press Enter.
  3. If the URL is valid, see its parsed components (protocol, hostname, path, etc.).
  4. If invalid, an error message explains why the URL could not be parsed.

URL Structure

A URL (Uniform Resource Locator) follows the format protocol://hostname:port/path?query=value#fragment. The protocol (e.g., https) defines how to connect, the hostname identifies the server, the path points to a resource, query parameters pass data, and the fragment references a section within the page. This tool parses each component so you can inspect and debug URLs easily.

Frequently Asked Questions

Related Tools