Social sharing

Meta tags for SEO: which ones actually matter

Meta tags are snippets of code in a page's head that describe it to browsers and search engines. A handful matter a lot. Several old ones do nothing. Here's the short list.

Meta tags live in the <head> of a page. Visitors don't see them, but search engines, browsers and social networks read them to decide how to show and handle the page. You don't need many, but the ones you need should be right.

The meta tags that matter

1. Title tag

Technically an element, not a meta tag, but it belongs on the list. It's the headline in search results and one of the strongest on-page signals.

<title>Waterproof Trail Running Shoes | Example Co</title>

See title tag length.

2. Meta description

Doesn't affect ranking, but often becomes your snippet in search results.

<meta name="description" content="Grippy, waterproof trail shoes from $129. Free returns for 60 days.">

See meta description length.

3. Meta robots

Controls indexing and snippets. Only needed when you want to change the default (index, follow).

<meta name="robots" content="noindex">

See the noindex tag.

Also important

4. Viewport

Makes the page display properly on phones. Essential since Google indexes the mobile version.

<meta name="viewport" content="width=device-width, initial-scale=1">

5. Canonical link

A link element rather than a meta tag, but it does a similar job: it tells Google which address is the main version. See what is a canonical tag.

<link rel="canonical" href="https://example.com/trail-shoes/">

6. Charset

Tells the browser how to read the text. Put it first in the head.

<meta charset="utf-8">

7. Open Graph and Twitter tags

Control link previews on social media and messaging apps. See Open Graph tags.

8. Hreflang

Only for sites with several language or country versions. See hreflang tags.

Meta tags you can skip

TagWhy skip it
meta keywordsGoogle has ignored it for well over a decade
meta revisit-afterNever supported by Google
meta rating (except adult content)Only used to flag explicit content for SafeSearch
meta authorNot used for ranking; use Article schema for authors
meta generatorJust reveals your CMS

Free tool

Meta Tag Generator

Fill in your page details and copy every meta tag you need, with live previews for Google, Facebook, X and LinkedIn.

Free, no sign-up. Everything runs in your browser.

Open the full Meta Tag Generator page →

A complete head for a typical page

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Waterproof Trail Running Shoes | Example Co</title>
<meta name="description" content="Grippy, waterproof trail shoes from $129. Free returns for 60 days.">
<link rel="canonical" href="https://example.com/trail-shoes/">
<meta property="og:title" content="Waterproof Trail Running Shoes">
<meta property="og:description" content="Grippy, waterproof and light. Free returns for 60 days.">
<meta property="og:image" content="https://example.com/img/og-trail-shoes.jpg">
<meta property="og:url" content="https://example.com/trail-shoes/">
<meta name="twitter:card" content="summary_large_image">

Check your meta tags

Run any page through the free SEO checker to see its title, description, robots, canonical and viewport tags in one go, with anything missing flagged.

Questions

Which meta tags are important for SEO?

The title tag, meta description, meta robots and viewport, plus the canonical link. Open Graph tags matter for social sharing.

Does Google still use the meta keywords tag?

No. Google has ignored meta keywords for well over a decade. You can leave it out.

Where do meta tags go?

Inside the <head> section of the page's HTML, before the <body>.

Do meta tags affect rankings?

The title tag does, strongly. The meta description affects clicks rather than rankings. Robots and canonical tags control what gets indexed.

See what to fix on your website today.

Free plan, no credit card. Your first fixes in about a minute.