urltoolskit.org
URL utilities, in the browser
Say hi →

URL validator

strict WHATWG-spec URL syntax check · with exact error position

Validate one URL or a list. Returns valid / invalid with the exact character position of the error. Strict (full spec) and lenient (browser-tolerant) modes.

Ready.

How to use

  1. Paste a URL or a list (one per line).
  2. Pick ModeStrict (rejects anything the spec disallows, even if browsers accept it) or Lenient (matches what Chrome/Firefox accept).
  3. Output table shows each URL, its verdict, and — for invalid ones — the position and reason: position 47: unescaped space, missing scheme, unexpected character ":".
  4. Filter to show only failures; Copy fails dumps them to clipboard for further fixing.

Strict vs. lenient

FAQ

Why are some URLs valid in Chrome but invalid here?

Chrome silently fixes a lot — it lowercases scheme, accepts spaces in paths, encodes them on navigation. Strict mode here matches the spec, not the browser. Use lenient mode for parity.

Does it check DNS / reachability?

No — only syntax. Reachability checks need a server to follow the URL on your behalf.

What schemes does it accept?

Any scheme that starts with letter[letter|digit|+|-|.]*. So https:, mailto:, myapp+v2: all pass the scheme check.

Does the output preserve input order?

Yes — and if you filter to failures, the relative order is preserved.