HomeSEO ToolsMeta Tag Generator
🔍 Search Engine & Social Media Tags

SEO Meta Tag & Open Graph Generator

Generate complete HTML head title tags, meta descriptions, Open Graph card tags, and Twitter Card tags, ready to paste into your page head.

Generated HTML Head Tags
<!-- Primary Meta Tags -->
<title>My Awesome Web Application</title>
<meta name="description" content="Discover free online calculators, PDF conversion tools, and web utilities.">
<link rel="canonical" href="https://example.com">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com">
<meta property="og:title" content="My Awesome Web Application">
<meta property="og:description" content="Discover free online calculators, PDF conversion tools, and web utilities.">
<meta property="og:image" content="https://example.com/og-image.png">

<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="My Awesome Web Application">
<meta name="twitter:description" content="Discover free online calculators, PDF conversion tools, and web utilities.">
<meta name="twitter:image" content="https://example.com/og-image.png">

What each generated tag is for

The title element names the page in browser tabs and bookmarks, and search engines use it as the main candidate for the clickable headline in results. The meta description is a summary that search engines may show under that headline. Google does not use the description as a ranking factor and may replace it with text from the page if it matches the search better, but a clear description still influences whether people click.

When the Canonical URL field is filled in, the snippet includes a link rel="canonical" element, which tells search engines which address is the main version of the page when the same content is reachable at several URLs (for example with tracking parameters). The same address is used for og:url.

The og: tags follow the Open Graph protocol, which Facebook introduced and which LinkedIn, WhatsApp, Slack and many other apps read to build link previews. The twitter: tags define an X (Twitter) card and use name= as X's documentation specifies; summary_large_image asks for a preview with a large image above the title, and the generator falls back to the plain summary card when no image URL is given.

Worked example

For a small online shop, a title such as 'Handmade Leather Wallets | Oakline Studio' is 41 characters, short enough to display in full in most search results. A description such as 'Slim leather wallets stitched by hand in small batches. Free returns within 30 days and a two-year guarantee on every stitch.' is 125 characters and states what the page sells and why to choose it.

The same title and description fill the og: and twitter: fields, so the preview in a chat app matches what searchers see. Add an absolute image URL starting with https://; a relative path such as /images/og.png will not load in previews.

Preview images that display correctly

An image of 1200 × 630 pixels (a ratio of about 1.91 to 1) is the size most widely used for Open Graph previews, and it also works for X's large image card, which crops toward a 2 to 1 ratio. Keep important text and logos away from the edges so cropping does not cut them off.

Platforms cache previews. After changing an image or title, use Facebook's Sharing Debugger or LinkedIn's Post Inspector to fetch the page again; otherwise the old preview can keep appearing for days.

Before pasting the code into your page

The generator escapes special characters for you: &, <, > and double quotes in any field are written as &amp;, &lt;, &gt; and &quot;, so a title such as 'Tom & Jerry's "Best" Bits' cannot break the HTML. Empty optional fields (description, canonical URL, image) are left out rather than written as empty tags. A few details are still up to you:

  • Absolute URLs. The canonical and image fields are inserted as typed, so make sure they start with https:// and point to the live address, not a staging site.
  • One set per page. Every page needs its own title, description and URL; copying the homepage tags site-wide makes every link preview look the same.

Writing titles and descriptions that earn the click

Put the most important words at the start of the title, because longer titles are cut off at the end in search results. Brand names usually go last, separated by a pipe or a dash, unless the brand is the main reason people search.

Write the description as a short pitch for that specific page: what it offers, and one concrete detail such as a price, a time saving or a guarantee. Avoid repeating the title word for word and avoid lists of keywords, which search engines are likely to ignore and replace with text from the page.

SEO Meta Tag Generator: frequently asked questions

Does the meta description affect Google rankings?

No. Google has stated that the meta description is not a ranking factor. It matters because a relevant, specific description can persuade more people to click the result.

Why does Google show a different title from the one I wrote?

Google rewrites titles it considers too long, stuffed with keywords, or a poor match for the page content or the search. Keeping the title concise and consistent with the page's main heading makes rewrites less likely.

Do I need Twitter card tags if I already have Open Graph tags?

X falls back to og:title, og:description and og:image when the matching twitter: tags are missing, but it needs twitter:card to know which card layout to use. Including the full set, as this generator does, avoids surprises.

Are meta keywords still worth adding?

No. Google has ignored the meta keywords tag for ranking for many years, and it only shows competitors which terms you are targeting.

Why does an old image still show when I share my link?

Social platforms cache the preview from the first time the URL was shared. Run the URL through the platform's debugging tool to refresh it, and if you replaced the image file, give the new file a different name so the cached copy is not reused.

All seo tools & web guides