Disavow File Guide

Disavow File Guide: How to Remove Harmful Backlinks and Protect Your Rankings

If your website has spammy or low-quality backlinks pointing to it, your search rankings can suffer. That’s where a disavow file comes in.

A disavow file tells Google to ignore specific backlinks when evaluating your site. It’s a powerful tool—but it must be used carefully.

In this guide, you’ll learn what a disavow file is, when to use it, how to create one, and how to submit it correctly so you can protect your website’s SEO performance.


What Is a Disavow File?

A disavow file is a simple text file that lists backlinks you want Google to ignore.

You upload this file through the Google Disavow Tool, and Google will treat those links as if they don’t exist when assessing your site’s ranking signals.

This is particularly useful if your website has:

  • Spammy backlinks
  • Toxic SEO attacks
  • Old black-hat link building
  • Links from suspicious directories or PBNs

Instead of trying to remove every bad link manually, the disavow file tells Google:

“Please ignore these links when ranking my site.”


When Should You Use a Disavow File?

Google itself says that most websites do not need to use the disavow tool.

However, you should consider it if:

1. You Have a Manual Penalty

If Google issues a manual action for unnatural links, you must clean up links and submit a disavow file.

2. You Have Many Toxic Backlinks

Large volumes of spammy links from:

  • Link farms
  • Adult or gambling sites
  • Foreign spam networks
  • Automated backlinks

can damage trust signals.

3. You Were Hit by Negative SEO

Sometimes competitors intentionally create spam links to harm your rankings.

A disavow file helps neutralize those attacks.


Step 1: Audit Your Backlinks

Before disavowing anything, you must analyze your backlink profile.

Use tools like:

  • Google Search Console
  • Ahrefs
  • Semrush
  • Moz

Look for suspicious patterns such as:

  • Links from unrelated niches
  • Low domain authority sites
  • Spam anchor text
  • Thousands of links from one domain

Example of a Toxic Link

cheap-seo-links.xyz → yoursite.com

Anchor text: “Buy cheap Viagra”

Clearly irrelevant and spammy.


Step 2: Try Removing Links First

Google recommends attempting link removal before disavowing.

You can:

  • Contact the website owner
  • Request link removal
  • Document your outreach

Example email:

Hello,
We noticed a backlink from your site pointing to ours. Could you please remove it?
Thank you.

If removal fails, then add the link to your disavow file.


Step 3: Create the Disavow File

The disavow file is a plain text (.txt) file.

It should contain either:

  • Individual URLs
  • Entire domains

Disavow a Single URL

https://spamwebsite.com/bad-page.html

Disavow an Entire Domain

domain:spamwebsite.com

Most SEO experts recommend disavowing entire domains rather than individual pages.

Example Disavow File

# Spam links identified during backlink audit

domain:spamdirectory.com

domain:cheaplinks.xyz

https://badsite.com/spam-page.html

Notes:

  • Lines starting with # are comments
  • One entry per line
  • UTF-8 or ASCII encoding

Step 4: Submit the Disavow File to Google

Follow these steps:

  1. Go to the Google Disavow Tool
  2. Select your property
  3. Upload your .txt disavow file
  4. Confirm submission

Once submitted, Google will process it during future crawls.

Keep in mind:

  • Results may take several weeks
  • Rankings may fluctuate during processing

Best Practices for Disavow Files

Using the disavow tool incorrectly can harm your rankings.

Follow these guidelines:

Only Disavow Truly Toxic Links

Disavowing good backlinks will hurt your SEO authority.

Prefer Domain-Level Disavow

Spam websites often create multiple pages linking to you.

Blocking the domain saves time.

Keep the File Organized

Use comments to explain decisions.

Example:

# Negative SEO attack Feb 2026

domain:spamseoattack.net

Update When Needed

You can upload a new disavow file anytime. It will replace the previous one.


Common Disavow File Mistakes

Avoid these frequent errors:

Disavowing too many links
Over-cleaning your profile can reduce rankings.

Using the wrong format
The file must be .txt.

Forgetting “domain:” prefix
Without it, only the specific page is ignored.

Uploading duplicate entries
Keep the file clean and simple.


Does Google Still Use the Disavow Tool?

Yes—but its importance has decreased.

Google’s algorithm now ignores many spam links automatically.

However, the disavow tool is still useful for:

  • Manual penalties
  • Large-scale spam backlinks
  • Negative SEO attacks

SEO professionals still rely on it when needed.


FAQ: Disavow File Guide

How long does a disavow file take to work?

Typically 2–6 weeks, depending on how quickly Google recrawls the links.

Can a disavow file improve rankings?

Indirectly, yes. Removing harmful links can help restore trust signals and recover lost rankings.

Can I undo a disavow?

Yes. Upload a new disavow file without the links you want restored.

Should new websites use the disavow tool?

Usually no. Most new sites don’t have enough backlinks to justify it.

Do disavowed links disappear?

No. They remain online, but Google ignores them when evaluating your site.


Final Thoughts

A disavow file is one of the most powerful defensive SEO tools available. When used correctly, it helps protect your site from spammy backlinks, negative SEO attacks, and manual penalties.

The key is to audit carefully, remove links when possible, and only disavow truly harmful domains.

Used responsibly, a disavow file can help restore your site’s authority and keep your search rankings safe.

About the author
Madison Lee

Leave a Comment