Meta tags tell search engines and social platforms what your page is about. Get them right and you control how your content appears in search results and social feeds.
Not all meta tags matter for SEO. Here is the minimal set every page needs:
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Your Page Title — Brand Name</title>
<meta name="description" content="Compelling 150-160 character description." />
<link rel="canonical" href="https://example.com/page" />
</head>The <title> tag is the single most important on-page SEO element. It appears in search results, browser tabs, and social shares.
The meta description is not a ranking factor, but it directly affects click-through rate from search results. Treat it as ad copy.
<meta name="description" content="Learn how to optimize your meta tags for SEO and social sharing. Includes code examples and a free audit tool." />Check your meta tags across every page. Run a free audit with Dr Urls.
Check your siteThe canonical tag tells search engines which version of a page is the "original" when duplicate or similar content exists.
<link rel="canonical" href="https://example.com/page" />?sort=price should canonicalize to the base URLControl indexing and link-following behavior per page.
<!-- Allow indexing (default, no tag needed) -->
<meta name="robots" content="index, follow" />
<!-- Block indexing -->
<meta name="robots" content="noindex, follow" />
<!-- Block indexing and link following -->
<meta name="robots" content="noindex, nofollow" />
<!-- Prevent snippet in search results -->
<meta name="robots" content="nosnippet" />Open Graph tags control how your page appears when shared on Facebook, LinkedIn, Slack, and other platforms.
<meta property="og:type" content="article" />
<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Compelling description for social." />
<meta property="og:image" content="https://example.com/image.jpg" />
<meta property="og:url" content="https://example.com/page" />
<meta property="og:site_name" content="Brand Name" /><meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your Page Title" />
<meta name="twitter:description" content="Description for Twitter." />
<meta name="twitter:image" content="https://example.com/image.jpg" />
<meta name="twitter:site" content="@yourbrand" />Want to see how your site stacks up? Run a free audit now.
Check your siteThe viewport tag is essential for mobile-friendly pages. Without it, mobile browsers render the page at desktop width.
<meta name="viewport" content="width=device-width, initial-scale=1" />maximum-scale=1 or user-scalable=no as they break accessibility by preventing zoom.meta keywords (ignored by all major search engines since 2009)<head>Run a comprehensive audit across SEO, security, performance, and accessibility. No sign-up required.
Check your website