Meta Tag Generator
Generate perfect meta tags for SEO, Facebook and Twitter
Google Preview
Your Page Title
https://yoursite.com
Your page description will appear here.
Generated HTML
<!-- Primary Meta Tags --> <title>Your Page Title</title> <meta name="title" content="Your Page Title"> <meta name="description" content="Your page description"> <!-- Open Graph / Facebook --> <meta property="og:type" content="website"> <meta property="og:url" content="https://yoursite.com"> <meta property="og:title" content="Your Page Title"> <meta property="og:description" content="Your page description"> <!-- Twitter --> <meta property="twitter:card" content="summary_large_image"> <meta property="twitter:url" content="https://yoursite.com"> <meta property="twitter:title" content="Your Page Title"> <meta property="twitter:description" content="Your page description">
What are Meta Tags?
Meta tags are snippets of HTML code that provide information about a web page to search engines and social media platforms. They are placed in the head section of your HTML and are not visible to visitors. Meta tags help search engines understand your page and influence how it appears in search results and social media shares.
Frequently Asked Questions
What is the ideal meta title length?
The ideal meta title length is 50 to 60 characters. Google typically displays the first 60 characters of a title tag. Titles longer than 60 characters may be cut off in search results.
What is the ideal meta description length?
The ideal meta description length is 150 to 160 characters. Google typically shows up to 160 characters in search results. A good meta description should summarize the page content and include a call to action.
What are Open Graph tags?
Open Graph tags control how your page appears when shared on Facebook, LinkedIn and other social media platforms. They let you set a custom title, description and image for social shares.
Do meta keywords still matter for SEO?
No, Google stopped using meta keywords as a ranking factor in 2009. However other search engines like Bing may still consider them. Focus on your meta title and description instead as these directly affect click-through rates.
Is this meta tag generator free?
Yes, completely free with no sign up required.
You Might Also Like
Meta tag lengths that fit in search results
Google does not cut titles and descriptions at a character count; it cuts at a pixel width, about 600 pixels for the title on desktop and about 920 for the description. Character limits are a proxy for that width, and the generator above shows both the count and a width estimate. The table gives the practical ranges.
| Tag | Safe length | Hard behaviour | Notes |
|---|---|---|---|
| Title | 50 to 60 characters (under 600 px) | Truncated with an ellipsis, or rewritten by Google | Google rewrites about 60% of titles; a title that matches the H1 is rewritten least |
| Meta description | 120 to 155 characters | Truncated; often replaced with page text that matches the query | Mobile shows about 120, desktop about 155 |
| Open Graph title | 60 to 90 characters | Cut by each platform | Facebook shows up to 88, LinkedIn about 70 |
| Open Graph description | 2 to 4 sentences, under 200 characters | Cut by each platform | Facebook shows 2 to 3 lines |
| OG image | 1200 x 630 pixels | Cropped if the ratio is off | Under 8 MB; 1.91:1 ratio |
| Twitter card title | 70 characters | Cut | summary_large_image for articles |
| URL slug | 3 to 5 words | Not cut, but long slugs are shortened in display | Hyphens, lowercase, no stop words |
Widths assume a typical mix of letters; capitals and W are wide, i and l are narrow, so 60 characters of capitals can overflow while 65 lowercase characters fit.
Worked example
Title: "Sentence Counter: Count Sentences in Text Free" is 46 characters and about 440 pixels, with the keyword first and room to spare. Description: "Paste text to count sentences and average sentence length instantly. Free tool that flags your longest and shortest sentences." is 126 characters, shows in full on mobile, and contains the terms a searcher types. Adding the brand to the title ("| WordCounterTool") takes it to 64 characters and risks the ellipsis for no ranking gain; Google appends the site name itself.
What a description is for
It does not affect ranking. It affects whether the result is clicked, and Google uses it only when it matches the query; otherwise it pulls a snippet from the page. Write it as the one-sentence answer the searcher wants plus what they get on the page, with the main term in the first 100 characters so it is bolded in results. One description per page; duplicate descriptions across pages are flagged in Search Console and usually replaced.
Tags that no longer matter
The meta keywords tag has been ignored by Google since 2009 and by Bing since 2014. The generator above omits it. Robots meta tags (index, follow) still matter and default to index, follow when absent. Canonical tags are not meta tags but belong in the same head block and prevent duplicate-URL problems, which is a larger ranking issue than any description length.
Checking the result in search
After publishing, search the page's exact title in quotes to see how Google displays it. If the title shown differs from the one written, Google rewrote it, which usually means it was too long, keyword-stuffed or did not match the H1. If the description shown is page text rather than the meta description, the description did not match the query that triggered the result, which is normal for pages that rank for many queries and nothing to fix. Search Console's Pages report shows which URLs Google has rewritten most, and those are the titles to shorten first. The generator produces the title, description, Open Graph and Twitter tags in one block to paste into the head.