Google Disavow File Generator

Paste backlink URLs, list domains to always disavow and never disavow, choose domain or URL level, merge an existing file and download a validated disavow.txt.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Paste

    Linking URLs from an export.

  2. 2
    Lists

    Always and never disavow.

  3. 3
    Rules

    Risky TLDs and spam words.

  4. 4
    Merge

    Keep your existing file.

  5. 5
    Download

    Validated disavow.txt.

About this tool

The Google Disavow File Generator prepares the plain text file that Google Search Console's disavow links tool accepts, and checks it against Google's format before you upload. You paste the linking URLs from a backlink export, one per line or separated by commas. You can list domains you always want to disavow and an allow-list of domains you never want to disavow, such as press sites, partners or your own other properties. Two optional rules help you find suspicious links in a long export: one flags domains ending in TLDs often seen in spam, such as .xyz, .top, .click, .tk and .icu, and the other flags addresses containing spam words such as casino, payday or replica. You choose whether to disavow whole domains, written as domain: followed by the host, or individual URLs. If you already have a disavow file, paste it in the merge box and its lines are kept. The tool removes the www part of host names, skips anything on the allow-list, and writes a file with a date line, a reminder to review it, and a comment above every entry explaining why it was included, such as "listed by you" or "risky TLD .xyz". A format check reports lines that are neither a valid domain: line nor a full http or https URL, and warns if the file passes 100,000 lines or 2 MB, Google's limits. A counter shows how many lines will be disavowed, and one button downloads disavow.txt.

Who this is for

Site owners who received a manual action for unnatural links, SEO consultants cleaning up a profile after years of paid link building, agencies inheriting a client with spammy links from a negative SEO attack, and anyone who needs to update an existing disavow file without breaking its format.

How to use it

1. Export the links to your site from Search Console or a backlink tool and paste the linking URLs. 2. Add domains you have already judged harmful to Always disavow these domains. 3. Add trusted domains to Never disavow so no rule can catch them. 4. Turn the risky TLD and spam word rules on or off, and choose whole domains or individual URLs. 5. Paste your current disavow file into the merge box if you have one. 6. Review every line and its reason, fix any format problems, then download disavow.txt and upload it in Search Console.

Google's file format

The disavow file is a UTF-8 or 7-bit ASCII text file with one entry per line. A line starting with domain: disavows every link from that domain and its subdomains. A full URL disavows only that page. Lines starting with a hash sign are comments that Google ignores. The file must be under 2 MB and 100,000 lines. Uploading a new file replaces the old one completely, which is why the merge box matters: any domain you leave out is no longer disavowed.

Reading the default example

The sample export has six URLs. Two belong to example.org and example.net, which are on the allow-list and are skipped. The other four are flagged by the risky TLD rule: cheap-links.xyz, best-casino-bonus.top, seo-links-directory.click and spammy.tk. Together with linkfarm-network.com from the always list, the file has five domain: lines, each with a comment, and the format check reads OK.

When not to disavow

Google says most sites never need a disavow file, because its systems already ignore most spammy links. Use it when you have a manual action for unnatural links, or when you know of paid or manipulative links pointing at your site that you could not get removed. The automatic rules are only a way to shortlist suspects: a .xyz site can be a genuine blog, and a casino word can appear in a legitimate news article. Disavowing good links can remove value you earned.

Limits

The tool has no access to Search Console or to link quality data, and its TLD and word lists are short, fixed examples. Its domain check rejects some unusual host names such as internationalised top-level domains, which you may need to add by hand. It cannot tell you whether disavowing will help. Review every entry yourself, keep a copy of each version, and treat the file as your decision rather than SEO or legal advice from this page.

Worked example

From six pasted links, the default rules skip two allowed domains, flag four risky TLDs and add one listed domain, giving a five-line disavow file that passes the format check.

Quick facts

Frequently asked questions

What does a disavow file look like?

A plain text file with one entry per line: domain:example.com for a whole domain, a full URL for one page, and # for comments.

Should I disavow whole domains or URLs?

Usually whole domains for spam sites, since they often have many linking pages. Use URLs when only one page on a good site is a problem.

Does a new upload add to my old file?

No, it replaces it. Paste your existing file into the merge box so its entries are kept.

What are the size limits?

Google accepts files up to 2 MB and 100,000 lines. The format check warns if you pass either.

Do I need to disavow at all?

Most sites do not. It is meant for manual actions or known paid and manipulative links you cannot get removed.

Is my link data uploaded?

No. The file is built in your browser and downloaded to your device.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages