Meta tag and Open Graph generator with live share previews

Type a page title, description, address and share image, and the generator previews the page as a search result and as social and chat link cards. It warns about titles likely to be cut off and images with the wrong shape, then gives you the code as an HTML head block, Next.js metadata or React Helmet.

Starting points the tool checks against (estimates, not search engine rules)
FieldAim for
TitleAbout 50 to 60 characters, main words first
DescriptionOne clear sentence that answers the search, then a reason to click
Share image1200 x 630 pixels, text and faces away from the edges
CanonicalThe final https address, no tracking parameters
Code outputHTML, Next.js metadata object or React Helmet

Updated

What problems does the canonical check look for?

Relative paths, spaces, # fragments, tracking parameters and local or test addresses are marked as problems to fix. It also warns about http instead of https, query strings, addresses that look like staging or preview sites, a canonical on a different domain from the page and a www mismatch between the page and the canonical.

Why does the tool say my share image will be cropped?

Because its shape is far from the 1.91 to 1 used by large link cards. The check allows a little leeway either side of that ratio. Images smaller than 600 by 315 pixels get a separate warning, since many networks show those as a small thumbnail. It also flags uploaded files over 5 MB.

This free meta tag generator builds the title, meta description, canonical, robots, Open Graph and X tags for a page in one go. Write your page title and description once and see how the page will look as a search result, an X card, a social feed post and a link sent in a chat app, all side by side. The checks flag titles that will be cut off, images with the wrong shape, broken canonical addresses and risky robots settings. When it looks right, copy a ready <head> block, a Next.js metadata object or a React Helmet component. Everything runs in your browser; nothing you type or upload is sent anywhere.

How it works

  1. Enter the page title, meta description and the full page address. Add a social image address, or pick an image from your device to preview it before you upload it to your site.
  2. The search previews measure each line in pixels using a font close to the one search results use, then cut it where a desktop or phone result would typically cut it. A 'cut off' label shows exactly which line runs over. The limits are estimates, not a promise of how any search engine will show your page.
  3. The share previews show the large and small X card, a Facebook and LinkedIn style feed card, a chat bubble and a team chat unfurl. Your image is cropped the way those cards usually crop it, so you can see if a face or headline gets cut.
  4. When the image loads, the tool reads its real width, height and (for a file from your device) file size, and warns if it is too small, the wrong shape or too heavy.
  5. Open 'More settings' for site name, content type, X card type and handle, theme colour, a separate canonical address and robots rules.
  6. Choose HTML, Next.js or React Helmet, then copy or download the code. Every value is escaped for its format, so quotes or angle brackets in a title cannot break the page.

The tags that matter most

The title tag names the page in search results and browser tabs. The meta description is the short summary that often appears under it. The canonical link tells search engines which address to credit when the same page can be reached in more than one way.

Open Graph tags control the card that appears when someone shares the page on social networks and in messaging apps. X reads its own twitter: tags and falls back to Open Graph when they are missing. The theme-color tag is optional: some phone browsers tint their address bar with it, and some team chat apps use it for the coloured bar beside a link.

How the pixel limits in this tool are set

Desktop titles are measured at about 20 pixels in Arial against a width of roughly 580 pixels. Descriptions are measured at about 14 pixels against roughly two lines of text on desktop and a little less on phones. These are working estimates based on how results commonly display, not published limits.

Why a share preview can look wrong after you fix it

Social networks and chat apps save a copy of each link's preview the first time it is shared. If you change the title or image afterwards, people may keep seeing the old card for a while. Renaming the image file, or using the network's own link debugging page, makes them fetch it again.

Tips

  • Put the words people search for near the start of the title. The end is what gets cut off first.
  • Write a description that answers the search in one sentence, then gives a reason to click. Search engines often rewrite descriptions, but a clear one is more likely to be kept.
  • Make the social image 1200 by 630 pixels and keep text and faces away from the edges, since some cards crop it.
  • Use the exact, final address as the canonical: https, the same www or non-www version your site uses, and no utm_ or other tracking parameters.
  • After you publish, share the link to yourself in a chat app. Apps cache previews, so if you change the image later, give the image file a new name.
  • Give every page its own title and description. Duplicates make pages compete with each other.

Frequently asked questions

What is the difference between meta tags and Open Graph tags?

The title tag and meta description are read by search engines for search results. Open Graph tags (og:title, og:description, og:image, og:url) are read by social networks and chat apps to build the card shown when someone shares a link. This generator writes both, plus the twitter: tags X reads first, so each place gets what it needs.

Why measure titles in pixels instead of characters?

Search results cut titles by display width, not by a character count. A title full of wide letters like W and M runs out of room sooner than one with narrow letters like i and l. Measuring pixels gives a better estimate than a fixed character rule, though the exact cut-off still varies by device and search engine.

What size should an Open Graph image be?

1200 by 630 pixels, a ratio of about 1.91 to 1, is the safe choice for large cards on most networks. Use JPG, PNG or WebP rather than SVG, serve it from a full https address and keep the file small. The tool measures your image and warns when it is too small or the wrong shape.

Can I upload my image here?

You can pick an image from your device to preview it, but it is only read inside your browser and never uploaded. Social networks need a public address, so put the image on your site first and paste its address into the image field.

Which X card type should I pick?

Large image (summary_large_image) shows a wide picture across the full card and suits most pages with a good image. Small square image (summary) shows a thumbnail beside the text. Automatic picks the large card when you have an image and the small one when you do not.

What does the robots setting do?

It tells search engines whether to list the page (index or noindex) and whether to follow its links (follow or nofollow). Index and follow is the default, so the tool writes no tag for it. Use noindex only for pages you do not want in search, such as thank-you pages.

How do I use the Next.js or React Helmet code?

In a Next.js App Router project, paste the metadata export into the page.tsx or layout.tsx of that route; the theme colour goes in a separate viewport export, which the tool includes. For a React app using react-helmet-async, wrap the app once in HelmetProvider and render the generated PageMeta component on the page.

Will Google and social apps show exactly this preview?

Not always. Search engines may rewrite titles and descriptions, and every app changes its card design from time to time. Treat the previews as close estimates for checking length, wording and image cropping.

Do I need a meta keywords tag?

No. Google has said it does not use the keywords meta tag in web ranking, so this generator leaves it out. Put the words people search for in the title and description instead, where they are shown to searchers.

How do I add the generated meta tags to my website?

Paste the HTML block inside the <head> section of the page, replacing any title or description tags already there. In a website builder, use the page's SEO settings instead: copy the title and description into those fields and upload the social image there. Then share the link to yourself to check the card.

Is this tool free and private?

Yes. It is free, needs no signup, and all the work happens in your browser. An image address you enter is loaded directly from its own server, like any image on a web page.

Related: Open Graph Preview, Website Checker, Redirect Checker, Favicon Generator, Website builder.

Turn this result into your website or see the We.Inc website builder. Building a site on We.Inc is free for every account, with no card needed. Paid plans are Starter at $20 a month, Pro at $49 and Max at $99. See pricing.

More in Free Tools

Related guides

More free website tools

More on this topic

Product

Who It's For

Features

Resources

Company

View Sitemap