link building guide

Free Disavow File Generator and Validator

Paste bad URLs or domains and get a clean disavow.txt in Google's exact format, deduplicated and validated. Free, and nothing leaves your browser.

How to use the disavow file generator

  1. Paste the URLs or domains you want to disavow, one per line. A column copied from an Ahrefs, Semrush or Search Console export works as it is.
  2. Leave Disavow whole domains ticked unless you have a reason to target single pages. Spammy sites rarely link from just one URL.
  3. Press Build disavow file, check the summary, then download disavow.txt.
  4. Upload it in Google's disavow links tool for the right Search Console property.

Everything runs in your browser. Nothing you paste is sent to our server.

Before you disavow anything

Google's own guidance is that most sites never need a disavow file. Its systems already ignore most spammy links, so disavowing is for one situation: you have a lot of artificial or low-quality links pointing at your site, and they have caused a manual action or are likely to. Our backlink audit guide walks through how to tell the difference.

Situation Disavow?
You have a manual action for unnatural links Yes, after trying to get the links removed
You bought or built links that break Google's link scheme rules and expect a manual action Probably
Random spammy links you didn't build Usually no, Google ignores them
Low-DR or irrelevant but genuine links No

Google's disavow file rules

The generator checks your file against these rules, from Google's help documentation:

Rule Detail
File type A plain text file ending in .txt, encoded in UTF-8 or 7-bit ASCII
Size Maximum 100,000 lines (blank and comment lines included) and 2MB
One entry per line Either a full URL, or a domain prefixed with domain:
Domains domain:example.com disavows the domain or subdomain
Subpaths You can't disavow a folder such as example.com/blog/, only single URLs or whole domains
URL length Maximum 2,048 characters
Comments Lines starting with # are ignored
Replacing A new upload replaces your previous list for that property
Properties The tool doesn't support Domain properties, and HTTP, HTTPS and subdomain properties need their own lists

Domain or URL: which to use?

A domain: entry covers every link from that site, so it's the safer choice when a site is clearly spam or part of a private blog network. A single URL only covers that one page, which suits a mostly good site with one bad link on it, such as a hacked page.

The short version

  • Most sites never need to disavow, so audit first and only disavow when you have a real link problem
  • Paste URLs or domains, keep "whole domains" ticked, and download a file in Google's exact format
  • The file is limited to 100,000 lines and 2MB, with one URL or domain: entry per line
  • A new upload replaces the old one, so always upload your complete list
  • Nothing you paste leaves your browser