Black Friday: 20% off any credit pack with code , until Nov 30.

RenderPixels

Meta Tag Generator

Fill in your page's details and copy the meta tags for search engines, Open Graph and X.

0 of 60 characters

0 of 160 characters

1200 × 630 pixels works everywhere. Make one with the Open Graph image generator

Your meta tags

Format
Type a page title to get your tags.

How the link will look

Google
Facebook
X
LinkedIn
Slack
Discord
WhatsApp
iMessage

Previews are close, not exact. Each platform changes its layout from time to time.

Make Open Graph images for every page

Ask your AI assistant for an Open Graph image and RenderPixels makes it at exactly 1200 × 630, with a link that lasts. You get 50 free renders every month, no card needed.

How it works

  1. Fill in the form

    Type the page's title, its description, its address and the address of its image. The site name, X handle and theme color are optional.

  2. Check the previews

    The link shows as it will look on Google, Facebook, X, LinkedIn, Slack and more, and changes as you type.

  3. Copy the tags

    Take them as plain HTML for the head of your page, or as Next.js, Laravel Blade or Astro code.

Open Graph image sizes

Every platform reads the same og:image tag and then shows the picture at its own size. These are the sizes to aim for.

Sizes by platform

One 1200 × 630 image covers every row but the last.

PlatformImage sizeGood to know
Facebook1200 × 630At least 600 × 315 to show large, and no more than 8 MB. Under 200 × 200 is not used.
X1200 × 630The large card is made for 2 to 1 images of at least 300 × 157, up to 5 MB. Needs twitter:card set to summary_large_image.
LinkedIn1200 × 627An image under 200 pixels wide turns into a small thumbnail on the left.
Slack1200 × 630Shows the whole image under the title and description.
Discord1200 × 630Shows large when twitter:card is summary_large_image, and as a small thumbnail otherwise.
Pinterest1000 × 1500Pins are tall, 2 to 3. A wide Open Graph image still works, but shows small.

Why is my link preview not showing?

It is nearly always one of these seven. The checker at the top of this page tests for the first five.

  1. The page has no og:image tag

    Without it most platforms show the link with no picture. Add the tag to the head of the page.

  2. The image address is relative

    Platforms want the full address, starting with https. An address like /og.png often isn’t followed.

  3. The image is too big or too small

    X and LinkedIn stop at 5 MB and Facebook at 8 MB. Facebook skips images under 200 × 200 pixels.

  4. The tags are added by a script

    The platforms read the page as the server sends it and don’t run scripts. The tags have to be in that first HTML.

  5. The platform can’t fetch the page

    A robots.txt rule, a login wall or a firewall that blocks bots stops the platform from reading the page or loading the image.

  6. The platform kept an old copy

    Facebook, LinkedIn and X store a preview the first time a link is shared. Each has to fetch the page again before the new one shows.

  7. The page redirects or answers with an error

    A preview comes from the page the address ends on. If that is an error page or a sign-in page, its tags are the ones that get read.

FAQ

Common questions

Short answers on what this tool does and how to use what it gives you.

Still have a question? Email us with the Email support link at the bottom of this page.

  • Where do meta tags go?

    Inside the head of the page, before the closing head tag. Each page should have its own title, description and address.

  • Which meta tags does a page need?

    A title and a description for search engines, a canonical link, the Open Graph tags (og:title, og:description, og:image, og:url) for link previews, and twitter:card so X shows the large image.

  • Do I need both Open Graph and Twitter tags?

    X falls back to the Open Graph tags for the title, description and image, so those don't have to be written twice. twitter:card is the one tag worth adding for X: it picks between the small and the large card. This tool writes the full set, which is the safest.

  • What do I put in the image address?

    The full address of a 1200 × 630 image, starting with https. If you don't have one, make it with the Open Graph image generator.

  • Does it work with Next.js, Laravel and Astro?

    Yes. Pick the tab for your framework and the same tags come as a Next.js metadata export, a Blade snippet or an Astro layout.

  • How do I test the tags once they are live?

    Put the page's address into the Open Graph checker or the meta tags checker. Both read the page the way the platforms do.

  • Meta tags checker

    Enter a web address to check its title, description, canonical, robots and social tags, with a score and what to fix.

  • Open Graph checker

    Enter a web address to see how the link looks on Facebook, X, LinkedIn, Slack and more, and what to fix in its tags.

  • Facebook debugger

    See how a link will look when it is shared on Facebook, without logging in, and what Facebook needs from its tags.

  • LinkedIn post inspector

    See how a link will look in a LinkedIn post before you share it, and whether its image and title meet LinkedIn's rules.

  • Twitter card validator

    See the card X will make from a link, which card type it picks and which tag each part comes from.