SEO tool

Meta Tag Generator

Fill in a few fields and get the HTML meta tags for your page: title, meta description, robots, canonical, viewport, plus Open Graph and X card tags. A live Google preview shows how the result will read.

Google result preview
https://example.com/page-url
Your Page Title Goes Here
Your meta description appears here. This is the summary Google may show under the title in search results.
0 charactersRecommended: 50–60
0 charactersRecommended: 150–160
HTML code

In short: a meta tag generator writes the tags that sit in a page's <head> and tell search engines and social networks what the page is called, how to describe it and whether to index it. Fill in the title, description and URL above, choose the options you need and paste the copied HTML into your template.

The HTML meta tags a page still needs in 2026

Most meta tags from the early web are dead weight now. Google ignores meta keywords, revisit-after and author for ranking. The short list below is what actually changes how a page is crawled, indexed and displayed.

TagWhat it doesExample
<title>The clickable headline in search results and the browser tab. Strong relevance signal.Trail Running Shoes for Women | Example Store
meta descriptionSuggested snippet text. Not a ranking factor, but drives click-through.Compare 48 trail models by grip, weight and drop. Free returns for 60 days.
meta robotsControls indexing and link following for this page.noindex, follow
link rel="canonical"Names the preferred URL when the same content is reachable at several addresses.https://example.com/trail-shoes/
meta viewportMakes the layout scale on phones. Required for a usable mobile page.width=device-width, initial-scale=1
meta charsetDeclares the text encoding. Must appear in the first 1024 bytes.utf-8

The canonical is technically a <link> element, not a meta tag, but it lives in the same place and fixes one of the most common indexing problems: tracking parameters and sort orders creating duplicate URLs.

Open Graph tags and X cards explained

Open Graph is the protocol Facebook introduced in 2010; LinkedIn, Slack, WhatsApp, Discord, iMessage and Pinterest now read it as well. The four properties that matter most are og:title, og:description, og:url and og:image. Add og:type (website for most pages, article for posts) and og:site_name for completeness. X looks for twitter:card and its own title and description tags, but falls back to the Open Graph values when they are missing, which is why this Open Graph tags generator only adds the X tags that carry different information.

<meta property="og:image" content="https://example.com/images/share-1200x630.jpg">
<meta name="twitter:card" content="summary_large_image">

Note the attribute difference: Open Graph uses property=, X and standard meta tags use name=. Use an absolute image URL, 1200×630 pixels, and keep the file under 5 MB so every network accepts it.

Choosing the right robots meta value

Leaving the robots tag out has the same effect as index, follow, so you only strictly need it when you want to restrict something. The generator always prints it so the intent is visible in the source.

ValueUse it for
index, followNormal pages you want in search results.
noindex, followThank-you pages, internal search results, thin tag archives. Links on the page are still crawled.
index, nofollowRare. Pages with many untrusted outbound links you cannot mark one by one.
noindex, nofollowStaging copies and private pages that should leave no footprint.

A noindex only works if Google can fetch the page. If the URL is also blocked in robots.txt, Google never sees the tag and may keep the URL indexed from external links. For PDFs and images, send the same directive as an X-Robots-Tag HTTP header instead.

Where to paste the generated meta tags

Everything goes inside <head>, ideally near the top and before scripts and stylesheets. On WordPress, Shopify and similar platforms an SEO plugin or the theme already prints a title, description and Open Graph tags, so pasting a second set creates duplicates and the crawler picks one at random. In that case enter the values in the plugin's fields instead. After publishing, run the URL through the Facebook Sharing Debugger and check the snippet in our SERP snippet preview to confirm the title fits.

Frequently asked questions

Do meta keywords still matter for SEO?

No. Google confirmed in 2009 that it ignores the meta keywords tag, and Bing treats a stuffed keywords tag as a possible spam signal. Leave it out. Your keywords belong in the title, the headings and the body copy.

Should every page have a unique meta description?

Yes. A description repeated across many pages tells searchers nothing about the page in front of them, and Google is likely to replace it with text from the page. If you cannot write unique descriptions for thousands of pages, it is better to leave the tag empty on those pages than to repeat one sentence.

How can I check which meta tags a page already has?

Open the page, press Ctrl+U (Cmd+Option+U on a Mac) to view the source, and search for meta and og:. Look for duplicates, which often appear when a theme and an SEO plugin both print tags. For pages rendered by JavaScript, use the URL Inspection tool in Google Search Console to see the HTML Google actually received.

Related tools: SERP Snippet Preview · Robots.txt Generator · Hreflang Generator