Free tool

OG image checker and social preview tester

Paste a link to see how it will look when shared on X, LinkedIn and Slack. The checker reads the page's Open Graph and Twitter card tags, measures the og:image, and lists exactly what to fix before you post.

Your og:image is often a screenshot of your product. Cleanss captures it straight onto a 16:9 canvas with a clean background, at full resolution.

Get Cleanss

How do I check my Open Graph tags?

Paste the full URL of the page and press Check. The checker fetches the page once, reads its tags and shows three previews.

  1. Enter the page URL, including https://.
  2. Look at the X, LinkedIn and Slack previews for a missing image, a cut-off title or the wrong page.
  3. Work through the "What to fix" list from the top; red items stop a preview from showing properly.
  4. After you change the tags, check again. Platforms cache old previews, so refresh their cache before you post.

Which tags does a good link preview need?

Five tags cover every major platform. Put them in the page's <head>:

  • og:title: the headline, ideally under 70 characters.
  • og:description: one or two sentences, under about 200 characters.
  • og:image: an absolute https URL to a 1200×630 image.
  • og:image:alt: a short description of the image.
  • twitter:card set to summary_large_image, so X shows the big image.

A canonical link or og:url makes sure shares of the same page are counted together. Image sizes for every platform, with sources, are in the screenshot sizes cheat sheet.

What makes a good OG image?

A large, readable image of the product with plenty of space around it. Text in the image should be large enough to read at thumbnail size, and the key content should stay away from the edges, which some platforms crop. A product screenshot on a clean background works well. How to make screenshots look professional covers padding, backgrounds and export sizes, and the free screenshot resizer can produce a 1200×630 version of any image.

FAQ

What size should an OG image be?

1200×630 pixels, a ratio of about 1.91:1, works across X, LinkedIn, Slack and Facebook. LinkedIn asks for at least 1200×627 and under 5 MB. Smaller images still show, but they can look soft or be shown as a small thumbnail.

Why isn't my link preview showing an image?

Usually the page has no og:image tag, the image URL is relative or private, or the image is too small. Platforms also cache previews, so after you fix the tags, refresh the cache with LinkedIn's Post Inspector or by sharing the link with a query string such as ?v=2.

What's the difference between og:image and twitter:image?

og:image is the Open Graph tag that most platforms read. X reads twitter:image first and falls back to og:image, and it needs a twitter:card tag set to summary_large_image to show a large image.

Does this checker store the URLs I test?

No. The page is fetched once to read its tags, and the result is shown only to you. Pages behind a login or on a private network can't be checked.

Are these previews exactly what each platform shows?

They're close approximations of each platform's layout, built from the same tags the platforms read. Each platform changes its design from time to time, and some trim titles differently, so treat them as a guide.

Related