Disavow File Generator - Build a Valid Google Disavow .txt

Create disavow files to remove harmful backlinks from Google.

Enter URLs or domains you want to disavow, one per line

About disavow files

  • Disavow files tell Google to ignore harmful backlinks
  • Use domain format to disavow all links from a domain
  • Use URL format to disavow specific page links only
  • Upload the file through Google Search Console

Important warning

  • Use disavow tool as last resort only
  • Incorrectly disavowing links can hurt your SEO
  • Try contacting webmasters to remove links first
  • Review your disavow file carefully before uploading
Table of Contents

Paste a list of domains or URLs and this tool returns a correctly formatted disavow file for upload to Google Search Console. You choose whether to disavow whole domains or individual URLs, and it applies the required syntax. Read the section on whether you need this first.

Most sites do not. Google has said repeatedly that its systems already ignore the overwhelming majority of low-quality links without being told, and that the disavow tool is intended for two situations: you have a manual action for unnatural links, or you know you built or bought links yourself and want to disclaim them. Disavowing links you merely dislike, or that a third-party "toxicity" score flagged, more often removes value than protects you.

A plain text file, one entry per line, UTF-8 or 7-bit ASCII. Lines starting with # are comments and are ignored. To disavow an entire domain, prefix it with domain:; a bare line is treated as a single URL. The file is capped at 100,000 lines and 2 MB.

# Paid links from a 2024 campaign, removal requested 2026-06-01
domain:spam-directory-network.example
domain:cheap-guest-posts.example
https://random-blog.example/2019/link-roundup-page.html

The first two lines disavow everything from those hosts including subdomains. The third disavows one page only, leaving the rest of that site counted normally. Comments cost nothing and are worth writing, because the next person to open the file - possibly you in two years - needs to know why each entry is there.

Uploading a disavow file replaces the previous one entirely; it does not append. Effects are not immediate, since Google has to recrawl the linking pages before the instruction takes hold. And disavowing is not reversible in any quick sense: re-earning trust in a link you disclaimed means removing it from the file and waiting for another recrawl. Keep the file under version control.

Understand your link profile before disavowing anything - check what is indexed with check Google indexing, count crawlable pages with the website page counter, and review on-page signals with the meta tags analyzer. More in SEO tools.

Frequently asked questions

Do I need a disavow file?
Probably not. Google says its systems ignore most low-quality links automatically, and recommends the tool mainly if you have a manual action for unnatural links or you know you paid for links yourself. Disavowing on the basis of a third-party toxicity score usually does more harm than good.
What is the difference between domain: and a plain URL?
A line reading domain:example.com disavows every link from that host and its subdomains. A bare URL disavows only that single page, leaving other links from the same site counted normally. Use the domain form when the whole site is the problem, not one page.
Does uploading a new disavow file add to the old one?
No, it replaces it completely. Whatever you upload becomes the entire disavow list, so you must include every previous entry you still want disavowed or it silently returns to being counted. Keep the master copy in version control rather than reconstructing it from memory, because there is no way to view a diff against what was there before.
How long does a disavow take to work?
There is no fixed timescale. Google has to recrawl each linking page before it applies the instruction, so a file covering many rarely-crawled sites can take months to take full effect. It is not a switch that flips on upload.
Can I undo a disavow?
You can remove the entry and upload the revised file, but the link is not immediately recounted. Google has to recrawl the linking page again, so the reversal takes as long as the original took. Treat disavowing as a considered decision rather than an experiment.