BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

Meta tags: Which ones matter for SEO

Meta tags are HTML elements in a page's head that describe it to browsers, search engines and social sites. Google uses about ten and ignores the rest.

Monthly searches · meta tags
22.2k
Keyword research data
meta tags
Meta tags: Which ones matter for SEO
Click the image to view it full size

A meta tag is a <meta> element that carries one fact about the page, usually as a name and a value. Visitors don't see them on screen; they sit in the <head> with the page's title:

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Trail running shoes for wet ground | Example Store</title>
  <meta name="description" content="Waterproof trail shoes with deep grip for mud and wet rock.">
  <meta name="robots" content="noindex">
</head>

Browsers, search engines and social networks read the tags they understand and skip the rest. That's why you'll find dozens of meta tags in the wild, but only a handful affect how your page appears in Google.

The meta tags Google supports

Tag What it does
<meta name="description" content="..."> A short summary Google sometimes uses as the snippet in results. See meta description
<meta name="robots" content="..."> Rules for indexing and snippets for all search engines, such as noindex, nofollow or nosnippet. See noindex
<meta name="googlebot" content="..."> The same rules for Google only
<meta charset="utf-8"> The page's character encoding. See character encoding
<meta name="viewport" content="..."> How a mobile browser sizes the page. Google reads its presence as a sign the page is mobile friendly. See viewport
<meta name="google-site-verification" content="..."> Proves you own the site in Google Search Console
<meta name="googlebot" content="notranslate"> Asks Google not to offer a translation of the page in results
<meta name="google" content="nopagereadaloud"> Stops Google's text-to-speech services from reading the page aloud
<meta name="rating" content="adult"> Labels adult content so SafeSearch can filter it
<meta http-equiv="refresh" content="..."> Sends visitors to another URL after a delay. Google supports it but recommends a server-side 301 redirect instead

Two details about the robots tags: you don't need to write index, follow, because that's the default, and when tags conflict, Google follows the more restrictive one.

The title isn't a meta tag

The page title is a separate <title> element, even though SEO tools often call it the "meta title". It sits in the same <head>, and Google uses it more than any other source for the clickable headline of a result. See meta title.

Tags Google ignores

  • <meta name="keywords">. Google has said since 2009 that it doesn't use this tag in ranking, and its documentation now says it has no effect on indexing or ranking at all. The HTML standard itself notes that many search engines skip it because it was used to spam results. You can delete it.
  • The lang attribute, for language detection. Google works out the language from the page's text.
  • <link rel="next"> and <link rel="prev">. No longer used for indexing.
  • nositelinkssearchbox. The sitelinks search box it controlled no longer exists.

Google also ignores any other meta tag it doesn't support. That's harmless: other software may still use it.

Tags for social networks and other platforms

Some meta tags are written for platforms other than search engines. The most common are Open Graph tags, which use property instead of name and set the title, image and link shown when someone shares your page:

<meta property="og:title" content="Trail running shoes for wet ground">
<meta property="og:type" content="website">
<meta property="og:image" content="https://example.com/images/trail-shoes.jpg">
<meta property="og:url" content="https://example.com/trail-shoes">

The Open Graph protocol requires those four. Google also lists og:title among the sources it may use for a result's title. X has its own set, described under Twitter cards, and some platforms add single tags, such as Mastodon's fediverse:creator tag, which credits an article's author when it's shared there.

Getting meta tags right

  • Put them in the <head>, and keep the head valid HTML. Google asks for a valid head, with every tag closed, so that machines can read it.
  • Declare the charset early. The HTML standard requires the charset declaration within the first 1,024 bytes of the page, and UTF-8 is the only valid encoding for HTML5.
  • Use one description per page. The HTML standard allows only one, so check that your theme and an SEO plugin don't both add it.
  • Avoid adding or changing meta tags with JavaScript. Google recommends against it and asks you to test carefully if you must.
  • Copy verification codes exactly. Letter case doesn't matter in meta tags, except in google-site-verification.
  • Use an HTTP header for files that aren't HTML. A PDF has no <head>, so send robots rules in an X-Robots-Tag header instead.

If you use a CMS such as WordPress, look for an SEO or search settings page rather than editing the HTML. To confirm what Google sees, inspect the page with the URL Inspection tool in Search Console.

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.