Disavow File Format: How to Create a Correct Google Disavow File
Managing backlinks is an important part of maintaining a healthy website profile, but not every backlink needs to be removed or disavowed.
Google generally handles many low-quality or irrelevant links automatically. A disavow file is therefore not a routine SEO maintenance document. It is a specialized tool that should be used carefully when there is a strong reason to ask Google to ignore specific backlinks.
When a disavow is genuinely appropriate, the file format matters.
A file with incorrect syntax, invalid entries, or unnecessary URLs may not achieve the intended result.
This guide explains how a disavow file should be structured, what can be included, which formatting mistakes to avoid, and how to prepare the file before submission.
What Is a Disavow File?
A disavow file is a plain-text file containing URLs or domains whose links you want Google to ignore when evaluating your site.
The file is uploaded through Google's Disavow Links tool.
There are two common levels of entries:
- Individual URLs
- Entire domains
For example:
https://example.com/page-that-links-to-you
Or:
domain:example.com
The second format applies to links from the specified domain rather than just one URL.
What Format Should a Disavow File Use?
A Google disavow file is a plain-text .txt file.
The file should contain one directive per line.
A basic example looks like this:
# Disavow file created after backlink review
domain:example.com
domain:example.net
https://anotherexample.com/specific-page.html
The # symbol is used for comments.
Comments can help document why certain domains or URLs were included, although the actual disavow directives should remain clear and correctly formatted.
Understanding the domain: Directive
The domain directive is useful when you want to disavow links from an entire domain.
Example:
domain:example.com
This is different from listing a single URL:
https://example.com/spam-page
A domain-level directive can cover links from the entire domain.
Therefore, it should not be used casually.
If only one specific page contains a problematic link and there is a strong reason to disavow it, a URL-level entry may be more appropriate.
Example of a Simple Disavow File
A basic file could look like this:
# Backlink review completed October 2026
domain:spam-example.com
domain:lowquality-example.net
https://another-example.org/unwanted-link.html
Each line represents a separate instruction.
The comments are not backlink directives.
They simply provide documentation for the person managing the file.
Can You Add Comments to a Disavow File?
Yes.
Comments can be added by starting the line with #.
For example:
# Domains reviewed during backlink audit
domain:example.com
domain:example.net
You can also document why a domain was included:
# Unwanted paid-link network identified during manual review
domain:example.com
Good documentation can make future backlink audits easier.
However, comments should not replace proper analysis.
URL-Level vs Domain-Level Disavow
One of the most important decisions when creating the file is choosing between a specific URL and an entire domain.
URL-level entry
Example:
https://example.com/article.html
This targets a specific URL.
Domain-level entry
Example:
domain:example.com
This targets links from the entire domain.
Domain-level disavow should be used carefully because it affects links across the domain.
If you are uncertain whether every link from a domain should be ignored, more analysis may be necessary before choosing a domain-level directive.
What a Correct File Should Not Contain
A disavow file should not become a dump of every backlink you dislike.
Avoid adding domains simply because:
- They have low authority
- They are unfamiliar
- They have low traffic
- Their design looks outdated
- They are irrelevant but naturally acquired
- A third-party tool labels them “toxic”
- Their domain rating is low
Third-party backlink metrics can help with investigation, but they should not automatically determine which links belong in a disavow file.
The decision requires context.
Common Disavow File Formatting Mistakes
1. Using the wrong file type
The file should be a plain-text .txt file.
Do not upload an Excel spreadsheet or a Word document as the disavow file.
2. Forgetting the domain: prefix
Incorrect:
example.com
Domain-level entries should use:
domain:example.com
3. Adding unnecessary formatting
Avoid complicated formatting, tables, HTML, or spreadsheet-style structures.
The file should remain simple plain text.
4. Putting multiple directives on one line
Avoid:
domain:example.com domain:example.net
Use separate lines:
domain:example.com
domain:example.net
5. Including unrelated notes without comments
Incorrect:
This domain is spam
domain:example.com
Better:
# This domain was identified during manual backlink review
domain:example.com
6. Disavowing an entire domain unnecessarily
A domain-level directive has a wider effect than a single URL entry.
Always understand the scope before using it.
How to Prepare a Disavow File
The technical file creation is simple. The difficult part is deciding what belongs in the file.
A practical workflow is:
Step 1: Collect backlink data
Use Google Search Console and other reliable backlink analysis sources to understand the site's backlink profile.
Third-party tools can provide additional discovery and analysis.
Step 2: Review suspicious links
Look at:
- Linking domain
- Linking page
- Anchor text
- Context
- Link placement
- Relationship with your website
- Signs of manipulation
- Whether the link appears intentional or artificial
Step 3: Separate questionable links from clearly problematic links
Not every unusual backlink is harmful.
A website can naturally receive irrelevant, low-quality, or unexpected links.
The goal is not to create a perfectly clean backlink profile.
Step 4: Attempt removal when appropriate
If a problematic link can reasonably be removed by contacting the site owner, that option can be considered.
However, manual removal is not always practical.
Step 5: Decide between URL and domain
Determine whether the issue is limited to a specific page or applies more broadly to the domain.
Step 6: Create the .txt file
Add the required directives, one per line.
Step 7: Review the file
Check spelling, domains, URLs, syntax, and unnecessary entries.
Step 8: Submit through Google's tool
Once the file has been carefully reviewed, it can be submitted through Google's official disavow process.
Example of a More Detailed File
A larger file might look like:
# Backlink cleanup review
# Review date: October 2026
# Domain-level entries
domain:example-spam.com
domain:example-network.net
# Specific URL
https://example.org/paid-links/article.html
# Additional reviewed domain
domain:another-example.com
This structure is easy for humans to review and keeps the actual directives separate from documentation.
How to Check a Disavow File Before Submission
Before submitting, perform a final quality check.
Check the file extension
Make sure it is saved as:
filename.txt
Check every domain
Look for spelling mistakes and accidental domain variations.
Check URL entries
Make sure URL-level entries point to the intended pages.
Check comments
Ensure comments begin with #.
Check duplicates
Remove unnecessary duplicate entries.
Check domain-level directives
Ask whether an entire domain really needs to be included.
Check the reason
Every entry should have a clear reason based on backlink investigation.
Should You Include Every Toxic Link Found by an SEO Tool?
No.
SEO tools can assign scores to backlinks, but a metric labeled “toxic” does not automatically mean Google considers that link harmful.
Automated scores are useful for prioritizing investigation.
They should not replace human judgment.
For example, a backlink could have:
- Low domain authority
- Little organic traffic
- An unfamiliar website name
and still be a naturally acquired link.
Conversely, a more suspicious pattern may deserve closer examination even when a third-party score does not label it as highly toxic.
Disavow File vs Link Removal
Disavow and link removal are different approaches.
Link removal means attempting to have the backlink physically removed from the referring website.
Disavow tells Google that you want specified links or domains ignored when evaluating your site.
A backlink cleanup process may consider both options, but disavow should not be treated as the default response to every unwanted link.
When Is a Disavow File More Relevant?
A disavow can be considered in situations involving a substantial number of artificial or manipulative backlinks, particularly where there is a clear reason to believe they were created to influence search rankings.
A site that has simply accumulated random low-quality links over time does not necessarily need a disavow file.
The context of the backlink profile matters.
Keep a Record of Changes
If you manage disavow files over time, keep internal records.
Document:
- Date of audit
- Domains reviewed
- URLs reviewed
- Reason for inclusion
- Removal attempts
- Previous file version
- New file version
- Submission date
This can prevent confusion when another SEO professional later reviews the website.
It also makes future backlink investigations more efficient.
Common Mistakes to Avoid
Mistake 1: Disavowing links too frequently
A disavow file should not become a routine monthly cleanup task.
Mistake 2: Trusting one SEO metric
No single third-party score can determine whether a backlink should be disavowed.
Mistake 3: Disavowing competitors' links
Simply because another website links to your competitor does not mean the link belongs in your file.
Mistake 4: Using domain directives carelessly
A domain-level directive affects more than one page.
Mistake 5: Forgetting documentation
Without notes, it becomes difficult to understand why entries were added months later.
Mistake 6: Treating disavow as a ranking shortcut
Disavowing links is not a general method for improving rankings.
It is a specialized backlink-management action.
A Practical Disavow File Checklist
Before submitting the file, check:
- File is plain-text .txt
- One directive appears per line
- Domain entries use domain:
- Comments begin with #
- URLs are correctly written
- Domains have been manually reviewed
- Unnecessary links have not been included
- Domain-level entries have been carefully considered
- Duplicate entries have been removed
- A backup of the previous file is available
- The reason for each entry is documented
Final Thoughts
The disavow file format itself is relatively simple. The difficult part is deciding what should actually be included.
A good file is not necessarily a large file.
It is a carefully reviewed file containing only the domains or URLs for which there is a clear and defensible reason to request that Google ignore their links.
Keep the structure simple, use the correct syntax, document important decisions, and avoid treating third-party toxicity scores as automatic instructions.
Most importantly, remember that backlink quality should be evaluated in context. A technically perfect disavow file is still a poor SEO decision if the wrong links were placed inside it.
FAQs
1. What format should a Google disavow file be?
A disavow file should be a plain-text .txt file. Entries should be listed one per line, using the appropriate URL or domain: syntax.
2. How do I disavow an entire domain?
Use the domain directive followed by the domain name, such as:
domain:example.com
This applies to links from that domain rather than one specific URL.
3. Can I add comments to a disavow file?
Yes. Comments can be added using the # symbol at the beginning of a line. Comments can be useful for documenting the purpose or review date of entries.
4. Should I disavow every toxic backlink?
No. Third-party tools may identify links as toxic based on their own metrics, but those labels should not automatically determine your disavow decisions. Review the links and their context before adding them to the file.
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Игры
- Gardening
- Health
- Главная
- Literature
- Music
- Networking
- Другое
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness