A list of URLs looks harmless right up until something tries to use it. A redirect import rejects the file. A sitemap submission reports errors. A script quietly skips half the rows. Usually the list is not full of exotic problems. It is full of small typing damage: a missing protocol here, a trailing space there, one scheme typed as htp:// instead of https://.

This guide covers the invalid URL mistakes that break lists most often, how to catch each one with the free URL List Validator on Ovatly, and how to fix each line. The validator runs in your browser and checks syntax and duplicates only.

Contents

  • Quick answer
  • What the flags mean: invalid, non-web scheme, duplicate
  • Mistake 1: a missing protocol
  • Mistake 2: spaces carried in by copy and paste
  • Mistake 3: broken and stray characters
  • Mistake 4: the htp:// typo
  • How to check a list, step by step
  • Worked example: a four-line list with two problems
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Paste your list into the URL List Validator, one URL per line, and read the flags. An invalid line usually just needs its protocol added. A non-web scheme line is shaped like a URL but starts with a scheme other than http or https, so fix the scheme. A duplicate repeats an earlier line. The tool checks syntax and duplicates only, and never visits the addresses, so a clean report means the list is well formed, not that every page exists.

What the flags mean: invalid, non-web scheme, duplicate

The validator sorts every line into one of a few outcomes, and each points at a different repair.

A valid line parses as a URL with a web scheme. An invalid line does not parse as a URL at all: its shape is broken, most commonly by a missing protocol. A non-web scheme line does parse, but its scheme is not http or https, which almost always means a typo in the scheme itself. A duplicate repeats an earlier address. Duplicate detection ignores the cosmetics: the fragment (the part after #), the default port, letter case in the host, and a trailing slash, so lines differing only in those details still count as the same URL.

Mistake 1: a missing protocol

Type a bare domain and path, such as example.com/about, into a browser and it works, because browsers guess. Lists do not get that courtesy. Importers, sitemap parsers and scripts read each line literally, and a line with no scheme is not a URL, it is a relative path. The validator reports it as invalid, and this is the usual cause.

The check: look at the invalid lines first. The fix: add https:// (or http:// where that is the real address) at the front. Do not add it blindly to every flagged line: one that already carries a scheme and is still flagged has a different problem, covered below.

Mistake 2: spaces carried in by copy and paste

Lists are rarely typed by hand. They are copied out of documents, emails and spreadsheets, and the copy carries passengers: a leading space, a trailing space, sometimes a tab. A space is not a legal character inside a URL, so the pasted line no longer matches the shape of one.

The check: if a line looks identical to its neighbour but one is flagged, suspect invisible characters. The fix: retype the line, or trim it in a text editor, rather than editing around the space. Spaces also sneak into the middle of URLs that wrapped across two lines in a document; those need rejoining into one.

Mistake 3: broken and stray characters

Documents mangle URLs in quieter ways too. Autocorrect swaps characters, a PDF export drops or substitutes a symbol, a copied line picks up a stray bracket or quote at the end. Any character that does not belong breaks the line's shape, and the validator reports it as invalid even when the address is real.

The check: compare the flagged line character by character against the address in the browser's address bar on the live page. The fix: paste the URL fresh from the browser rather than repairing the damaged copy by eye, which is how a second error replaces the first.

Mistake 4: the htp:// typo

One mistake earns its own flag. A line starting with htp:// is not reported as invalid. The validator flags it as a non-web scheme, and the distinction is useful: the line is shaped like a URL and parses, but the scheme is not http or https.

That tells you the repair is two characters, not a rewrite. The line does not need a protocol added; it needs its existing scheme corrected. Invalid means rebuild the line's shape; non-web scheme means fix the one word at the front. The same flag catches other scheme typos and stray non-web schemes, such as a file path pasted into the wrong column.

How to check a list, step by step

  1. Paste your list into the URL List Validator, one URL per line.
  2. Run the check and read the counts: valid, invalid, duplicated, non-web scheme.
  3. Fix invalid lines first: add a missing protocol, trim spaces, replace damaged characters.
  4. Fix scheme flags by correcting the scheme itself.
  5. Settle the duplicates: keep one copy of each address, unless the list is supposed to repeat it.
  6. Run the corrected list again and confirm it comes back clean before handing it to an importer, a sitemap or a script.

Worked example: a four-line list with two problems

Take a four-line list. The validator reports 3 valid, 0 invalid and 1 duplicate, because line 3 repeats line 1. Nothing is malformed; the only repair is deleting the repeated line.

Now add a fifth line that starts with htp://. It does not join the invalid count. It is flagged separately as a non-web scheme, because the rest of the line is a well formed URL with the wrong scheme. Correct the scheme to https:// and the line turns valid. Two problems, two different flags, two different fixes: that is why the flags matter more than the total.

Limitations and honest tradeoffs

The validator checks syntax and duplicates, and nothing else. It never visits or fetches the URLs you paste: browser CORS rules mean a pasted list cannot be live-tested from a web page anyway. So it cannot tell you whether a valid URL loads, redirects, or returns a 404. A perfectly valid line can point at a page deleted last year.

Treat a clean report as proof the list is well formed and free of repeats, which is what importers and parsers need. Whether the pages are alive is a separate check, with different tools. The validator runs fully locally, so internal or unreleased addresses are never sent anywhere.

Common mistakes

  • Adding a protocol to every flagged line. A scheme flag needs the scheme corrected, not a second protocol stacked in front of the typo.
  • Deleting a duplicate that only looks repeated. If the difference is only the fragment, host case or a trailing slash, it really is the same address.
  • Trusting a list copied from a PDF or document. Wrapped lines and substituted characters are routine; validate after every copy.
  • Assuming valid means alive. The validator never opens the addresses. A clean list can still contain dead pages.
  • Fixing lines by eye. Long URLs hide damage. Paste fresh from the browser.

FAQs

Why does the validator say my URL is invalid? The usual cause is a missing protocol: a bare domain and path is a relative path, not a URL. Spaces from copy and paste, and stray or substituted characters, break a line's shape in the same way.

What does the non-web scheme flag mean? The line is shaped like a URL, so it parses, but its scheme is not http or https. The classic case is a typo such as htp://. The fix is to correct the scheme, not to add a protocol or rewrite the line.

Why was a line counted as a duplicate when the two URLs look different? Duplicate detection ignores the cosmetic differences: the fragment, the default port, letter case in the host and a trailing slash. Two lines that differ only in those details are the same address.

Does the validator open the URLs to check them? No. It never visits or fetches the addresses, and browser CORS rules would prevent live testing of a pasted list anyway. It checks syntax and duplicates only, entirely in your browser.

How large a list can I check? Thousands of lines are fine. The check runs locally on your device.

Conclusion

A broken URL list is rarely broken in interesting ways. Add the missing protocols, trim the pasted spaces, replace damaged lines with fresh copies, and read the scheme flag as the two-character fix it usually is. Run the URL List Validator before the list goes anywhere that reads it literally. If the list exists because the site is about to move, our companion guide on how to validate URLs before a site migration covers the workflow end to end. For more in this series, see our Website and Webmaster Tools guides.

References