How to Clean a Backlink Export in a Spreadsheet

A raw backlink export is mostly noise. Cleaning it in a spreadsheet turns thousands of rows into a short list of domains worth keeping, fixing, or disavowing.
Quick answer: To clean a backlink export in a spreadsheet, merge your exports from Google Search Console, Ahrefs, and Semrush into one sheet, standardize the columns, and dedupe by referring domain rather than by link. Sort by domain rating, flag low-quality and toxic domains, review them by hand, and export only the domains you want to disavow. The finished sheet should be a short decision list, not a dump of every URL.
TL;DR: A backlink export is a starting point, not an answer. One domain can link to you a thousand times, so counting links misleads you. Dedupe by domain, score what is left, and decide domain by domain. The spreadsheet is the command center, and the disavow file is the last step, not the first.
Key takeaways
- Google Search Console is the most critical free source for a backlink audit, according to the Webbb guide to conducting a backlink audit, and the spreadsheet is the command center where the data comes together.
- Consolidate exports from Search Console, Ahrefs, Semrush, and Moz before you clean anything, according to the BacklinkExchange guide to performing a backlink audit.
- Dedupe by unique referring domain, according to the same BacklinkExchange guide, because domain-level grouping avoids the distortion of sitewide footer links.
- In Ahrefs, filter referring domains to dofollow and use one link per domain, according to the AEO Engine guide to importing Ahrefs domains into Semrush.
- A disavow file may hold at most 100,000 lines and 2 MB, and it uses domain: syntax, according to the LinusSEO backlink cleaner guide.
- If counts from two tools differ by more than 5 percent, check for errors, according to the AEO Engine guide, because a large gap usually means a bad export or a bad filter.
Start with every source, not one
No single tool sees your whole backlink profile. Google Search Console shows the links Google knows about, Ahrefs and Semrush each crawl the web differently, and Moz adds a third view. According to the BacklinkExchange guide to performing a backlink audit, you should consolidate exports from Search Console, Ahrefs, Semrush, and Moz before you start cleaning, because each source misses links the others catch.
Google Search Console is the free starting point. According to the Webbb guide to conducting a backlink audit, Search Console is the most critical free source for an audit, and the spreadsheet is the command center where the data comes together. Go to the Links report, open Export External Links, and download the top linking sites and the top linked pages. That export is the ground truth for what Google sees.
Export all columns from every tool, not just the URL and the domain rating. According to the Webbb guide, you should export all columns, because the fields you ignore now are the ones you will need later: anchor text, first seen date, last seen date, link type, and whether the link is dofollow. A thin export forces you to go back and re-export, which wastes more time than the extra columns cost.
Name each export with its source and its date, and keep the raw files untouched. Your cleaned sheet is a copy, and the raw exports are your audit trail. If a number later looks wrong, you need to be able to open the original file and check it.
A proper audit tool helps, but the spreadsheet does the cleaning. Our guide to the best backlink audit tools compares the tools that produce the exports you will clean.
Standardize the sheet
Exports arrive in different formats, and the first job is to make them match. Ahrefs exports are tab-separated and encoded in UTF-16, according to the LinusSEO backlink cleaner guide, which means a plain paste into a sheet can turn into one long column of garbage. Import the file through your spreadsheet's import menu and choose tab-separated and UTF-16, and the columns will land correctly.
Build one schema for all sources. The columns you need are referring domain, linking URL, target URL, anchor text, dofollow or nofollow, domain rating, first seen, and last seen. Add a source column that records where each row came from, and a notes column for your decisions. Everything else is optional, and optional columns are the ones that slow the sheet down.
Normalize the domain column first. Strip the protocol, strip www, lowercase everything, and remove trailing slashes, so that Example.com, https://www.example.com, and example.com/ all become one domain. A dedupe that runs on unnormalized domains will miss half the duplicates, and you will make decisions on a dirty list.
Check for encoding damage before you trust the sheet. Look for question marks inside domain names, for rows that merged two columns into one, and for anchor text that shows as symbols. A sheet with encoding errors will fail a dedupe silently, and you will not notice until the disavow file is wrong.
| Export source | File format | Key columns to keep |
|---|---|---|
| Google Search Console | CSV from Links report | Linking site, target page, link count |
| Ahrefs | UTF-16 tab-separated | Referring domain, DR, anchor, dofollow |
| Semrush | CSV from Backlink Analytics | Referring domain, authority score, anchor |
| Moz | CSV from Link Explorer | Linking domain, domain authority, anchor |
Monitoring catches new links after the clean-up. Our guide to the best backlink monitoring tools covers the tools that watch your profile once the sheet is tidy.
Dedupe by domain, not by link
One domain can link to you a thousand times, and that is the trap in every raw export. A sitewide footer link appears once per page, so a single small blog can fill your sheet with hundreds of rows. According to the BacklinkExchange guide, you should dedupe by unique referring domain, because domain-level grouping avoids the distortion that sitewide footer links cause.
Use your spreadsheet's dedupe function on the referring domain column. In Google Sheets, the Remove Duplicates command does the job, and the UNIQUE function builds a clean list in a new sheet. In Ahrefs, filter the Referring Domains report to dofollow and use the one link per domain view, according to the AEO Engine guide to importing Ahrefs domains into Semrush, which gives you one row per domain before you even export.
Keep the best row for each domain. When you dedupe, keep the row with the highest domain rating, the most recent last seen date, and the clearest anchor text, and delete the rest. If a domain links to you from both a good page and a spammy page, keep the good row and note the bad one in your notes column, because the domain-level decision comes later.
Count domains, not links, from this point on. A profile with hundreds of linking domains and thousands of links is a different shape from a profile with a few dozen domains and the same number of links, and the second one is far more fragile. The domain count is the number that tells you whether your profile is diverse or dependent on a few sites.
Google Search Console is the source you should understand first. Our Google Search Console overview explains the Links report and what each export contains.
Score, flag, and decide
With one row per domain, score what is left. In Ahrefs, sort by domain rating and remove domains below 10 unless they are relevant to your niche, according to the AEO Engine guide. A low rating alone is not a reason to disavow, but it is a reason to look. A relevant local blog with a low rating is a good link, and a high-rating domain full of spam is a bad one.
Check the anchor text for patterns. A domain that links to you a hundred times with the same exact-match money anchor is a risk, while a domain with varied branded and natural anchors is normal. A domain whose anchor text is in a language you do not operate in, or whose links point only at a page you deleted years ago, deserves a closer look.
Use a toxic score as a triage flag, not a verdict. According to the AEO Engine guide, importing an Ahrefs export into the Semrush Backlink Audit tool and recalculating the toxic score takes 10 to 30 minutes, and the score then flags the domains that need a human review. Do not disavow on the score alone. Open the domain, look at the page, and decide whether a real person would ever link to you from there.
If the counts from two tools disagree, stop and check. According to the AEO Engine guide, counts that differ by more than 5 percent mean you should check for errors, because a large gap usually means a bad export, a bad filter, or a different date range. Fix the export before you trust the sheet.
Links and referring domains are different things, and the distinction drives the whole clean-up. Our guide to backlinks versus referring domains explains why the domain count is the number that matters.
Build the disavow file last
Only the domains you have reviewed by hand belong in a disavow file. A disavow file tells Google to ignore links, and a wrong entry removes a good link you cannot easily win back. Disavow the domains that are clearly manipulative, clearly hacked, or clearly part of a link scheme, and leave the rest alone. When in doubt, leave it out.
Format the file to Google's rules. According to the LinusSEO backlink cleaner guide, a disavow file may hold at most 100,000 lines and 2 MB, and it uses domain: syntax, so each line reads domain:example.com. Add a comment line above each group explaining why the domain is there, because a future you will need to know what you were thinking.
The LinusSEO cleaner also filters out the noise automatically, according to the same guide, including social networks, URL shorteners, parked-domain marketplaces, and high-abuse top-level domains. Those filters are a useful first pass, but they are not a substitute for review. A parked domain is easy to spot, and a hacked legitimate site is not.
Upload the file in Search Console, then record the date and the domains in your sheet. A disavow is not instant, and you will want to know what you submitted and when, so that a later ranking change can be traced back to it. Keep the old disavow file as a backup before you upload a new one.
Frequently Asked Questions
How do I dedupe a backlink export in Google Sheets?
Normalize the referring domain column first, then use Data and Remove Duplicates on that column, or use the UNIQUE function to build a clean list in a new sheet. According to the BacklinkExchange guide, you should dedupe by unique referring domain, because domain-level grouping avoids the distortion of sitewide footer links.
Why is my Ahrefs export showing as one column?
Ahrefs exports are tab-separated and encoded in UTF-16, according to the LinusSEO backlink cleaner guide. Import the file through the import menu and choose tab-separated and UTF-16, and the columns will land correctly. A plain paste will not work.
Should I disavow every domain with a low domain rating?
No. In Ahrefs, sort by domain rating and remove domains below 10 unless they are relevant, according to the AEO Engine guide, but a low rating alone is not a reason to disavow. A relevant local blog with a low rating is a good link.
How big can a disavow file be?
A disavow file may hold at most 100,000 lines and 2 MB, and it uses domain: syntax, according to the LinusSEO backlink cleaner guide. Most disavow files are far smaller, because only domains you have reviewed by hand belong in one.
My tools disagree on how many backlinks I have. Which is right?
Neither, until you check the exports. According to the AEO Engine guide, counts that differ by more than 5 percent mean you should check for errors, because a large gap usually means a bad export, a bad filter, or a different date range.
Expert verdict
According to the LinusSEO backlink cleaner guide, a disavow file may hold at most 100,000 lines and 2 MB, and it uses domain: syntax, so a cleaned export should end as a short list of domains, not a dump of every URL.
Best for: Anyone who has never cleaned a backlink profile, or anyone preparing a disavow file. A spreadsheet clean-up is the cheapest way to understand what is really linking to you, and it takes an afternoon, not a consultant.
Not for: Anyone who wants a one-click answer. A spreadsheet will not tell you which domains to disavow, and a toxic score is a flag, not a verdict. If you disavow on autopilot, you will remove good links.
Pros: Free, transparent, and repeatable. You see every domain, you make every decision, and you keep an audit trail that a tool's black box will never give you.
Cons: Slow, manual, and error-prone at scale. A profile with tens of thousands of domains needs a tool to triage first, and a spreadsheet will not catch a hacked site without a human looking at it.
Bottom line
Clean a backlink export by merging every source, standardizing the columns, and deduping by domain. Score what is left, review the flags by hand, and disavow only the domains you are sure about. The finished sheet is a short decision list, and that list is the real value of the audit.
A clean profile is easier to budget for. Our guide to how to build a link building budget shows how to plan spend once you know what you have.
Check that the links you keep are actually in your profile. Our backlink checker shows which domains link to you and whether the links are live.
Domain rating is the score most cleaners sort by. Our guide to what domain rating is explains what the number measures and where it misleads.
Sources
The BacklinkPrice Team researches backlink prices, publisher sites and link building tools. We check prices and plans against each provider's own pages and date them, so you know how current the numbers are.
More from BacklinkPrice TeamRelated guides





