Social Share Preview
Preview how your link appears when shared on Facebook, Twitter/X, LinkedIn, Discord, and Slack — accurate CSS simulations, dark/light toggle.
How to Use the Social Share Preview Tool
- Enter your page details — paste your page URL, title, description, and image URL into the form fields. These correspond to the
og:url,og:title,og:description, andog:imagemeta tags. - Click Preview — the tool renders simulated share cards for Facebook, Twitter/X, LinkedIn, Discord, and Slack using accurate CSS that mirrors each platform's actual card styles.
- Filter platforms — use the option chips to focus on a specific platform's card.
- Toggle dark/light mode — preview cards in both light and dark mode to ensure your image and text are readable in both contexts. Discord always displays in dark mode.
- Adjust until satisfied — if text gets cut off or the image looks wrong, update your meta tags and preview again before publishing.
Why Social Share Previews Matter
When someone shares a link on social media, the platform generates a preview card by reading your page's Open Graph meta tags. These cards are often the first thing potential visitors see before deciding whether to click — making them one of the most impactful elements of your click-through rate. A compelling card with a striking image, clear title, and engaging description can significantly increase the traffic you get from social sharing.
Open Graph Meta Tags
Open Graph (OG) is a protocol developed by Facebook that defines how web pages are represented when shared on social platforms. The four most important tags are: og:title (the headline shown in the card, typically the page title), og:description (a 1–2 sentence summary, 150–200 characters), og:image (the preview image URL — should be 1200x630 pixels), and og:url (the canonical URL of the page). LinkedIn, Discord, Slack, and many other platforms read these same tags.
Twitter Cards
Twitter has its own twitter:card meta tag that controls the card format. Use summary_large_image for a large banner image (best for articles and blog posts) or summary for a compact card with a small thumbnail. If Twitter-specific tags are missing, Twitter falls back to Open Graph tags. Set twitter:site to your Twitter handle and twitter:creator to the author's handle to attribute cards correctly.
Platform-Specific Image Sizes
Facebook and LinkedIn both prefer 1200x630 pixels (1.91:1 aspect ratio). Twitter's summary_large_image uses 1200x628 (almost identical). Discord and Slack also respect 1200x630. Some platforms crop images on the sides on mobile, so keep important content (text, logos) centered. File size should be under 5 MB, preferably under 300 KB for fast loading. Use JPG for photographs and PNG for graphics that include text.
Cache Busting Social Previews
After updating your Open Graph tags, social platforms will continue showing the old preview for hours or days because they cache the scraped data. To force an update: use Facebook's Sharing Debugger, LinkedIn's Post Inspector, or Twitter's Card Validator. These tools re-scrape your page and clear the cache immediately. For Discord, simply sharing the link again in a server usually pulls a fresh preview. For Slack, unfurling can be refreshed via the message options menu.