URL Validator

Check whether a URL is well-formed and parse its parts instantly in your browser. Free online URL validator — protocol, host, path, and query.

Loading calculator…

Results

Result
DetailValue
Protocol
Host
Port
Path
Query string

What is this calculator for?

Check that a URL is syntactically valid and break it into its components.

How to Use This Calculator

Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.

  1. URL to check — enter a text value. A typical URL to check would be https://example.com/path?q=1.
  2. Review your results — the key output is highlighted, with supporting figures below.

What You'll Need

URL to check
a text value · required

About This Calculator

A valid URL has a scheme (http, https, ftp…), a host, and optionally a port, path, and query string.

This validator parses the URL and reports whether it is well-formed, then shows its protocol, host, port, path, and query so you can inspect exactly what it carries.

It does not make a network request — validation is purely syntactic and runs in your browser.

Worked Examples

Example

Valid URL

Frequently Asked Questions

Does "valid" mean the site actually exists?
No. This only checks the URL’s syntax. Whether the host responds is a separate network check this tool does not perform.
Do I need to type the http:// prefix?
No — a missing scheme is auto-prepended for parsing. The output flags whether a scheme was detected so you know if you should add one.