Backlink Disavow File Generator
A correctly formatted disavow file — and a strong word about whether you should be using one.
Disavowing the domain covers every current and future URL on it.
disavow.txt
Upload at search.google.com/search-console/disavow-links. The file must be UTF-8 or 7-bit ASCII, under 100,000 lines and under 2 MB. Uploading a new file replaces the old one entirely.
What the backlink Disavow File Generator does
A disavow file tells Google to ignore specific inbound links when assessing your site. You upload it in Search Console, and from then on Google discounts links from the domains and URLs it lists.
The formatting rules are simple and unforgiving. One entry per line. A whole domain is written as
domain:example.com with no protocol and no www. An individual URL is
written in full including the protocol. Lines beginning with # are comments and are
ignored. The file must be plain text in UTF-8 or 7-bit ASCII, under 100,000 lines and under
2 MB. This generator produces exactly that, deduplicates entries, and flags URLs that are
redundant because their whole domain is already listed.
The far more important point is whether you should be creating one at all. Google's own guidance is unambiguous: the disavow tool is for sites that have received a manual action for unnatural links, or that know they have a history of paid or manipulative link building. Ordinary spam links — scraper sites, junk directories, comment spam — are discounted automatically and in enormous volume. They are not hurting you, and disavowing them achieves nothing.
The real risk runs the other way. Link auditing tools flag legitimate sites all the time, and a domain disavowed by mistake stops passing value entirely. Reversing it means uploading a corrected file and waiting for Google to recrawl every affected link, which takes months. Almost every site that has been damaged by the disavow tool was damaged by over-use, not under-use.
Default to domain-level entries when you do disavow. A site sending you one bad link is usually sending others, and disavowing the domain covers every page on it, including ones that appear later.
How to use it
- First, decide whether you genuinely need this. A manual action for unnatural links, or a known history of paid links, is the bar.
- Paste the domains you are confident about, one per line.
- Keep the granularity on whole domain unless you have a specific reason not to.
- Download the file and upload it in Google Search Console. Keep a copy — uploading a new file replaces the old one completely.
A worked example
A mixed list of domains and URLs, disavowed at domain level:
# Disavow file
# Generated 2026-09-07
# Removed after link audit — paid and directory spam
domain:spammy-directory.example
domain:link-farm.example
domain:paid-links.example
domain:another-bad-site.example
domain:good-site.example
Look at the last line. good-site.example was in the input list and has been disavowed
along with the rest. That is the failure mode this tool cannot protect you from: the file is
perfectly formatted and does exactly what it says, and it has just thrown away a genuine editorial
link from a real site. Review every line before uploading, and when in doubt, leave it out.
Frequently asked questions
Should I disavow spammy backlinks?
Usually not. Google discounts obvious spam links automatically and has said repeatedly that most sites never need this tool. Use it if you have a manual action for unnatural links, or if you know you paid for links in the past. Otherwise, doing nothing is the safer choice.
What is the difference between domain: and a URL entry?
domain:example.com disavows every link from that host, including pages that appear in future. A bare URL disavows only that one page. Domain level is almost always the right choice, because a site sending one bad link rarely sends only one.
Can I undo a disavow?
Yes, by uploading a corrected file — but the effect is not immediate. Google has to recrawl each affected link before it starts counting again, which can take months. That asymmetry is why over-disavowing is the more dangerous mistake.
Does the file need to include www?
No. Write domain:example.com without the protocol and without www, and it covers the whole host including its subdomains. This generator strips both automatically.