How to Create a Disavow File From a Backlink Export in 5 Minutes

·

Illustration of toxic links being selected into a document and exported, representing how to create a disavow file.

A Google disavow file is a plain-text list telling Google to ignore specific backlinks when evaluating your site. Before you build one, be clear on scope: most sites should never need it. The tool exists for two situations: you received a manual action for unnatural links, or you knowingly built or purchased links that violate Google’s guidelines and cannot get them removed. If neither applies to you, read when you should and should not disavow first. If you do have a genuine case, here is how to build the file correctly in one sitting.

Pull Your Backlink Export

Start with a raw link list from one of these sources:

  • Google Search Console Links report: Go to Search Console, open the Links report, and use the export button. GSC exports up to 100,000 rows sorted by discovery date, but the report is a sample, not a complete inventory of every link Google knows about.
  • Ahrefs or Semrush export: Run a full backlink export filtered to referring domains. These have broader coverage than GSC alone. Export as CSV.

If you have done a backlink audit and already have a triage spreadsheet, work from that rather than a raw export.

De-duplicate to the domain level at this stage. You will almost always disavow entire domains rather than individual URLs (more on that below), so consolidating early saves time.

Triage: Identify Links That Actually Meet the Disavow Bar

This is where most people get it wrong. Third-party “toxicity” scores from Ahrefs, Semrush, and Moz are useful for triage, but a high toxicity score alone does not mean a link should be disavowed. Since Penguin 4.0 launched in 2016, Google devalues most low-quality links automatically rather than penalizing your site for them. Mass-disavowing based on a toxicity threshold is outdated practice.

The links that genuinely warrant disavowal are:

  • Links acquired through paid schemes, private blog networks (PBNs), or explicit link exchanges that violate Google’s link spam policies
  • Links you built deliberately and cannot remove, where you have a manual action for unnatural links
  • Links from scrapers, auto-generated spam sites, or adult/malware domains pointing at you in volume

For each flagged domain, check whether you attempted removal first. Google expects a removal effort before disavowal. Log your outreach attempts and dates in a spreadsheet column; you will add those as comments in the disavow file.

Domain-Level vs URL-Level Entries: Which to Use

Entry typeSyntaxWhat it coversWhen to use
Domain-leveldomain:example.comAll URLs on example.com and all its subdomainsA spammy domain where every page linking to you is junk
URL-levelhttps://example.com/bad-pageThat specific page onlyA mostly legitimate site with one isolated bad link you cannot remove

Prefer domain: entries for spammy domains. The domain: directive covers the root domain plus all subdomains, so domain:example.com also disavows links from blog.example.com and en.example.com. You cannot disavow a subpath like domain:example.com/en/; that syntax is not supported and Google will ignore it.

Use bare URLs only when you want to isolate one problematic page on an otherwise clean domain.

Format the File to Google’s Exact Spec

Google’s disavow file specification requires:

  • File type: plain text, .txt extension
  • Encoding: UTF-8 or 7-bit ASCII
  • One entry per line: one URL or one domain: directive
  • Comments: lines starting with # are ignored by Google
  • Size limits: maximum 100,000 lines (including blank lines and comment lines) and 2 MB
  • URL length limit: maximum 2,048 characters per URL

A correctly-formatted disavow file looks like this:

# Disavow file for example.com
# Last updated: 2026-06-06
# Removal outreach log: see spreadsheet at [your internal link]

# Paid link scheme - link exchange network, outreach sent 2026-04-12, no response
domain:spamlinks-network.com
domain:linkfarm99.net

# PBN - confirmed paid post, can't remove, manual action issued 2026-03-28
domain:fakeblog-authority.com

# Isolated bad page on otherwise clean domain
https://legitimatesite.com/spam-directory/your-site-link

# Casino/gambling spam pointing at our site in bulk
domain:online-casino-spam.ru
domain:gambling-backlinks.info

The comment lines are for your own records and any future reconsideration request. Document why each domain was flagged and what removal steps you took. Google’s reviewers read these comments during manual action reviews.

If you want to skip the manual formatting work, BacklinkTower’s disavow file generator builds a spec-compliant .txt file with comments directly from a backlink export, so you are not formatting by hand.

Submit the File in Google Search Console

The disavow tool lives at https://search.google.com/search-console/disavow-links. You must select a URL-prefix property, not a domain property; the tool does not currently support domain properties.

Key things to know before you upload:

  • Uploading replaces the existing file. If you already have a disavow file for this property, download it first, merge your new entries, and upload the combined file. A new upload does not append; it overwrites.
  • Processing is not instant. Google incorporates disavow lists over time as it recrawls the web. Expect a few weeks before seeing any effect, not days.
  • It is not a recovery button. For manual actions, you still need to submit a reconsideration request separately after uploading the disavow file. The file alone does not lift a manual action.

Frequently Asked Questions

What format does a Google disavow file need to be in?

The file must be a plain text file with a .txt extension, encoded in UTF-8 or 7-bit ASCII. Each line contains one URL or one domain: directive. Lines starting with # are treated as comments and ignored by Google. The file cannot exceed 100,000 lines or 2 MB in size, and individual URLs cannot exceed 2,048 characters.

Should I disavow at the domain level or the URL level?

Use domain:example.com for spammy domains where all links from that site are junk. The domain: directive covers the root domain and all subdomains automatically. Use bare URL entries only for an isolated bad page on an otherwise legitimate site. Domain-level entries are the right default for most disavowal scenarios.

How long does it take for a disavow file to take effect?

Google processes disavow lists gradually as it recrawls the web. According to Google’s documentation, “it can take a few weeks for Google to incorporate your list into the index.” There is no way to force immediate processing. For manual actions, the disavow file is a prerequisite, but you must also submit a separate reconsideration request.

Can a disavow file hurt my site?

Yes, if you over-disavow. Disavowing legitimate, high-quality links removes signals that help your rankings. Since Penguin 4.0, Google automatically devalues most low-quality links, so there is real cost to disavowing clean links and minimal benefit to disavowing links Google already ignores. Only disavow links you are confident are harmful and unremovable.

Do I need a disavow file if I have no manual action?

Probably not. Google’s John Mueller has said the tool is intentionally hard to find because the vast majority of sites do not need it. If you have no manual action and no history of knowingly building links that violate Google’s policies, your time is better spent on content and legitimate link building than on managing a disavow list.

Where do I submit the disavow file?

Submit at https://search.google.com/search-console/disavow-links. You must select a URL-prefix property in Search Console; the tool does not support domain properties. Uploading a new file replaces any existing disavow list for that property, so always merge your new entries with the existing file before uploading.

Does the disavow file affect all versions of my domain?

No. The disavow list applies only to the specific Search Console property you uploaded it to. If you have separate properties for http and https, or for www and non-www versions, you need to upload the file to each property separately.


Get Link Building Tips

Weekly strategies and insights delivered to your inbox. No spam, unsubscribe anytime.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *