Skip to content

SEO022 · Title length

Severity: info

Flags a static <title> whose visible text is shorter than 30 or longer than 60 characters. Whitespace is trimmed and collapsed before counting, and length is measured in grapheme clusters (an emoji counts as one character); dynamic titles are not checked.

In static (CLI) analysis the length is measured from the literal text you wrote in your source (or a static title prop on svelte-meta-tags/svelte-seo); a titleTemplate is not measured, since the wrapped title only takes its final form at render time. Rendered analysis measures the actual output.

A title that is too short wastes the strongest on-page SEO signal; one that is too long is truncated in search results, hiding the end of your headline.

<svelte:head>
<title>Concise, descriptive page title (30–60 chars)</title>
</svelte:head>