Back to blog
July 14, 2026·3 min read·SEO Rank Team

How to Create a Disavow File (And When You Actually Need One)

Google's disavow tool tells search engines to ignore specific backlinks when assessing your site. Here's what it actually does, when it's worth using, and how to build a valid disavow file.

Key SEO parameters to get right

Whatever you're optimizing, these are the fundamentals search engines weigh most.

Title tag & meta description

Unique, keyword-relevant, within character limits

Heading structure (H1–H6)

One clear H1, with logical nesting beneath it

Keyword placement

Present in the URL, title, and first 100 words

Internal & external links

Relevant internal links plus authoritative outbound sources

Page speed & Core Web Vitals

Fast load time, minimal render-blocking resources

Mobile responsiveness

Proper viewport tag and a fully responsive layout

HTTPS & canonical tags

Secure protocol, no duplicate content issues

Structured data & social tags

Schema markup, Open Graph, and Twitter Card tags

What a disavow file is actually for

A disavow file tells Google to discount specific backlinks or entire linking domains when it evaluates your site's link profile. It doesn't remove the links from the web — they still exist, and other search engines and tools still see them — it just asks Google specifically to stop counting them as a signal, positive or negative, for your rankings.

Google has said for years that most sites never need to use it. Their algorithms are generally good at ignoring low-quality links on their own. The disavow tool exists for narrower cases: a manual action tied to unnatural links, or a link profile with a clear pattern of spammy, purchased, or negative-SEO links that's making you visibly nervous about a penalty.

When you actually need one

  • You've received a manual action in Search Console for "unnatural links to your site" — this is the clearest case where disavowing is part of the standard remediation path.
  • You've identified a negative SEO attack — a sudden spike of spammy backlinks from unrelated, low-quality, or foreign-language domains that you never built and can't get removed.
  • You bought links in the past and can't get them taken down after reaching out to the linking sites.

When you probably don't

  • A handful of low-quality links with no ranking impact and no manual action — Google's own guidance is that these are usually already ignored.
  • "Cleaning up" your backlink profile preemptively based on a generic toxicity score from a third-party tool — those scores are estimates, not a signal Google uses, and disavowing good links by mistake can do more harm than the links themselves.

What goes in the file

The format is plain text, one entry per line:

  • A single URL — disavows just that one link: http://spammy-site.com/page-that-links-to-you
  • An entire domain, using the domain: prefix — disavows every link from that domain, present and future: domain:spammy-site.com
  • Comments, prefixed with # — useful for noting why a domain was included, ignored by Google but helpful for your own records.

Domain-level disavows are almost always the better choice when you're dealing with link farms or PBNs, since spammy domains tend to generate many links, not just one.

Common mistakes

  • Disavowing at the URL level when the whole domain is the problem — you'll be back adding more lines from the same domain every month.
  • Disavowing legitimate links out of caution — a link from a real site with declining authority is not the same as a toxic link; don't disavow based on a low third-party score alone.
  • Re-uploading the file instead of appending to it — a new upload in Search Console replaces the previous file entirely, so you need to include everything you've previously disavowed each time.
  • Skipping outreach first — Google recommends trying to get harmful links removed directly before disavowing; treat the tool as a last resort, not a first step.

How to generate one correctly

  1. Compile the list of specific URLs or domains you've confirmed are harmful, ideally after attempting removal outreach.
  2. Use domain: entries for domains with multiple spammy links, and single URLs only for isolated cases on otherwise legitimate sites.
  3. Format as plain .txt, UTF-8 encoded, one entry per line, with # comments as needed.
  4. Upload it through Google Search Console's disavow links tool, scoped to the correct property.

Wrapping up

A disavow file is a narrow, targeted tool for a specific problem — manual actions and clear negative-SEO patterns — not a routine backlink cleanup step. Build the list carefully, favor domain-level entries where the pattern is clear, and generate a properly formatted file rather than hand-writing one line at a time.

#technical-seo#tools#backlinks

Build a valid disavow file in seconds

Generate a properly formatted disavow file from a list of toxic domains or URLs, ready to upload to Google Search Console.

Try the Disavow File Generator