Disavow File Generator

Paste spammy domains or URLs and get a clean disavow.txt in the format Google Search Console expects, with domain: lines, a header comment and no duplicates.

Use the tool

Why this tool exists

After a link audit, you may have a list of bad backlinks in a spreadsheet, in a mix of formats: full URLs, bare domains, www and non-www versions, some already prefixed. Google's disavow tool wants a specific plain-text format, and one malformed line wastes your effort.

This generator normalises your list. It strips protocols and www, converts entries to domain: lines (or keeps full URLs if you want to disavow single pages), removes duplicates, sorts them and adds a comment header with the reason and date. Lines starting with # are skipped. Disavowing is a last resort, so review the list carefully first. Your list stays in your browser.

How to use it

  1. Paste your domains or URLs into the box, one per line.
  2. Choose a mode: whole domains, or keep full URLs.
  3. Edit the comment that explains the reason, and tick the date option if you want one.
  4. Copy the result or save it as disavow.txt and upload it in Search Console.

Frequently asked questions

Should I disavow whole domains or single URLs?

Whole domains are the usual choice for spam, since the same site often links from many pages. Keep full URLs only when a few pages on an otherwise acceptable site are the problem.

Do I really need to disavow?

Rarely. Google says it generally ignores spammy links and the tool is for cases such as a manual action or a large paid-link problem. Disavowing good links can do harm, so check each entry.

What does the output look like?

Comment lines start with #, then each entry appears as domain:example.com, sorted and deduplicated. Existing domain: lines in your input are kept, and comment lines in the input are dropped.

What if a line is not a domain?

A line without a dot in its host, such as a stray word, stops the tool with an error naming the line, so you can fix it before uploading.