How to Write Title Tags That Rank (With Examples)

Learn how to write title tags for SEO that rank and get picked by AI search. Real formulas, character limits, before-and-after examples, and common mistakes.

By Duy Nguyen, Founder, Bestservix·Updated Jul 23, 2026·4 min read

To write a title tag that ranks, put your primary keyword near the front, keep it under 60 characters, make it match what the searcher actually wants, and make it read like a human wrote it. That is the whole job. A good title tag is the single highest-leverage on-page element you control, because it doubles as your ranking signal and your click bait in the honest sense. Get it wrong and you lose traffic before anyone reads a word.

What is a title tag, and why does it matter?

A title tag is the HTML element that names your page. It shows up as the clickable blue headline in search results and in the browser tab. Google uses it to understand your topic. Increasingly, AI answer engines read it too when they decide which page to summarize or cite. If your title is vague, the AI may skip you and recommend a competitor with a clearer one instead.

How long should a title tag be?

Aim for 50 to 60 characters, or roughly 580 pixels. Google truncates anything longer with an ellipsis, so your strongest words get cut. Front-load the keyword so it survives even if the tail gets clipped. Do not pad to hit a number. A tight 42-character title beats a stuffed 60-character one.

The formula for a title tag that ranks

Most strong titles follow one pattern. Lead with the keyword, add a specific hook, and close with your brand when there is room.

  1. Primary keyword first. This is what the search engine and the reader scan for.
  2. A specific promise or modifier. Numbers, years, or words like "free", "examples", or "checklist" add pull.
  3. Brand at the end. Only if space allows. Drop it before you drop clarity.

Title tag examples: before and after

Here is the difference specificity makes. The weak versions are vague or brand-first. The strong versions front-load the keyword and promise something concrete.

  • Weak: Home | Acme Software → Strong: Invoice Software for Freelancers (Free Plan) | Acme
  • Weak: Our Blog Post About SEO Titles → Strong: How to Write Title Tags for SEO (With Examples)
  • Weak: Best Running Shoes → Strong: 7 Best Running Shoes for Flat Feet (2026 Tested)
Not sure which of your titles are too long, duplicated, or missing entirely? Run your page through the Page Audit tool. It flags every title tag issue on the page in seconds and shows you exactly what to fix, free.

Common title tag mistakes to avoid

  • Keyword stuffing. "SEO Titles, SEO Title Tags, Best SEO Titles" reads like spam and gets rewritten by Google.
  • Duplicate titles. Two pages with the same title compete with each other. Every page needs a unique one.
  • Leaving it blank. An empty title tag lets Google guess, and it usually guesses badly.
  • Brand-first on content pages. Nobody searches for your brand plus your blog post. Lead with the topic.
  • Clickbait that misleads. If the title overpromises, people bounce, and that hurts you over time.

How do title tags affect AI search visibility?

AI answer engines like ChatGPT and Perplexity scan titles to decide what a page is about before they cite it. A clear, keyword-forward title makes you an easy pick. A muddy one gets passed over, and the model recommends whoever wrote a cleaner title. If you care about being cited, see how to increase AI visibility and check where you stand with the AI visibility checker.

Your next step

Write titles like a human who knows exactly what the reader wants. Keyword first, under 60 characters, one specific promise, no stuffing, no duplicates. Then audit what you already have, because most sites have more broken titles than they think. Start with a free page audit and fix the worst offenders first. If you want to go deeper on keyword choice, read how to find long-tail keywords free.

Run ~42 SEO checks on any page, free.

Free to try, no credit card.

Open Page Audit