The image
- Size: 1200 × 630 pixels, a 1.91:1 ratio. Facebook, LinkedIn, X, Slack, Discord, and most chat apps crop or scale to this shape.
- Safe area: keep the title away from the edges; some apps crop the sides or round the corners.
- Format: PNG or JPEG. Use an absolute
https://URL in the tag, never a relative path. - Text: large enough to read as a small thumbnail in a feed. If the title wraps to three lines, shorten it.
The tags
<meta property="og:title" content="Your post title">
<meta property="og:description" content="One or two sentences.">
<meta property="og:image" content="https://example.com/og/post.png">
<meta property="og:url" content="https://example.com/post">
<meta name="twitter:card" content="summary_large_image">
og:type (article for a post) and a plain <title> and <meta name="description"> complete the set. X falls back to the og: tags when the twitter: ones are missing, but it needs twitter:card to show the large image.
Title and description length
Keep the title to about 60 characters and the description to about 160. Longer text is cut off in search results and link previews. See title and meta description length for the reasoning.
Making it from a Markdown post
- Paste the post into MD Publisher. The first heading becomes the suggested title, trimmed to 60 characters, and the description is kept within 160.
- Pick a card theme and add your author handle. The 1200 × 630 preview updates as you type.
- Download the PNG, the HTML head tags, or the Markdown with front matter for your platform: generic, dev.to, Hugo, Jekyll, or Astro. JSON-LD for the article comes with it.
Free or paid: the preview is free. Each download (the PNG, the head tags, or the Markdown) spends 1 credit and needs you to sign in. Every account gets 3 free downloads a month. For more, a 25-credit pack is a one-time $3.00, or Pro covers 300 downloads a month, $5.00 for 30 days.
Check it before you share
Networks cache the first preview they fetch. Test the published URL in a validator such as LinkedIn's Post Inspector or Facebook's Sharing Debugger before you post, or run a free check of the whole site in Adoneinu SEO Analyzer, which shows the search snippet with the social image.