Free tool

Disavow File Generator

Paste spammy backlinks from Ahrefs, Semrush or Search Console. We clean, de-duplicate and format them into a disavow.txt file that Google Search Console accepts.

Quick answer

A disavow file is a plain .txt file that tells Google to ignore links from listed domains (domain:example.com) or URLs. Most sites never need one, because Google ignores most spammy links on its own. Use it mainly for a manual action for unnatural links or paid links you cannot remove.

How to use the Disavow File Generator

  1. Export the links you want to disavow from Ahrefs, Semrush or Search Console.
  2. Paste them in, one per line. Extra columns are ignored.
  3. Choose whether to disavow whole domains or exact URLs, and add your own domain so it is never included.
  4. Generate the file, then copy or download disavow.txt and upload it in Google Search Console.

Do you actually need to disavow links?

Usually not. Google says it is good at ignoring spammy links on its own, and that most sites never need to use the disavow tool. Disavowing good links by mistake can hurt your rankings, so use it with care.

Consider a disavow file when:

Disavow file format

A disavow file is a plain .txt file with one entry per line:

Domain-level entries are safer for spam sites, because spammy domains often link to you from many pages. This generator cleans your list, removes duplicates and www prefixes, and keeps your own domain and any sites you choose out of the file.

How to upload it

Open Google's disavow links tool, choose your property and upload the file. Uploading a new file replaces the old one, so always include every entry you still want disavowed.

Not sure which links are harmful? Check your anchor text ratio first, or ask us for a backlink audit before you disavow anything.

How to decide which links to disavow

Look at each suspicious domain before adding it. Links worth disavowing usually come from:

Do not disavow links just because a tool shows a low authority score or a high "toxic" score. Small but real sites, directories you chose to join and links from social or news sites are normal parts of a healthy profile.

Before you upload

  1. Try to get the worst links removed first by emailing the site owners, and keep a record of your requests.
  2. Download your current disavow file from Search Console, if you have one, and merge it with the new list. A new upload replaces the old file.
  3. Prefer domain-level entries for spam sites.
  4. Keep a copy of every file you upload, with the date.

After you upload

If you had a manual action, file a reconsideration request in Search Console explaining what you removed and disavowed. Then focus on building good links, because removing bad links alone rarely brings rankings back. Our link building team can help you rebuild with white-hat links on real US and UK sites.

Want us to do it for you?

Manual, white-hat link building on real US and UK websites, reported live in Google Sheets.

Get a backlink auditBrowse 1,900+ sites

Frequently asked questions

Should I disavow spammy backlinks?

In most cases no. Google ignores most spammy links automatically. Disavow mainly when you have a manual action for unnatural links or know you built bad links in the past.

Domain or URL: which should I disavow?

For spammy or low-quality sites, disavow the whole domain. Use single URLs only when the rest of the site is fine.

How long does a disavow take to work?

Google processes the file as it recrawls the linking pages, which can take several weeks or longer.

Can I undo a disavow?

Yes. Upload a new file without those entries, or remove the file in the disavow tool. It can take time for Google to count the links again.

Do I need a separate file for www and non-www?

No. A domain: entry covers the whole domain, including www and other subdomains.

Can I disavow links for a Domain property in Search Console?

The disavow tool works with URL-prefix properties. If you only have a Domain property, add a URL-prefix property for your site first.

More free SEO tools

See all free tools