Skip to content

URL Validator

Validate URLs and inspect protocol, host, path, query parameters, and hash fragments.

URL Input
Validation Result

Valid URL

https://example.com/docs/api?page=2&utm_source=newsletter#overview

Protocol

https

Host

example.com

Path

/docs/api

Hash

#overview

Query Parameters

page

2

utm_source

newsletter

URL Validator

Validate HTTP and HTTPS URLs with validator.js, then inspect protocol, host, path, query parameters, and hash fragments.

When to use it

  • Check copied links before adding them to docs or tests
  • Inspect redirect URLs and UTM query strings
  • Spot missing protocols or insecure HTTP links

How to use URL Validator

The URL validator checks HTTP and HTTPS URLs with validator.js and shows parsed URL parts for debugging links and redirects.

Developers often use this page when they need url validator, url checker, validate url, and url validator tool.

Privacy and data handling

This tool can handle security-sensitive text, so it is meant for local inspection and test data.

  • Normal use does not require uploading your input to a server.
  • Use redacted tokens, passwords, secrets, headers, and connection strings when possible.
  • Copy buttons use your browser clipboard permission, so clear the clipboard after handling secrets.

Examples

Validate and parse a URL

Input

https://example.com/docs?page=2#intro

Output

Valid URL
protocol: https
host: example.com
path: /docs
query: page=2
hash: #intro

Format validation does not check whether the page is reachable.

Steps

  1. 1Paste a URL or domain.
  2. 2Review the validation result and warnings.
  3. 3Inspect protocol, host, path, hash, and query parameters.

Common use cases

  • Check copied links before sharing them.
  • Inspect redirect URLs and tracking links.
  • Find missing protocols or insecure HTTP links.

Practical tips

  • The tool adds https:// for plain domains before validation.
  • Avoid sharing URLs that contain usernames, passwords, or private tokens.
  • URL format validation does not prove a page is online.

FAQ

Does this check whether the URL is reachable?

No. It validates and parses the URL format in the browser; it does not make a network request.

Why does a domain get https:// added?

The validator checks full HTTP and HTTPS URLs, so plain domains are normalized before parsing.

Related Developer Tools