Meta tag generator
Title, description and social cards, with a preview of the result.
Paste into <head>
<meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" />
Questions
- Why 60 and 160 characters?
- Those are roughly where Google truncates a title and a description. It measures pixels rather than characters, so it is a guide and not a rule, but going well past them means the end of your sentence is replaced by an ellipsis.
- Does the description affect ranking?
- Not directly. It affects whether someone clicks, which is the thing you actually wanted. Google also rewrites it fairly often when it thinks the page answers the query differently.
- What size should the share image be?
- 1200 by 630 pixels. That fits the large card on X, LinkedIn and Facebook without cropping anything important.
- Why is the Twitter card set to summary_large_image?
- Because the default renders a small square thumbnail beside the text, which wastes the picture. The tool only sets it when you have actually supplied an image.