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.
Whether you need one at all
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.
Format
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.
Worked example
# 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.
Honest limits
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.
Related tools
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.