
By Si Quan Ong
SEO & Marketing Educator at Ahrefs
In this post, you’ll learn what white hat SEO is, how it compares to black hat SEO, and how to implement white hat SEO tactics.
White hat SEO refers to the use of SEO strategies, techniques, and tactics that are within search engine guidelines. Typically, this refers to Google's Search Essentials guidelines, since Google is the most popular search engine in the world.
The focus of white hat SEO is the user. White hat SEOs prioritize users by providing relevant, high-quality content rather than content designed to “trick” search engines.
Black hat SEO refers to the use of strategies, techniques, and tactics that do not necessarily follow Google’s guidelines. Its focus is on finding and exploiting algorithmic loopholes.
Sometimes, these black hat tactics can be plain unethical—we’re talking about SEOs spamming competitors with malicious links, injecting other websites with malicious code, and more.
Sidenote
You now know what white hat and black hat SEO mean. But what are the main differences? Here's a detailed comparison:
There are three main reasons:
Following the law confers no reward. But there are downsides in not following them, such as fines and imprisonment.
The same goes for white hat SEO. Just because you’re following Google’s guidelines doesn’t mean you’re automatically guaranteed higher rankings. And unfortunately, in some niches (for example, payday loans), black hat SEO is the name of the game.
But just like in the real world, not following the “rules” always risks getting caught. In this case, it’s not law enforcement but Google.
If Google discovers you’re using black hat tactics, it could penalize you. When that happens, you’ll see traffic like this:
So, if your goal is to build a long-term brand and generate consistent traffic, you’ll have to use white hat SEO tactics.
With frequent Google algorithm updates, low-cost spammy tactics like keyword stuffing, no longer work.
So, if you want to pursue black hat SEO, you might opt for tactics like building a private blog network (PBN). But building a PBN correctly is expensive (e.g., buying expired domains, dedicated hosting, private Whois, etc.), technical, does not guarantee success, and can even result in penalization.
In that case, you may as well invest that money, time, and effort into white hat SEO, which can actually bring long-term traffic and brand value, like our company:
Though you’re an SEO, you’re first and foremost a search engine user. You’re probably Googling for things on a daily basis.
Guest blogging is when you create content for other websites. In the process, you’ll usually be allowed to link back to your website.
Here’s how you can find potential guest blogging opportunities:
Look through the results and pick out relevant sites you could guest write for. Find the right person’s email and pitch them.
Reactive PR is where you react quickly to time-sensitive opportunities to earn links. The idea is simple: Sign up for services where journalists are looking for sources, then be one of the first few to respond. That way, when the journalist selects your quote, they'll link back to your site.
In the past, it was common to use Help a Reporter Out (HARO). However, its parent company, Cision, has killed it and wrapped it into a new product.
Don't worry, however. There are still plenty of similar and free alternatives around, such as:
See more alternatives in our list of HARO alternatives.
White hat SEO is about the right mindset: putting users first, creating useful content, and not spamming people.
Some black hat SEOs may be able to get results in the short term, but white hat SEO is essential for long-term success.
Remember, white hat SEO is a marathon, not a sprint.
Any questions or comments? Let me know on Twitter.
So you may win as a black hat SEO if you successfully spammed Google SERPs, but you’ll lose as a user if everything you search for only contains poor and irrelevant results.
One part of white hat SEO is knowing which tactics violate Google's guidelines ("black hat") so you can avoid them. Google has specifically stated these tactics are against their guidelines in their Spam Policies documentation.
You'd want to shun these tactics:
How do you get started with white hat SEO? Here are a few tactics you can use.
One of the key best practices in Google’s Search Essentials is to “use words that people would use to look for your content.”
You can find out what these words are by doing keyword research.
Here’s how to get started:
Here, you can see nearly two million potential keywords you could target. If they’re relevant, you want to rank for all of them. But you also likely have limited resources, so you should prioritize.
We can narrow the list down by focusing on two metrics:
How high TP and how low KD should be depends on your website. But for this example, let’s set them like so:
Look through the list and pick out relevant keywords.
Google’s Search Essentials states that we should create helpful, reliable, and people-first content.
But what does that mean in reality? Here are the steps you should take:
Google wants to serve relevant content to its users. A key aspect of relevance is whether searchers find the search results useful. In order for search results to be useful, Google needs to understand why searchers are looking for a query so it can serve the right results.
This is known as search intent.
If you want to rank high on Google, you need to figure out search intent. We can do this by analyzing the SERPs for the three Cs:
For example, let’s say we’re targeting the keyword “how to save money.”
If we analyze the SERPs for the three Cs, here’s what we see:
If we want to rank for this keyword, we likely have to create a listicle of money-saving tips.
The best result for a query covers everything searchers want to know. So, if there are subtopics that the top-ranking pages cover, you’ll want to include them in your content too.
Here’s how to find these subtopics:
In the Content gap report, click the Intersection dropdown and choose “4, 5” to see only the most relevant subtopics:
If we’re targeting the keyword “inbound marketing,” these subtopics can make great H2s:
Google’s guide on creating helpful content suggests asking these questions:
Simply put: Google wants you to create content that’s unique and original.
How do you do that? Here are a few ways you can stand out from the rest:
Google also aims to reward content that demonstrates E-E-A-T:
It sounds complex, but it’s what you expect good content to be. If you’re reading something, you’ll likely want it to come from someone with firsthand experience or expert knowledge. You don’t want it to be from a writer who has regurgitated what’s ranking.
Demonstrating this can be as simple as actually using a product you’re reviewing. Or having been to Milan if you’re recommending the best places to visit.
For example, most of our content is created by our marketing team, which consists of people with years of experience in the SEO industry. Like my colleague, Chris Haines, who has worked in SEO agencies for 10 years.
If you do not have the required experience or expertise, hire someone who has to create or review your content.
Nobody wants to read a chunk of text. Your content should be readable for your users.
I recommend following the ASMR formula:
In Google’s own words:
Use words that people would use to look for your content, and place those words in prominent locations on the page, such as the title and main heading of a page, and other descriptive locations such as alt text and link text.
You’ve done the first part via keyword research. Now, it’s time to make doubly sure that Google can understand your content. To do this, you should:
Google wants to reward pages with a good user experience. It explicitly states this in its guide on creating helpful content:
To provide a good user experience, you’ll want to:
A major part of SEO is helping Google understand the content of your pages. You can provide explicit clues about the meaning of a page for Google by using structured data.
Structured data is a standardized way to provide information about a webpage. It conforms to a particular format, which is universally recognized as schema markup.
For example, if I wanted to tell search engines my given name is “Si Quan,” I would have to use the givenName property and use it in its exact form in our code.
Learn more about how to implement schema markup in our guides below.
Links are an important Google ranking factor. But buying backlinks is against Google’s guidelines:
What should you do instead? Here are three ideas on how you can acquire backlinks the white hat way:
There are many pages you’d like links to. These are likely your “money pages,” e.g., product pages and landing pages. But nobody wants to link to them because they barely provide any value (unless they’re recommending your product).
So one way to build links to such pages is to use the Middleman Method:
How do you find good link bait ideas? The best way is to piggyback off what’s working for your competitors:
Look through the list to see what kinds of formats and topics resonate with people in your niche. For example, we can clearly see that studies and statistics are popular in the SEO space:
Guest blogging is when you create content for other websites. In the process, you’ll usually be allowed to link back to your website.
Here’s how you can find potential guest blogging opportunities:
Look through the results and pick out relevant sites you could guest write for. Find the right person’s email and pitch them.
Reactive PR is where you react quickly to time-sensitive opportunities to earn links. The idea is simple: Sign up for services where journalists are looking for sources, then be one of the first few to respond. That way, when the journalist selects your quote, they'll link back to your site.
In the past, it was common to use Help a Reporter Out (HARO). However, its parent company, Cision, has killed it and wrapped it into a new product.
Don't worry, however. There are still plenty of similar and free alternatives around, such as:
See more alternatives in our list of HARO alternatives.
White hat SEO is about the right mindset: putting users first, creating useful content, and not spamming people.
Some black hat SEOs may be able to get results in the short term, but white hat SEO is essential for long-term success.
Remember, white hat SEO is a marathon, not a sprint.
Any questions or comments? Let me know on Twitter.

Si Quan is a content marketer at Ahrefs. He has been involved in digital and content marketing for the past 5 years. Before he joined Ahrefs, he was content marketer at ReferralCandy, a 7-figure ARR SaaS company. Si Quan has spoken at some of the industry’s largest conferences in the Asia region, which includes TIECon and Digital Marketing Skill Share. He has also written for some of the industry’s most popular blogs like Sumo and SmartBlogger. His earliest work was marketing a product on Kickstarter, which eventually raised $150,000, more than double the original funding goal. The product was also featured on prominent tech websites, including Engadget, CNET and Digital Trends.
Join 284K marketers for weekly news, useful reads, industry updates, and the memes you didn’t know you needed.
Explore what’s inside the newsletter →