Free tool

Open Graph tag generator

Fill in the page and copy the tags.

A common size for the large card image is 1200×630. Resize an image.

Sketch

Title, description, domain, and image from the fields. Large image puts the picture on top. Summary puts a small picture beside the text. This is not a preview from X, LinkedIn, Slack, Discord, iMessage, or any other app. For those cards, use the link preview mockup.

Add an image URL to see it here.

Meta tags

Paste this into the head of the page. og:type is website. Change that to article if the page is a post. Twitter title, description, and image match the Open Graph values.

Length notes are in the title and description guide. Image URL rules are in the absolute image URL guide. Tags added only after JavaScript runs are invisible to preview clients — put this block in the first HTML response.