331+ free tools. No sign-up. No hidden fees. Explore the toolkit

Meta Tags Generator

Every page worth finding needs the same handful of tags: a title, a description, a canonical URL, and the Open Graph and Twitter tags that control how the page looks when it is shared.

Fill in the fields and get clean, copy-ready meta tag HTML — with live character counts that warn you before a title or description gets cut off in search results.

Your Meta Tags

Save to Pinterest

How It Works

Meta tags live in a page's <head> and tell search engines and social platforms what the page is about. Structured data lives in the head too — a JSON-LD schema generator builds the blocks that unlock rich results. This generator builds the full set from your inputs: the <title> element and meta name="description" for search results, a canonical <link> so search engines know the one true URL of the page, Open Graph tags (og:title, og:description, og:image, og:url, og:type) for Facebook, LinkedIn, WhatsApp and others, and Twitter Card tags for X. Every value is HTML-escaped, so quotes and ampersands in your text cannot break the tags.

Length matters because search engines cut long titles and descriptions off with an ellipsis. Google typically shows about 50–60 characters of a title (roughly 600 pixels) and about 150–160 characters of a description. The live counters under each field show the character count and warn you when you pass those ranges, so you can trim before you publish instead of discovering the cut-off in the search results.

The output is plain HTML, ready to paste into your page's <head> — or into a CMS field if your platform generates tags from one. Open Graph tags also control the preview card when a link is shared in messages and on social media, which is why the social image URL matters: without og:image, most platforms show no image at all.

Worked Example

The example page — "My Guide to Urban Gardening" (27 characters) with a 138-character description — generates 12 tags: the title element, the description, the canonical link, 5 Open Graph tags (title, description, type, url, image), and 4 Twitter tags (card, title, description, image). The title sits comfortably inside the 50–60 character range, and the description inside the 150–160 range, so neither is truncated in search results.

How to Use This Tool

Fill in the fields and click Generate Meta Tags. The HTML appears in the code box, ready to copy into your page.

  1. Write the title and description. Keep the title near 50–60 characters and the description near 150–160 — the counters warn you when you go over. Put the most important words first, because truncation cuts from the end.
  2. Add the URLs. The canonical URL is the page's own address. The social image should be a full URL to an image at least 1200 × 630 pixels for a large preview card.
  3. Choose the types and copy. Pick the Open Graph type (article for a blog post, product for a product page) and the Twitter card size, then Copy Tags and paste the block into your page's <head>.

The example on the page generates tags for an urban gardening guide. Reset restores it.

Tips and Practical Advice

Good meta tags are written for people first and search engines second — the click is the goal.

Frequently Asked Questions

What are meta tags?

Meta tags are HTML elements in a page's head that describe the page: the title and description for search results, the canonical URL, and Open Graph and Twitter Card tags that control how the page looks when shared on social media and in messages.

How long should a meta title and description be?

Aim for about 50–60 characters for the title (roughly 600 pixels wide) and 150–160 characters for the description. Longer titles and descriptions are cut off with an ellipsis in Google search results.

What is an Open Graph image?

The Open Graph image (og:image) is the picture shown when your page link is shared on Facebook, LinkedIn, WhatsApp and other platforms. Use an image at least 1200 × 630 pixels for a large, sharp preview card.

Where do I put the generated tags?

Paste the whole block into the <head> section of your page's HTML, before the closing </head> tag. If you use a CMS or site builder, paste them into its SEO or custom-code fields instead.

Last updated: