Backlink CSV Cleaner & Disavow Generator: Cluster Spam

By Linus Li · Updated · Free, runs in your browser

Rate this toolNo ratings yet

Drop a backlink export from Semrush, Ahrefs or Google Search Console (or an existing disavow.txt) into the box below. The tool groups swapped-domain spam anchors into templates, filters platform noise out of outreach lists and validates Google Disavow files locally in your browser.

Key takeaways

  • Replaces swapped domains, URLs, handles and numbers inside anchors so thousands of bulk-generated spam variants collapse into readable templates.
  • Cleans Backlink Gap and competitor exports into one row per domain unit, filtering social networks, URL shorteners, parked-domain marketplaces and high-abuse TLD scraper hosts by default.
  • Checks Google Disavow files against Search Console Help’s 100,000-line, 2 MB, URL-length and domain: syntax rules, blocks self-disavows and blanket platform disavows, and preserves prior Search Console rules.
  • Reads UTF-8, GB18030 and Ahrefs’ UTF-16 tab-separated exports, deduplicates identical link rows across merged files and processes everything locally.

What this tool solves

Cleaning raw backlink exports in a spreadsheet usually stalls on three tasks:

  • Swapped-domain anchor spam: automated link networks rotate dozens of parked or typo-squatted domains inside the same ad sentence (such as <domain> premium backlink building for higher google search positions), splitting one spam wave across hundreds of rows in an Anchors report.
  • Noisy outreach exports: Semrush Backlink Gap and competitor referring-domain exports mix real publications with Facebook, Pinterest, bit.ly, expired-domain marketplaces (hugedomains.com, godaddy.com) and auto-generated .shop directories.
  • Fragile Disavow edits: hand-built disavow.txt files often contain bare domains without domain:, accidentally collapse multi-tenant hosts like blogspot.com to the root platform, or overwrite an older Search Console disavow list.

Supported exports and column formats

Columns are matched using both header names and sample cell values (so numeric columns like Ahrefs’ Referring domains or Search Console’s Linking pages are never mistaken for URLs), with manual overrides in “Detected columns”:

Source Supported exports Format details handled automatically
Semrush Backlinks, Anchors, Referring Domains, Backlink Gap, Backlink Audit Reads boolean Nofollow columns, numeric Follow links / Nofollow links columns, Page ascore, IPv4 addresses inside Country / IP, and Matches counts
Ahrefs Backlinks, Referring domains, Anchors Decodes UTF-16LE (“For Microsoft Excel”) and tab-separated files, separating Referring page URL from the numeric Referring domains column
Google Search Console External links exports (Latest links, Top linking sites / Site, Top linking text / Link text) Handles single-column or multi-column link tables without misclassifying URL CSVs as Disavow files
Existing disavow.txt or plain lists Prior Google Disavow files, newline-separated URLs or domain lists Keeps # comments and existing subdomain or http(s):// URL scope intact while adding domain: to bare hostnames

When you drop multiple files together (such as several competitor CSVs or a backlink CSV alongside an existing disavow.txt), disavow.txt files are routed automatically into the merge box and duplicate link rows are skipped.

How the four tabs work

1. Anchor Template Clusters

Each anchor is lowercased and normalized by replacing full URLs, @handles, embedded domain names (excluding code/file extensions such as .js or .css), optional brand terms and numbers with <url>, <handle>, <domain>, <brand> and <n> placeholders.

Templates are flagged as “Template spam” only when they match explicit link-selling ad phrases or swap <domain> / <handle> tokens across at least 3 variants and 5 referring domains, preventing false positives on numbered footnotes ([1]) or year-updated titles (2025 / 2026). For the 15-site breakdown of these 6 ad templates and the 243M-domain .shop network behind them, see Referring Domains Doubled: Semrush .shop Spam Wave (2026).

2. Outreach List Cleaner

Built for Backlink Gap and competitor link prospecting, this tab rolls rows up to one entry per domain unit (supporting multi-part country suffixes such as .co.uk, .com.au, .com.co and .co.th while preserving tenant subdomains on blogspot.com, github.io and substack.com) with three default cleanup toggles:

  1. Non-outreach platforms: removes major social networks, search engines, URL shorteners, GitHub / Wikipedia and domain marketplaces (hugedomains.com, godaddy.com, sedo.com) that appear via expired-domain redirects.
  2. High-abuse TLDs and scraper hosts: removes bulk-abused TLDs (.shop, .xyz, .store, .site, .online, .space, .website, .top, .icu) and domains stitched together from SEO tool keywords (dapachecker, backlinkchecker, quickseoanalyzer).
  3. Media, community & .org/.edu with Nofollow: Ahrefs’ 2025 correlation study of 75,000 brands reported a 0.664 correlation between web brand mentions and AI Overviews visibility versus 0.218 for backlink counts. Correlation does not prove causation (evidence grade D), and Google has not confirmed any special link signal for AI answers; however, publications, review roundups and Reddit discussions often default to nofollow while discussing brands. If an export has no Follow/Nofollow column (such as a raw Backlink Gap CSV), this dropdown is disabled automatically.

3. Disavow Builder & Validator

Per Google Search Console Help (evidence grade A), most websites do not need to disavow links. Google’s 2016 Penguin 4.0 announcement and December 2022 SpamBrain link spam update state that unnatural links are devalued or ignored algorithmically, though manual actions for unnatural links still exist.

Build a disavow.txt file only when you have a considerable number of spammy, artificial or low-quality links AND they have caused, or likely will cause, a manual action:

  1. Review and check template-spam clusters in Tab 1, then toggle whether to include high-Toxicity or low-score scraper rules in Tab 3. If a high-authority or mixed-link site only has an isolated spam comment (below 80% of its rows in the file), the tool skips domain-wide domain: rules for that site to avoid disavowing clean links.
  2. Add partner sites and publications to the whitelist box; entering your own domain at the top also blocks self-disavows alongside root-level disavows of public platforms like google.com or blogspot.com.
  3. Paste any previous Search Console disavow.txt into the merge box so prior subdomain and URL rules are preserved without being overwritten.
  4. Download the UTF-8 (BOM-free) disavow.txt file and upload it to a URL-prefix property in Google’s Disavow Tool (Domain properties are not supported; upload separately if both http:// and https:// properties are active).
Google Disavow specification limits and tool normalization rules
  • Official Search Console limits (evidence grade A): maximum file size 2 MB (2,097,152 bytes), maximum 100,000 lines including comments and blank lines, and maximum 2,048 characters per URL. Downloads are disabled if limits are exceeded.
  • Allowed line syntax (evidence grade A): domain:example.com, a full http:// or https:// URL, or a full-line comment starting with #.
  • Tool normalization logic: adds domain: to bare hostnames; converts schemeless URLs with paths (example.com/spam.html) to https:// page rules rather than widening them to the whole domain; strips inline # comments and *. wildcards; and converts internationalized domain names (IDNs) to ASCII Punycode (xn--).

4. TLDs & IP Subnets

When an export includes IP addresses (such as Semrush’s Country / IP column), referring domains are grouped by IPv4 /24 subnet (matching the first three octets). Dozens of domains on one non-CDN /24 subnet with matching discovery dates and anchor templates often belong to one network; shared Cloudflare ranges (104.21.x.x, 172.67.x.x) appear on unrelated sites and should be checked alongside registration and anchor data. Pair this check with What AI Crawlers See to inspect how crawlers access your own pages.

Evidence grades

Diagnostic findings use the same four-level scale as the other tools on this site:

  • A Confirmed: Google Search Console Help documentation, official Google Search blog posts or documented vendor specifications.
  • B Documented: court filings or verified API responses.
  • C Patented: patents or academic papers.
  • D Tool rule / Study: heuristic clustering and cleanup rules in this tool, or third-party correlation studies.

FAQ

No. File decoding, anchor clustering, prospect filtering and Disavow validation run entirely in your browser. Nothing is uploaded to this site or any third party. Only if you click an Ask AI button does your browser copy a sanitized summary into your clipboard or the selected AI chat link.

Should I disavow every template-spam cluster this tool finds?

Usually not. Google Search Console Help states that you should disavow links only when you have a considerable number of spammy, artificial or low-quality links AND those links have caused, or likely will cause, a manual action. Check Search Console’s Manual actions report first.

Why do I need to merge my old Disavow file before uploading a new one?

Uploading a file in Google’s Disavow Tool replaces the entire list previously uploaded for that property. Pasting your existing disavow.txt into the merge box preserves your prior subdomain and URL entries in the new file.

Why review nofollow media and community domains when cleaning an outreach list?

Publications, review roundups, Reddit threads and associations often mark external links nofollow by default. Even without passing classic link equity, those pages frequently contain third-party discussions of brands, making them useful targets for PR and GEO outreach.

Further reading

Scan with WeChat to follow my official account (in Chinese)

Scan with WeChat to follow my official account (in Chinese)