Disavow File Generator
Turn a messy list of spam URLs into a disavow.txt Google will accept — collapsed to domain level where that is the right call, deduplicated, sorted, and checked for the mistakes that throw away real links.
Nothing you type here is uploaded, stored or sent anywhere. It all runs in your browser.
Read this before you file anything
Most sites should never submit a disavow file. Google's guidance has said for years that its systems ignore the overwhelming majority of spam links without being told to, and the people who work on search have repeatedly said the tool exists for a narrow case rather than as routine hygiene. A disavow is also one of the very few SEO actions that is genuinely hard to walk back: removing a domain from the file does not restore the link, because every one of those pages has to be recrawled before it counts again, and that takes months.
So the cost is asymmetric. Filing a file you did not need does nothing at best and quietly deletes real links at worst. There are two situations where it is the right move:
- A manual action for unnatural links. You have the message in Search Console. Here the file is part of the reconsideration request, and the reviewer expects evidence that you tried to get the links removed first — which is what the
#comment lines are for. - A negative-SEO campaign you can document. Thousands of links appeared inside a short window, from one obvious footprint, carrying anchors you have never used. You can point at the week it started.
If neither describes you — if the backlink report merely looks ugly, or an audit tool coloured some rows red, or traffic dropped and this was the first thing you found — close the tab. The file will not help and it can hurt.
Why domain level is almost always the right call
People file page-level URLs because it feels careful. It is the opposite. If a host built you three bad links, the decision you are making is about the host: either you trust it or you do not. Listing three URLs means the next four it builds still count, and you will be back here in a quarter doing the same work. domain:example.com covers the host and every subdomain under it, which is what you meant.
The exception is the one this tool flags loudest: a site you have a real editorial link from that also gave you something you would rather not keep. Then page level is correct, because the domain line would throw the good one away too.
The format, exactly
Plain text, UTF-8, one entry per line, up to 100,000 lines and 2 MB. A bare URL disavows that URL. A line prefixed with domain: disavows the host. Anything after a # is a comment. There is no wildcard syntax, no regular expressions, and no way to disavow a path prefix — a domain: line with a path on it is not an error Google reports, it is a path Google throws away, which is why this tool flags it.
One file per property, and uploading a new one replaces the old one completely. Keep the file you submitted; it is the only copy there is.
What this tool normalises, and what it deliberately does not
Protocols are stripped before comparing, so http://www.spam.example/a and https://spam.example/a are recognised as one entry rather than two. On domain: lines the leading www. goes too, because the domain form already covers every subdomain. On page-level URLs it stays: www.example.com/page and example.com/page can genuinely be different pages on different servers, and quietly rewriting one into the other is the kind of helpfulness that files the wrong URL.
Subdomain detection uses a short built-in list of multi-part suffixes — co.uk, com.au and about thirty others — so that spam.co.uk is not mistaken for a subdomain. It is not the full public suffix list. If you are disavowing a host on an unusual suffix, read the warning and make your own call.
Questions people ask
Will a disavow file recover my rankings?
Almost never, on its own. It removes something that was counting against you, which only helps if something actually was. Outside a manual action, the usual outcome of filing one is no measurable change — and if you disavowed links that were fine, a measurable loss.
Can I undo a disavow?
You can remove the lines and upload the file again, but the links do not come back on the day you do it. Google has to recrawl each of those pages before the link counts once more, and for a low-value page that can take many months. Plan on the decision being permanent.
Should I disavow links Semrush or Ahrefs marked as toxic?
No. Those scores are third-party heuristics with no access to anything Google knows, and a "toxicity" number is a product feature rather than a measurement. Plenty of perfectly ordinary directories, forums and regional sites score badly. Judge the link yourself, or leave it alone.
Does the file need to list every bad link?
For a manual action, it needs to cover the pattern the reviewer will see — which is why domain-level lines are better than an incomplete page list. Outside a manual action the question does not arise, because you should not be filing one.
Is anything I paste here sent anywhere?
No. The page has no backend. Parsing, collapsing and generating all happen in your browser, and the file is built in memory — nothing is uploaded, logged or stored.
Related tools
A disavow file has never lifted a ranking on its own
It removes a negative. If the site is not ranking, the problem is almost always that nothing good points at it yet, and that is a different job.