Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Meta Tags: Telling Search Engines What Your Page Is in 2027

Meta tags are HTML snippets that describe a page to search engines. Learn the key types, best practices, and how they matter for SEO and AI search.

Sorank customerSorank customerThomas Girauc, Sorank customerCelio Fabiano, Sorank customerSorank customerXavier Breull, Sorank customer
+ 9'000 Subscribers
Meta Tags: Telling Search Engines What Your Page Is in 2027
Notification: your site reached 20K clicks from Google Search in 28 days

Tools

On this page

Summary

Meta tags are snippets of HTML placed in a page's head section that describe the page to search engines and browsers, controlling things like how it appears in results, whether it gets indexed, and how it renders on mobile.

Want to go further? Ask

Meta tags are HTML elements that provide information about a webpage to search engines and browsers. They live in the head section of the page, above the visible content, so users never see them directly, but they quietly shape how the page is understood, indexed, and displayed.

Despite being invisible on the page, meta tags are a foundational part of on-page SEO. The right tags tell search engines what a page is about, how it should be presented in results, and how crawlers should treat it, which makes them an essential lever for both visibility and click-through.

What are meta tags?

Meta tags are small pieces of code that describe aspects of a page. Some communicate with search engines, some with browsers, and some with social platforms. Because they sit in the head, they act as metadata: information about the content rather than the content itself.

Their core job is to give machines clear instructions and context. A search engine reads them to help decide how to index and display a page, while a browser reads others to render it correctly. Used well, meta tags reinforce the signals in your structured content and on-page optimization.

The title tag

The title tag, often called the meta title, tells search engines the title of a page and usually appears as the clickable headline in results. It is one of the most important on-page elements because it signals the page topic for ranking and is the first thing many users read before deciding to click.

Best practice is to keep titles around 50 to 60 characters so they do not get truncated, include your primary keyword naturally, match search intent, and keep each title unique across the site. A clear, compelling title is one of the most direct ways to influence your click-through rate.

The meta description

The meta description summarizes a page's content for both search engines and users. It can appear as the snippet beneath the title in results, where its job is to draw attention and prompt a click. Google does not always use it, and may rewrite it to better match a specific query.

Even though it is not a direct ranking factor, a strong description improves click-through by making the result more appealing. Aim for a concise summary, often around 105 to 155 characters depending on the device, include relevant terms, add action-oriented language, and keep it unique per page. Crafting these well is the everyday work of refining SERP features presentation.

The robots meta tag

The robots meta tag tells search engine crawlers how to treat a page: whether to index it and whether to follow its links. Common values include noindex, which keeps a page out of the index, and nofollow, which tells engines not to pass signals through its links. It is more precise than the site-wide robots.txt file because it controls individual pages.

Google supports both a generic robots tag and a googlebot-specific version, and when directives conflict, the most restrictive rule wins. Other useful directives include nosnippet and noarchive. These controls connect closely to how a page participates in crawling and indexing.

Other important meta tags

Several other meta tags matter. The viewport tag tells the browser how to render a page on mobile, and its presence signals mobile friendliness, which affects how the page appears in mobile results. The charset, or content type, tag sets the character encoding, with Unicode and UTF-8 recommended so accented and non-ASCII characters display correctly.

There are also specialized tags Google supports, such as google-site-verification to confirm ownership in Search Console, notranslate to prevent translated versions, and a rating tag for SafeSearch. Open Graph tags like og:title, og:description, and og:image do not affect Google rankings but control how your page looks when shared on social media.

Why meta tags matter for SEO

Meta tags influence three things: how search engines understand a page, how they display it, and how crawlers treat it. Titles and descriptions shape your appearance in results and your click-through rate, robots tags govern indexing, and viewport and charset tags affect rendering and mobile experience.

Getting them right is low-effort, high-leverage on-page work. Because titles and descriptions are your storefront in the results, optimizing them, guided by focused keyword research and content planning, can lift traffic without changing the underlying content. Clean, unique tags across the site also help engines avoid confusion and duplication.

In AI search, meta tags still help machines parse and frame your content. Titles and descriptions give an assistant a concise, structured summary of what a page covers, which supports accurate understanding and citation. Robots directives also govern whether your content is available to be indexed and surfaced at all.

While the AIs read the full body to build answers, clear metadata reduces ambiguity about a page's purpose. As part of broader AI search visibility, well-written meta tags reinforce the same clarity that helps both traditional and AI systems present your content correctly.

Do meta tags improve SEO?

Yes, but indirectly. Meta tags rarely lift a page in the rankings on their own. They help in three ways: they tell search engines what the page is about, they make your listing more likely to be clicked, and they control whether the page gets indexed at all. The title tag does most of the work.

Each tag affects a different part of the process. This table shows where each one has an effect.

TagRankingsClicksIndexing
Title tagLight topic signalHighNone
Meta descriptionNoneMedium, when Google uses itNone
Robots noindexIndirect, since a page that is not indexed cannot rankNoneDecides whether the page is indexed
ViewportIndirect, through mobile renderingNoneNone

Google writes your snippet

Your meta description is a suggestion, not a guarantee. Google's snippet guidance says it “will sometimes use” the description, when it “might give users a more accurate description of the page than content taken directly from the page”. Write it for the reader, with the same topic as the page. Strings of keywords are “less likely to be displayed as a snippet”.

Titles work the same way. Google picks the title link from several sources, including the <title> element, the main heading (<h1>), og:title, and the anchor text of links that point to the page. When these disagree, Google can show a different line from the one you intended, so keep them aligned. The title link documentation lists these sources.

<title>Meta Tags for SEO: What Each One Does</title>
<h1>Meta Tags for SEO: What Each One Does</h1>

Check each page

  • Every page has its own <title>. Google says every page should have one.
  • The title names the topic. A label such as “Home” tells neither Google nor the reader anything.
  • Titles and descriptions are not copied from page to page with one word changed.
  • noindex appears only on pages you want out of search.

To see how your title and description will look before you publish, use the SERP preview tool. For the full list of on-page checks, read the technical SEO checklist, and for title rules, the title tag guide.

Twitter card meta tags tell X (formerly Twitter) how to show a page when someone shares its link. You add a few tags to the head section, and X builds a preview with a title, a description and an image. Set twitter:card explicitly, then pick the card type that fits your picture.

The four tags to set

Four tags cover most cases. twitter:card sets the card type. twitter:title and twitter:description hold the text of the preview. twitter:image points to the picture shown with the text.

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Meta Tags: Telling Search Engines What Your Page Is">
<meta name="twitter:description" content="The meta tags that shape how your page looks in results and on social media.">
<meta name="twitter:image" content="https://www.example.com/images/meta-tags-card.jpg">

Summary or summary_large_image

The summary card shows a small square image beside the title and text. The summary_large_image card shows a wide image above the text, which takes more space in the feed. Use the large version when your image can carry the post. Use summary when your image is a logo or a small icon.

Reuse your Open Graph values

If the page already has og:title, og:description and og:image, copy their values into the matching twitter: tags. That way Facebook, LinkedIn and X show the same message. Keep the image wide and the main subject near the centre, because previews can crop the edges.

Mistakes to avoid

  • Misspelling a card value, so X does not recognize the card type.
  • Using a relative path for twitter:image, which X cannot load from another site.
  • Setting the tags only on the homepage, so every other page shares the same generic preview.
  • Using an image that is too small for the large card, which can force a smaller preview.

Tip

After you publish a page, paste its URL into the X composer before you share it widely. You see the preview without posting anything.

To plan the social side of your content, read social media marketing. For the X channel itself, see Twitter marketing. To write the tags for a page, use the free meta tags generator.

Conclusion

Meta tags are the invisible HTML snippets that tell search engines and browsers what a page is and how to handle it. The title and meta description shape how you appear in results and influence clicks, robots tags control indexing, and tags like viewport and charset ensure correct rendering.

To go further, connect meta tag work with improving your click-through rate and managing crawling and indexing. Reference sources: Semrush and Google.

How the viewport meta tag makes a page readable on phones

The viewport meta tag tells a mobile browser how wide to draw your page. Add width=device-width, initial-scale=1 to the head, and the page renders at the real width of the screen instead of a shrunken desktop canvas. Without it, your responsive layout may never activate on a phone.

Phones without the tag often draw the page in a virtual window wider than the screen, then shrink the result to fit. MDN gives the example of a 640px screen rendering a page at a virtual width of 980px. The text ends up tiny, and the media queries that switch to a mobile layout at 640px or 480px never apply, because the browser believes it is 980px wide.

The tag and its values

Place this line in the head section, next to your other meta tags:

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

width=device-width sets the layout width to the physical width of the screen in CSS pixels. initial-scale=1 sets the zoom level on load to 1, which means no zoom. The scale can range from 0.0 to 10.0, but 1 is the right value for most pages.

Common mistakes

  • Setting a fixed width such as width=980, which brings back the desktop layout on phones.
  • Adding two viewport tags with different values, so the browser has to choose between them.
  • Blocking zoom with user-scalable=no, which stops people with low vision from enlarging your text.
  • Leaving the tag off templates or landing pages, so only part of the site renders correctly on mobile.

To check your work, open the page on a real phone or in your browser's device mode. If text runs off the screen or the page scrolls sideways, the tag is missing or a fixed width is breaking the layout.

For the wider picture, read mobile SEO and mobile-first indexing. The attribute reference on MDN Web Docs lists every value and its fallback behavior.

Sources

Frequently asked questions

What is the difference between a title tag and a meta description?

The title tag is the page title that usually appears as the clickable headline in search results and signals the page topic for ranking. The meta description is a short summary that can appear as the snippet beneath the title. The title carries more SEO weight, while the description mainly influences whether users click.

Are meta tags a direct ranking factor?

Some are more influential than others. The title tag is an important on-page signal that helps with ranking. The meta description is not a direct ranking factor, but a compelling one improves click-through rate. Robots meta tags do not rank a page but control whether it is indexed and how its links are treated, which affects visibility.

Do meta tags still matter for AI search?

Yes. Titles and descriptions give AI assistants a concise, structured summary of a page, which supports accurate understanding and citation. Robots directives also determine whether your content can be indexed and surfaced at all. While the AIs read the full body, clear metadata reduces ambiguity about what each page is for.

Our Blog for Ambitious Company

Testimonials from ambitious founders

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 visits in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel