A bulk redirect import rarely fails because the importer is weak. It fails because the list was dirty: lines missing their protocol, a source URL pasted twice with two different destinations, stray spaces from a spreadsheet. The importer then rejects the file, stops halfway, or applies rules you never meant to create.
Preparation is the job, and it is quick. Put the list in a shape a machine can read, run it through a checker, fix what the checker flags, and only then hand it over. This guide walks through that preparation with the free URL List Validator on Ovatly, which checks pasted URL lists for syntax and duplicates entirely in your browser.
Contents
- Quick answer
- Why imports fail on the list, not the tool
- Step one: one URL per line
- Step two: clear every invalid line
- Step three: resolve every duplicate on purpose
- How to prepare the list, step by step
- Worked example: a four-line list
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
To prepare a URL list for a bulk redirect import: get the list into plain text with one URL per line, paste it into the URL List Validator, and work through its report before you import anything. Fix every invalid line (a missing protocol is the usual cause), and resolve every duplicate deliberately, because an import cannot hold two rules for one source. When the report is clean, the list is ready to hand to the importer. The validator certifies the shape of the list only; it never visits the URLs, so it cannot tell you whether a destination page exists.
Why imports fail on the list, not the tool
An importer reads your list literally. It does not know that two lines were meant to be the same page, or that a line without a protocol was a URL at all. Every ambiguity in the file becomes a decision the importer makes for you, or an error that stops the import partway through, leaving some redirects live and others missing.
Cleaning the list first moves those decisions back to you, while they are still cheap. A line fixed in a text file costs seconds. The same line discovered after a migration, when visitors and search engines are already following the rules, costs traffic.
Step one: one URL per line
The validator reads a list the way importers do: one URL per line, plain text. If your URLs live in a spreadsheet, a redirect mapping document or a config file, extract just the source URLs into a plain text list first, one per line, in the order you want to review them.
This step also shakes loose hidden dirt. Spreadsheet cells carry trailing spaces and smart quotes. A plain text list shows you exactly what the importer will see, character for character.
Step two: clear every invalid line
Paste the list into the validator and read the invalid lines first. A line is invalid when it is not a well-formed URL, and the usual cause is a missing protocol: the line names a host and a path but never says https:// or http://. Add the protocol the source actually used and check the line again.
Watch for the separate scheme flag too. A line starting with htp:// is reported as a non-web scheme rather than counted as invalid, because the line is shaped like a URL but names a scheme no browser follows. It is a one-character typo, and it is exactly the kind of line that sails through a visual skim and breaks an import.
Step three: resolve every duplicate on purpose
Duplicates are the dangerous half of the report, because a duplicate source in a redirect list means two rules competing for the same URL. The import cannot hold both. Either it fails, or it keeps one and discards the other, and which one survives is not your choice anymore.
Resolve each duplicate deliberately. Decide which destination that source should point to, keep that line, and delete the other. And remember what counts as a duplicate: the check ignores the fragment, the default port, letter case in the host name and a trailing slash. Two lines that look different in the file can still be the same URL, which is how duplicates hide in long lists.
How to prepare the list, step by step
- Extract the source URLs into a plain text file, one URL per line, and skim it for stray spaces or pasted formatting.
- Open the URL List Validator and paste the whole list in. Thousands of lines are fine.
- Read the counts and the flagged lines. Fix every invalid line, starting with missing protocols, then re-run the check.
- Work through the duplicates one by one. For each repeated source, keep the line with the destination you actually want and delete the rest.
- Run the check one last time. When it reports no invalid lines and no duplicates, the list is ready to pair with its destinations and hand to the import.
Worked example: a four-line list
Paste a short list of four lines into the validator. The report comes back: 3 valid, 0 invalid, 1 duplicate.
Nothing is malformed, so step two is already done. The duplicate is the work: line 3 repeats line 1, so the same source URL appears twice in a list of four. In a redirect import, that is one source asking for two rules. You decide which of the two lines carries the right destination, delete the other, and re-run the check. The report now shows a clean list, and a list this size took under a minute to prepare. A migration list of two thousand lines follows the same loop; it just has more lines to work through.
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, so the tool does not pretend otherwise. A valid line is a well-formed address, not a promise that the page exists, loads, or is the right destination.
It also cannot judge your mapping. If a source URL points at the wrong destination, the line is valid, unique and wrong, and no syntax check will catch it. The validator prepares the list's shape. The correctness of where each redirect goes remains your review, line by line, before the import runs.
Common mistakes
- Importing straight from the spreadsheet. Cells bring spaces, quotes and duplicates with them. Extract to plain text and validate first.
- Fixing invalid lines but skimming duplicates. A duplicate source is the failure that applies the wrong rule quietly. Resolve each one on purpose.
- Assuming different-looking lines are different URLs. Case, a trailing slash, a fragment or a default port do not make a second URL. The duplicate check treats them as one, and so will the import.
- Treating a clean report as a correctness proof. The check certifies shape, not destinations. A valid, unique line can still point at the wrong page.
- Skipping the final re-check. Fixes introduce new typos. Run the validator once more after the last edit, not before it.
FAQs
What does the URL List Validator actually check? Two things only: syntax and duplicates. It reads each line, reports whether it is a well-formed URL, and flags lines that repeat an earlier URL. It never visits, fetches or loads any of the URLs, so it says nothing about whether a page is live.
What usually makes a line invalid?
A missing protocol is the usual cause: a line like example.com/old-page with no https:// in front of it. Other causes are stray spaces and broken characters pasted in from a spreadsheet. A line starting with htp:// is flagged separately as a non-web scheme rather than counted as invalid.
Why do duplicates matter for a redirect import? An import cannot hold two rules for the same source URL, so a duplicated line forces the importer to guess, fail or silently keep one rule. Decide which destination each source should have, delete the extra line, and import a list where every source appears once.
What counts as a duplicate? More than an exact copy. The check ignores the fragment, the default port, letter case in the host name and a trailing slash, so https://Example.com/page/ and https://example.com/page are the same URL for import purposes.
How large a list can I check? Thousands of lines are fine. The check runs locally in your browser on the text you paste, so a full migration list can be cleaned in one pass before you hand it to the importer.
Conclusion
A clean import is decided before the importer ever runs: one URL per line, every invalid line fixed, every duplicate resolved by a person rather than by the tool's guess. The URL List Validator gives you the report to work from, in your browser, with nothing uploaded. The same discipline applies to the other big list a site hands to a machine, which is why our guide on auditing a sitemap URL list before submitting it to Google follows the same loop. For more guides in this series, see our Website and Webmaster Tools guides.
References
- MDN Web Docs, on the URL standard and what makes a URL well-formed: https://developer.mozilla.org/en-US/docs/Web/API/URL
- Google Search Central, on change-of-address and redirect hygiene during site moves: https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes