Course contentsShow
← Web Development
Lesson 1827 of 2,98234. Metadata and SEOFree lesson

Meta Description Length and Truncation

Optimal character counts and how search engines handle descriptions that exceed limits.

Meta Description Length and Truncation

You'll learn how to write meta descriptions that display properly in search results without getting cut off mid-sentence.

Why Length Matters

Search engines display your meta description in search results as a preview of your page's content. Think of it like writing a tweet with a strict character limit—you need to convey your message before you run out of space. If your description is too long, search engines will truncate (cut off) it, often mid-sentence, replacing the end with an ellipsis ("...").

The Optimal Character Count

The generally accepted best practice is to keep meta descriptions between 150-160 characters. Google's desktop results typically show around 155-160 characters, while mobile displays slightly fewer. Going beyond this range risks your carefully crafted message being chopped off at exactly the wrong moment.

<!-- Good: 152 characters -->
<meta name="description" content="Learn web development from scratch with our comprehensive guide. Master HTML, CSS, and JavaScript through hands-on projects.">

<!-- Too long: 187 characters - will be truncated -->
<meta name="description" content="Learn web development from scratch with our comprehensive guide covering everything you need to know. Master HTML, CSS, JavaScript, and modern frameworks through hands-on projects and real-world examples.">

How Truncation Works

When your description exceeds the limit, search engines don't warn you—they simply cut it off wherever their character limit falls. This means important calls-to-action or key selling points at the end will disappear. Front-load your most important information to ensure it always displays.

Key Takeaway: Keep meta descriptions between 150-160 characters to avoid truncation, and place your most compelling content at the beginning where it's guaranteed to show.