Guide
Previewing link cards and writing Open Graph and X card tags
When someone pastes your link into a chat or a post, the platform does not show the page. It fetches the page in the background, reads a few meta tags and draws a small card from them: a picture, a title and a short description. If the tags are missing or wrong, the card shows a random image or a blank box, and the link gets fewer clicks. This tool lets you type the details, see approximate cards for the main platforms and copy the tags for your page.
The tags that matter
Open Graph is a convention started by Facebook that most platforms now read. The core tags are og:title, og:description, og:url, og:image and og:type, with og:site_name and og:image:alt as helpful extras. X (formerly Twitter) has its own twitter:card, twitter:title, twitter:description and twitter:image tags and uses Open Graph values when its own are absent. The tool writes both sets from one form, so a single set of details drives every card. Empty fields are left out instead of producing blank tags.
What the three previews show
The first card follows the large-image layout shared by Facebook and LinkedIn: the picture across the top, the domain in capitals, the title and then the description. The second follows an X card and switches between the large image and the small summary layout when you change the card type. The third is a compact row with a square thumbnail, in the style of WhatsApp and Slack. All three cut long text with an ellipsis after two lines. Real platforms differ in details such as corner radius and line counts, so use the cards to judge the overall impression and not the pixels.
The checks
The title is flagged when it is empty or longer than 60 characters, because longer titles are often cut. The description should be between 50 and 160 characters. The page address must start with https://, and so must the image address, since crawlers cannot read a file that sits on your own computer. If you add alt text, the tool writes og:image:alt and twitter:image:alt, which also helps people who use screen readers.
Checking the picture
Choose an image from your device and the tool reads its pixel size, which never leaves the browser. It then compares the size with the common target of 1200 × 630 pixels, a ratio of about 1.91 to 1. A 600 × 600 square, for instance, is flagged, because platforms may crop it or show it as a small thumbnail beside the text.
A worked example
Press Sample to load a page about trail running shoes: the title “Trail Running Shoes: How to Choose the Right Pair” is 49 characters, the description is 119 characters and the card type is the large image. The tags output has 13 lines: og:type set to article, then title, description, url, site name, image and image alt, followed by the twitter:card set to summary_large_image, its title, description, image, image alt and twitter:site. Choosing a 1200 × 630 picture adds a line saying so to the checks, and choosing a 600 × 600 picture changes that line to a warning.
Limits
The tool does not fetch your live page and cannot tell what a platform has cached. After you publish, use each platform’s own debugging tool to refresh its stored copy, because cards are cached for a long time. Crop rules also change, and some apps ignore the card type. Treat the output as a clean starting point for the head of your page.
Related tools
- SERP Snippet Simulator previews the search-result version of the same title and description.
- Social Media Image Size Guide lists the pixel sizes to prepare for each platform.
- Schema Markup Generator adds structured data next to your social tags.
- Canonical Tag Generator sets the address you want shared and indexed.
Checked against the current version of the Open Graph Preview on .

