Meta Tag Generator

Fill in the details of a page to generate its SEO, Open Graph and Twitter card tags. Copy the code into the page's head section.

Title—Aim for 50 to 60 characters
Description—Aim for 120 to 155 characters
Your meta tags

Meta tags tell search engines and social platforms what a page is about and how to show it. The title and meta description shape the search result, the canonical tag tells Google which URL is the main version of a page, the robots tag controls indexing, and Open Graph and Twitter tags decide how the link looks when it is shared on WhatsApp, Facebook, LinkedIn or X.

A few rules prevent most problems. Every page needs a unique title and description. The canonical URL should be the exact address you want indexed, matching the one in your sitemap and internal links. Share images look best at 1200 by 630 pixels and should be under a few megabytes. And never leave a noindex tag on a page you want in search; it is one of the most common reasons pages disappear from Google.

If your site runs on WordPress, an SEO plugin usually writes these tags for you, and this tool is most useful for checking what they should contain. For custom-built sites, landing page builders and static pages, paste the generated code inside the head section. To check how the title and description will look in results, use the Google SERP preview.

For the wider list of what to get right on each page, see my on-page SEO checklist and the technical SEO checklist.

Frequently asked questions

What meta tags does a page need?
At minimum a title, a meta description and a canonical link. Open Graph and Twitter tags control how the page looks when shared, and a robots tag is useful when you need to stop a page being indexed.
Do meta keywords still matter?
No. Google has ignored the meta keywords tag for ranking for many years, so this generator does not include it.
What size should an Open Graph image be?
1200 by 630 pixels is the common recommendation and displays well on most platforms.

Related guides

More free tools

See all 53 free tools

Tools save time. A good marketing system brings the customers. Get a free 30-minute review of your marketing, with a clear plan.

Book a strategy call