Disavow File Generator: Create a Correct Google Disavow File
FREE TOOL · NO SIGN-UP
This disavow file generator turns a pasted list of spammy URLs and domains into a correctly formatted disavow.txt for Google Search Console. It is for SEOs and site owners cleaning up paid or manipulative links they cannot get removed. Paste the links, choose domain or URL level, click Generate disavow file, and download a file ready to upload.
The tool removes duplicates, sorts entries, adds the domain: prefix where needed and flags lines it cannot read. It runs in your browser, so your link list stays on your device.
What the Disavow File Does
A disavow file is a list of links you are asking Google to ignore when it assesses your site. It does not remove the links from the web. It tells Google not to count them.
How Google treats disavowed links
After you upload a file, Google processes it as it recrawls the pages that contain those links, which takes time. Disavowed links are effectively treated as if they carried a nofollow. They still appear in Search Console’s Links report, because the report shows links that exist, not links that count. Google describes the tool as an advanced feature that can harm your performance if used incorrectly. Its main purpose is cleaning up links you or a previous SEO bought or built against Google’s spam policies, when removing them is not possible.
File format rules
Google’s format is strict but simple. One entry per line. A full URL disavows that single page. A line starting with domain: disavows the whole domain or subdomain, such as domain:spam-site.example. Lines starting with # are comments and are ignored. You cannot disavow a subfolder like example.com/en/. The file must be a .txt file in UTF-8 or 7-bit ASCII, with no more than 100,000 lines and 2 MB. The generator handles the prefix, comments and duplicates for you.
How to Generate a Disavow File
Prepare your list first, because the generator formats links and does not judge them.
Step 1: Export backlinks
Export your links from Search Console’s Links report (Top linking sites and the full export), and from any backlink tools you use. Combine the lists in a spreadsheet and review them. Keep only links you are confident are spammy, paid or part of a link scheme.
Step 2: Paste URLs and domains
Paste your final list into the box, one entry per line. You can mix full URLs, bare domains and existing domain: lines from an old file. Lines starting with # are skipped. Leave “Strip www.” on so www.spam.example and spam.example merge into one entry.
Step 3: Choose domain or URL level
The default, “Whole domain for every entry”, converts everything to domain: lines, which is usually safest for spam sites because new spam pages on the same domain are covered too. Choose “Keep URLs as URLs” when you only want to disavow specific pages on an otherwise good site. Click Generate disavow file and check the counts of domains, URLs and invalid lines.
Step 4: Download and upload in Search Console
Download disavow.txt. Open Google’s disavow links tool, select the correct URL-prefix property, and upload the file. If you had a previous file, the new upload replaces it. Keep a copy of every version you submit.
When Disavowing Is and Isn’t Needed
Most websites never need a disavow file. Knowing the difference saves time and avoids self-inflicted damage.
Manual actions
The clearest case for disavowing is a manual action for unnatural links to your site, shown in Search Console’s Manual actions report. Google expects you to remove as many bad links as you can by contacting site owners, then disavow the rest and file a reconsideration request explaining what you did. The disavow file is part of the evidence. Another valid case is knowing that you or an agency bought links or ran a link scheme, even without a manual action yet.
Why most sites don’t need it
Google says its systems already ignore most random, low-quality links. Every site picks up odd links from scraper pages, directories and auto-generated sites. Disavowing those changes nothing and risks catching good links by mistake. If you have not bought links and have no manual action, a disavow file is usually not worth your time.
Finding Links Worth Disavowing
If you do need a file, be selective. The goal is to catch links that look like paid or manipulative placements.
Link audit signals
Look for links you know were bought, sitewide footer or sidebar links on unrelated sites, private blog network patterns (many thin sites with similar designs linking to you), and exact-match commercial anchors on low-quality pages. A high share of keyword-rich anchors can be checked with the Anchor Text Ratio Calculator.
Spam patterns to look for
Spun or auto-generated articles, link farms with hundreds of outbound links per page, hacked pages with hidden links, and paid guest posts on sites that sell to anyone are common examples. Third-party “toxicity” scores are a starting point, not a verdict. Check each domain by hand.
Updating an Existing Disavow File
Search Console holds one disavow list per property, so updates need care.
Replacing vs appending
Uploading a new file replaces the old one entirely. To add entries, download your current file from the disavow tool, paste its lines into the generator together with the new ones, and generate again. Duplicates are merged automatically.
Keeping a change log
Use the date and count header, and add your own # comments explaining why domains were added. Save each version with a date in the file name so you can roll back if needed.
Disavow Mistakes That Can Backfire
Small errors here can cost real rankings.
Disavowing good links
Disavowing genuine editorial links throws away their value. Never upload a full backlink export without review.
Wrong syntax
Missing domain: prefixes, extra text on a line or subfolder entries are ignored or rejected. Use the generated file as is.
Uploading to the wrong property
The tool works with URL-prefix properties, not Domain properties. Upload to each relevant protocol and host version you own.
Clean Up Your Link Profile Carefully
Paste your reviewed list above and get a correctly formatted disavow.txt in seconds, then upload it to the right property. Tidy messy exports first with the Duplicate Line Remover, strip tracking tails from URLs with the URL Cleaner, and check crawl rules with the Robots.txt Generator. Browse every free tool on FHSEO Hub.
