MD Publisher guide

Open Graph image size and the tags a post needs

The short version: a 1200×630 PNG, a title under 60 characters, a description under 160, and five meta tags.

The image

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

  1. Paste the post into MD Publisher. The first heading becomes the suggested title, trimmed to 60 characters, and the description is kept within 160.
  2. Pick a card theme and add your author handle. The 1200 × 630 preview updates as you type.
  3. 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.

Try our other tools

One account and one credit pack work in all of them. Previews are free.

MD Converter Markdown to PDF, DOCX and HTML with a live preview. MD Chat A ChatGPT, Claude or Gemini answer as a clean Word file or PDF. MD Publisher Front matter, JSON-LD and social images for a post. MD Reverse HTML, DOCX, PDF or text back to Markdown. MD Slides An outline becomes a PDF, PowerPoint or HTML deck. MD Clip Save a web page, email or HTML as clean Markdown. MD Diagram Mermaid diagrams with a live editor and templates. MD Diff Compare two drafts, then accept or reject changes. Adoneinu SEO Analyzer A free audit of a public domain with a fix plan.