Disavow File Generator
Paste domains and URLs in any shape and get a disavow.txt Google will accept: correct syntax, deduplicated, validated against the line and size limits.
Runs in your browser. Nothing is uploaded, fetched or stored — including the list you paste.
Read this before you disavow anything
Disavowing is not a routine hygiene task, and the tool is easier to misuse than to use well. Google has said for years that its systems already ignore the overwhelming majority of spam links without being asked. Every entry you add stops passing value permanently for as long as it sits in the file, so a list built on a hunch costs you real links.
The cases that genuinely warrant a disavow file are narrow: you have a manual action for unnatural links, or you know links were bought or built by a previous agency and you can point at them. Outside those, the honest advice is to leave it alone and put the effort into earning better links instead.
The format Google actually accepts
These are the rules this tool enforces so the upload does not bounce.
| Rule | Detail |
|---|---|
| One entry per line | A bare URL disavows that page only. |
| domain: | Disavows the whole domain and every subdomain. |
| # | Comment line. Ignored by Google, but it still counts toward the line limit. |
| Encoding | UTF-8 or 7-bit ASCII. |
| Limits | 100,000 lines and 2 MB, comments and blank lines included. |
| Uploads replace | A new file replaces the old one entirely. Always upload the full list. |
How to build the list
- 1
Export your referring domains from Ahrefs, Search Console or whichever tool you use. Paste the column straight in — the parser takes bare domains, full URLs, existing domain: lines and pasted table rows with trailing columns.
- 2
Keep domain level on unless you have a specific reason not to. Whoever placed a spam link can move it to a new URL in seconds; the domain entry covers all of them, subdomains included.
- 3
Read the skipped lines. Anything the parser could not make sense of is listed with a reason rather than dropped quietly, so a mangled export does not silently shrink your list.
- 4
Check the counters. Google rejects the file over 100,000 lines or 2 MB, and it counts comments and blanks toward the line limit.
- 5
Download and upload it in Search Console. Keep the file in version control or a shared drive: the next upload replaces it entirely, so you need the complete list every time.
Why the tool drops some of your URLs
If you disavow domain:example.com and also list five individual URLs on that domain, the five URLs do nothing — the domain entry already covers them, and every subdomain besides. The tool removes them and tells you how many it removed, which keeps the file under the line limit and makes it readable when you come back to it in a year.
The same applies to www and non-www: they are the same domain as far as a domain entry is concerned, so both forms collapse into one line.
Frequently asked questions
What is a disavow file?+
A plain text file you upload in Google Search Console listing the domains and URLs whose links you want Google to ignore when assessing your site. It does not remove the links, it asks Google not to count them.
What format does Google require?+
One entry per line. A bare URL disavows that page; a line starting with "domain:" disavows the whole domain and its subdomains. Lines starting with # are comments. The file must be UTF-8 or 7-bit ASCII, under 100,000 lines and under 2 MB. This tool enforces all of that and tells you when you are over.
Should I disavow at URL level or domain level?+
Domain level, in almost every case where you are dealing with a spam network. Whoever built the link controls the whole site and can move it to a new URL the moment you disavow the old one. URL level makes sense only when a site is genuinely reputable and one specific page is the problem.
Do I still need to disavow at all?+
Far less often than people think. Google says its systems ignore most spam links automatically, and the tool exists mainly for sites with a manual action or a genuine history of paid links. If you have no manual action and no idea how the links got there, doing nothing is usually the better call.
Can disavowing hurt my rankings?+
Yes, and this is the real risk. Every link you disavow stops passing value, and the file is easy to over-fill because low-quality-looking links are not the same as harmful ones. Sites regularly lose traffic by disavowing links that were doing no damage. Be conservative and keep a record of why each entry is there.
Where do I upload it?+
Google Search Console has a separate disavow tool page. Select the property, upload the file, and it replaces any previous file entirely — so always upload the complete list, not just the new additions.
Cleaning up is the easy half.
A disavow file fixes the past. LinkForce is where teams build the links they actually want: relevant prospects, real outreach and a record of every placement.
Start free