Meta Tag Generator

Generate the meta tags every page needs: title, description, canonical, robots, Open Graph and Twitter card tags. Fill in the fields, then copy the HTML into your page’s <head>.

0 / 60 characters
0 / 160 characters

The page’s preferred address. Also used as og:url.

Search engines

Index and follow are the defaults, so no tag is added for them.

Social sharing

How the link looks on LinkedIn, Slack, WhatsApp, Facebook and X.

Page type

X card

meta tags (HTML)

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!-- Add a title and description above to generate the rest -->

How to use the meta tag generator

1. Write the title and description

Give the page a specific title of about 50 to 60 characters and a description of one or two sentences. The counters turn red when you go past the length that usually fits in Google.

2. Add the canonical URL

Paste the full URL you want indexed for this page. The generator uses it for both the canonical tag and og:url.

3. Choose how search engines treat the page

Leave it on Index and Follow for any page you want in search. Switch to Noindex for pages like thank-you pages, internal search results or staging copies.

4. Add social sharing details

Add an image, your site name and your X handle so shared links show a proper preview card instead of a bare URL.

5. Paste the tags into your page

Copy the output into the <head> of your page or template. If your CMS already outputs some of these tags, don’t add them twice.

Which meta tags matter for SEO?

Title tag

The title tag is usually what Google shows as the clickable headline in search results. It’s also one of the main ways Google works out what the page is about. Every page needs a unique one.

Meta description

Google doesn’t use the description for ranking, but often shows it under the title. A clear description earns more clicks than one Google pieces together from random sentences on the page.

Canonical tag

Tells search engines which URL is the main version when the same content appears at several addresses. Google treats it as a strong hint rather than a command.

Meta robots

Controls whether a page can appear in search (index or noindex) and whether its links are followed (follow or nofollow).

Charset and viewport

Not ranking signals, but every page needs them. Charset makes text render correctly, and viewport makes the page display properly on phones.

Open Graph and Twitter card tags

Open Graph tags control how your link looks when it’s shared on LinkedIn, Facebook, Slack, WhatsApp and most other apps. They don’t affect rankings, but a good preview gets more clicks from social posts and messages.

Open Graph image size

Use an image of 1200 × 630 pixels. That ratio fills the large preview card on most platforms without awkward cropping. Keep important text away from the edges.

Why there are only two Twitter tags

X uses your Open Graph title, description and image when its own tags are missing. All it needs on top is twitter:card to choose the card size, plus twitter:site if you want to credit your account.

Meta tags you can skip

Meta keywords

Google announced in 2009 that it doesn’t use the keywords tag. Filling it in also shows competitors exactly which keywords you’re targeting.

“index, follow” and revisit-after

Index and follow are what search engines do anyway, so the tag adds nothing. Google doesn’t support revisit-after; it decides how often to crawl on its own.

Frequently asked questions

Where do meta tags go?

Inside the <head> section of the page's HTML, before </head>. Most CMSs and SEO plugins have fields for the title and description, so you only need to paste raw tags if you're editing the template yourself.

Do meta tags help SEO?

Some do. The title tag is one of the clearest signals of what a page is about. The meta description doesn't affect rankings but can earn more clicks. Robots and canonical tags control what gets indexed. The meta keywords tag does nothing for Google.

What's the difference between noindex and nofollow?

noindex keeps the page itself out of search results. nofollow tells search engines not to follow the links on the page. You can use either one alone, or both together.

Do I need both Open Graph and Twitter tags?

You need Open Graph tags, plus twitter:card. X reads the Open Graph title, description and image when its own tags are missing, so repeating them as twitter: tags adds nothing. That's why this generator only adds the card type and your handle.

Should the canonical tag point to the page itself?

Yes, in most cases. A self-referencing canonical tells Google which URL you prefer when the same page is reachable through tracking parameters, trailing slashes or other variations.

Is anything I enter sent to a server?

No. The generator runs entirely in your browser. Nothing you type leaves your device.

More free SEO tools

See all free SEO tools