How to use it
- Type the title, description, site name and page address.
- Choose a preview image (it stays on your device) and, for the code, enter the public address where the image will be hosted.
- Check the three previews, then copy the meta tags into your page’s <head>.
How it works
The previews are drawn from what you type, in simplified layouts of the common card styles. The tags use the Open Graph protocol (og:title, og:description, og:image, og:url, og:site_name, og:type) and the Twitter card tags (twitter:card, twitter:title, twitter:description, twitter:image). Values are escaped so quotes and angle brackets cannot break the tag.
Examples
- A 1200 × 630 pixel image is a commonly used size for the large card.
Limitations
- These are approximations. Each platform decides its own layout, cropping and text length, changes them over time, and caches previews, so use the platform’s own debugging tool after publishing.
- This tool cannot fetch a live page (a browser cannot read other sites), so it previews only what you enter.
- The image address in the tags must be a public address on your site; the file you pick here is not uploaded anywhere.
References
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].