Title tags: how to write one that works for search and AI

If you only fixed one thing on a page, the title tag would be a good candidate. It's the clickable headline in search results, the label on a browser tab, the text that shows when your link gets shared, and one of the strongest hints an engine has about what your page is about. For something that influential, it's astonishing how often it's left as "Home" or the company name and nothing else.

Let's fix that.

What a title tag is

The title tag lives in your page's <head>:

<title>Product analytics for SaaS teams - Acme</title>

It's not the H1 you see on the page (though they should agree, more on that below). It's the metadata search engines show as the blue, clickable line in results, and it's what most social and chat previews fall back on when there's nothing better.

How long should it be?

Aim for roughly 10 to 60 characters. That's the band we check against, and it's not arbitrary: too short and you've wasted the space, too long and search engines truncate it with an ellipsis mid-thought.

"Roughly" matters, though. Don't pad a title to hit a number, and don't amputate a clear title to squeeze under 60. The character count is a guardrail, not the goal. A clear 64-character title beats a vague 45-character one every time.

What makes a good title

Why this matters for AI too

Answer engines read the title as a primary signal of what your page covers, and they weigh whether it agrees with your H1 and opening line. That's the entity clarity idea. A title that clearly states the topic helps a model match your page to the right question. A clever-but-vague title forces it to guess, and guessing rarely breaks your way.

So the title does double duty: it earns the human click in classic search and helps a machine understand and cite you. One sentence, two audiences.

A quick rewrite

Before:

Welcome | Acme

After:

Product analytics for SaaS teams - Acme

Same page. The second one tells a searcher exactly what they'll get, includes the words they likely searched, keeps the brand for recognition, and lands comfortably in the length window. That's the entire move.

Common mistakes

FAQ

Is the title tag the same as the H1?

No. The title tag is metadata shown in search results and tabs; the H1 is the visible heading on the page. They should cover the same topic, but they don't have to be word-for-word identical. The title often carries the brand; the H1 is usually cleaner.

What's the ideal title length?

Roughly 10–60 characters. Long enough to be descriptive, short enough to avoid truncation. Prioritize clarity over hitting an exact count.

Should every page have a different title?

Yes. Duplicate titles make pages compete and confuse engines about which to show.

Does the title still matter with AI search?

Very much. It's one of the clearest signals of a page's topic, and engines check whether it agrees with your H1 and content before trusting the page.

Key Takeaways


Want to see which of your pages have weak, missing, or duplicate titles? Run a free audit. Title quality is one of the first things we check. Browse the rest of the SEO explainers.

← Back to the blog