How to craft great page titles for SEO

Writing good page titles is an essential skill for anyone doing SEO. Why? Because the title tag is the first thing a user sees in search results, and it’s also one of the most important factors that Google uses to determine the topic of a page. This makes titles essential to SEO, and this article covers both why you need great page titles and how to create them.

Table of contents

Yoast SEO also checks if you’ve used your keyphrase in the SEO title. Read about how that check works, and how to use your keyphrase in the title.

What is a page title? 

Let’s start with the basics. If you look at the source of a page (right-click on the page, then choose View Page Source), you find a title in the head section. It looks like this:

<title>This is an example page title -</title>

This is the HTML title tag, which we also call the page title or SEO title. When you look something up in a search engine, you get a list of results that appear as snippets. The SEO title is part of the snippet together with, at least, a URL and a meta description. Of course, some rich results also display ratings and other additional information.

Therefore, the first thing people see, even before people get on your site, is the SEO title. Just to be clear, you should not confuse the SEO title with the main heading of the page. The main heading is what users see after they click on the SEO title and get on the page itself.

In tabbed browsers, you will usually also see the SEO title in the page tab, as shown in the image below.

Page title in a tab

What’s the (SEO) purpose of a page title?

The purpose of your SEO title is to make people click on it, come to your website and read your post or buy your product. If your title is not good enough, people will ignore it and move on to other results. So, there are two goals that a good title must achieve:

  1. it must help you rank for a keyword;
  2. it must make the user want to click through to your page.

Google uses the CTR (click-through rate) when deciding how relevant you are for a specific keyword. Even if you’re initially ranking well, but nobody is clicking on your result, your rankings might deteriorate over time. The opposite is also true. At first, you may be positioned lower in the search results. But, if your title gets people to click on it, Google will notice. Consequently, over time, your rankings may improve. So, in the long run, the page title has a direct influence on your ranking.

Now that you know about the importance of SEO titles, you’ll be pleased to know that Yoast SEO can help you craft them. In its SEO analysis, the plugin checks two crucial aspects of the SEO title: the width of your title, and whether you use your keyword. 

For pages that are completely SEO-friendly, you need Yoast SEO Premium! For example, its advanced text analysis helps you write naturally flowing texts and the internal linking tool and the content filters make your posts easy to find. Also, 404 errors become a thing of the past with the redirect manager, and the social previews give you full control of how your posts appear on social media. Get Yoast SEO Premium!

What does the SEO title width check in Yoast SEO do?

You find this assessment in the SEO tab of the Yoast SEO meta box. If you haven’t written a title yet, the assessment will remind you to do so. In addition, Yoast SEO checks the width of your title. When it is too long or too short, you will get a warning. A title with an optimal width gets you a green bullet in the analysis.

SEO title width check

How to write a title with an optimal width for SEO

Your title needs to have just the right width, otherwise, parts of it may be cut off in search results. How the result looks may vary, depending on the device you’re using. You can check how your SEO title will look in the search results in the Google preview in Yoast SEO. The tool uses the mobile version as a default, but you can also switch to view it in the desktop version.

Here’s a desktop result:

snippet preview desktop

And here’s the mobile result for the same URL:

snippet preview mobile

Have you noticed we talk about width rather than length? Why is that? Well, rather than using a character count, Google has a fixed width of 600px for the titles. If your title is wider than 600 px, Google will cut it off. You don’t want that! You should also avoid wasting space by making the title too short.

Luckily our snippet preview can help you out! The green line underneath the SEO title turns red when your title is too long, or too short. So keep an eye on that, and use the feedback to create great titles!

snippet preview yoast metabox

What does the keyphrase in title assessment in Yoast SEO do?

This assessment also appears in the SEO tab of the Yoast SEO meta box. Yoast SEO checks if you have used your keyphrase in the SEO title of your post or page. For the best results, you should try to add your keyphrase at the beginning of the SEO title. The plugin check for this is quite strict. Since Google uses the title to figure out your page’s topic, not having the focus keyphrase in the title may harm your rankings. In addition, potential visitors are much more likely to click on a search result that exactly matches what they were looking for.

Keyphrase in title check

How to use your keyphrase in the SEO title

Sometimes, when you’re optimizing for a high-competition keyword, everyone will have the keyword at the beginning of the page title. In that case, you can try making it stand out a bit by putting one or two words in front of your focus keyword, thereby slightly “indenting” your result. In Yoast SEO, for example, if you start your SEO title with “the”, “a”, “who” or some other function word, followed by your keyphrase, you’ll still get a green bullet.

Other times, like when you have a very long keyphrase, adding the complete keyphrase at the beginning doesn’t make sense. If your SEO title looks weird with the keyphrase at the beginning, try to add as much of the keyphrase as you can, as early in the SEO title as possible.

Want to learn all about how to write a text that’s pleasant to read and optimized for the search engines? Our SEO copywriting course can help you with that. You can get access to this course, and all of our other SEO courses, with Yoast SEO Premium. This also gives you access to extra features in the Yoast SEO plugin.

Go Premium and get free access to our SEO courses!

Learn how to write great content for SEO and unlock lots of features with Yoast SEO Premium:

Get Yoast SEO Premium Only $89 USD (ex VAT) for 1 site

Should you add your brand to the SEO title?

For quite some time it was a fashion among some SEOs to leave the site name out of the page title. The idea was that the “density” of the title mattered, and the site name wouldn’t help with that. Don’t do this. Your page title needs to have your brand in it, preferably in a recognizable way. If people search for a topic and see your brand several times, even if they don’t click on it the first time, they might click when they see you again in their next page of results.

If you don’t include your site name in your title tag, you’ll also run the risk of Google automatically changing the title for you. As explained in our article on why isn’t Google showing my page title, Google thinks it needs to be there too. If you want to read more about branding, be sure to read this post by Marieke: 5 tips on branding.

Optimizing page titles after publication

A while ago, while looking at our Google Search Analytics data for, I noticed that, while we ranked well for [wordpress security], we weren’t getting a lot of traffic for it. I optimized the page title and meta description for our WordPress security article and this increased traffic by over 30%. My changes to the title were done around the same time as the update – indicated by the vertical line in the graph below:

Effect of improving the title for the wordpress security article

The change was fairly simple. Instead of the title being:

WordPress Security • Yoast

I changed it to:

WordPress Security in a few easy steps! • Yoast

As you can see, this doesn’t necessarily improve the rankings of this page at all. From a keyword perspective, the title isn’t much better, but it is more enticing, and it did lead to many more clicks, which, of course, was the desired result.

Titles for social media

What might be a good title tag for SEO isn’t necessarily a good title for social media. In social media, keyword optimization is less important than creating a title that entices people to click.

For social media, you often don’t need to include the brand name in the title. This is especially true for Facebook and Twitter if you include some form of branding in your post image. Our social previews in Yoast SEO Premium can help you with that.

If you’re using Yoast SEO, you can have a separate title for Facebook, Twitter, and Google. Just enter the Google title in the Yoast SEO snippet editor. The Facebook and Twitter title can be entered on the social tab in their respective fields. If you don’t enter a specific Twitter title, Twitter will use the Facebook title instead.

Conclusion: Page titles – craft them well!

In conclusion, the main point of this article is to encourage you to invest a little more time in writing good page titles. It really is worth it. Going back and optimizing some of your page titles after publication might also be worthwhile. This is especially true if you’re already ranking well, but aren’t getting very many clicks.

7 Responses to How to craft great page titles for SEO

  1. Nhan
    Nhan  • 2 years ago

    I will follow your advice and to hope to get a good result soon.

  2. Anshul
    Anshul  • 2 years ago

    Adding keywords in our titles,URL & description is mandatory?

  3. Joe BLow
    Joe BLow  • 2 years ago

    It boggles the mind that in this day and age it’s still recommended to add the full site name to every title on the site. Doesn’t Google have more sophisticated methods of working out the real site name (like structured snippets,) and why would the all mighty algorithm prefer seeing ” | Acme Sports” a thousand times rather than some words that might actually mean something?

  4. Zoe Kent
    Zoe Kent  • 2 years ago

    This is a great article and really helpful for people starting up their own blogs. Page title optimization are an essential SEO tactic that many people fail to target. Since my company also handles digital marketing for our clients, I know the problems people face when trying to get their website ranked for google.

  5. Akash Deep
    Akash Deep  • 2 years ago

    Hey Joost, great post there. Does the separator we use in the title have an impact on SEO? I mean there are a lot of tools that advise against using “|” in the site title. Do you think certain separators have an advantage over the others?

    Thanks in advance :)

  6. Bob Aldons
    Bob Aldons  • 2 years ago

    A question please.
    If I continue to change titles on pages, does that effect the ongoing SEO?
    My page designer advised me :
    “Editing homepage title is easy you can do it as well by going in to edit the page section if you need I can send you a snapshot guide, however, as you have been doing your own SEO you should know that as soon as you change the title you will have to update the content as well accordingly. I would not alter your existing SEO to avoid any confusion as we had with GA.”
    I’d appreciate your feedback

  7. Chantal Pavlos
    Chantal Pavlos  • 2 years ago

    Very interesting article. Thank you. My problem with this is that the more specific you are with a title, the more complex it is to try to repeat the exact match into your post, i.e. “WordPress Security in a few easy steps!” The repetitions of the key phrase is not the problem, but for the content to still make sense, without looking too repetitive, is the real deal.
    Do you have any advice to provide?
    Kindest regards.
    WordPress Security in a few easy steps! • Yoast