How to use the Meta Tag Generator
- Enter the page title. Keep it under about 60 characters so it is less likely to be cut off in search results.
- Write a meta description of roughly 140 to 160 characters that says what the page offers.
- Add the canonical URL, a social sharing image (1200 × 630 pixels is the common size), and your site name.
- Check the search preview, then copy the generated tags into the <head> of your page.
How it works
The tool outputs three groups of tags: the standard title, description, and canonical link that search engines read; Open Graph tags (og:title, og:description, og:image, og:url) used by Facebook, LinkedIn, and messaging apps; and Twitter card tags for X.
Values are escaped, so quotes and angle brackets in your text cannot break the HTML.
<title>…</title>
<meta name="description" content="…" />
<link rel="canonical" href="…" />
<meta property="og:image" content="…" />
<meta name="twitter:card" content="summary_large_image" />Worked example: a recipe page
The title "Sourdough Bread Recipe for Beginners | Example Bakery" is 53 characters, short enough to display in full in most results, with the main topic first and the brand last.
The 141-character description names what the reader gets (timings, photos, fixes), which is more likely to earn a click than a generic sentence.
Limitations
- Google may rewrite titles and descriptions it considers a poor match for the search. Good tags make that less likely but cannot prevent it.
- The preview is an approximation. Real result snippets depend on the device, the query, and pixel width.
- Meta keywords are not generated because major search engines ignore them.
Frequently asked questions
How long should a meta description be?
About 140 to 160 characters is a good target. Longer descriptions are usually cut off with an ellipsis on desktop and sooner on mobile.
Do meta descriptions affect rankings?
Not directly, but they influence whether people click your result, which matters for traffic.
What size should an Open Graph image be?
1200 × 630 pixels (a 1.91:1 ratio) works well for Facebook, LinkedIn, and most messaging apps. Keep important content away from the edges.
What is a canonical URL?
The preferred address for a page. It tells search engines which URL to index when the same content is reachable at several addresses.