All In One Tools logo
100% Client-Side · Real-Time Social Previews

Meta Tag Generator & Social Card Previewer

Optimize your open graph and social meta tags. Fill in your page details to generate clean HTML code and preview how your link card renders across Google, Facebook, Twitter/X, and LinkedIn.

Page Details
0 / 60 chars
0 / 160 chars
🌐
All In One Tools
https://allinonetools.com

All In One Tools – Free Online Web Utilities

A collection of free, fast, and client-side online tools including schema generators, image utilities, and web assets.

FB Preview Image
ALLINONETOOLS.COM All In One Tools – Free Online Web Utilities

A collection of free, fast, and client-side online tools including schema generators, image utilities, and web assets.

Twitter Preview Image
allinonetools.com All In One Tools – Free Online Web Utilities

A collection of free, fast, and client-side online tools including schema generators, image utilities, and web assets.

LinkedIn Preview Image
All In One Tools – Free Online Web Utilities allinonetools.com

                    

How to Use the Meta Tag Generator

Meta tags tell search engines and social networks what a page is about and how its link should look when shared. This tool writes the tags for you and shows a live preview of your page in Google results and on Facebook, X (Twitter) and LinkedIn, so you can fix a title that gets cut off or a missing image before anyone sees it.

Step 01

Enter your page details

Fill in the meta title, meta description, page URL and site name. Add your X (Twitter) handle if you have one.

Step 02

Add a share image

Paste the full URL of the image you want shown when the page is shared. A 1200 × 630 pixel image works well on Facebook, LinkedIn and X.

Step 03

Check the previews

Switch between the Google, Facebook, X and LinkedIn tabs. Shorten the title or description if it looks cut off.

Step 04

Copy the HTML

Click Copy Meta HTML and paste the tags inside the <head> section of your page, or into the matching fields of your CMS or SEO plugin.

Which Meta Tags Actually Matter?

Only a handful of tags affect how your page appears in search and on social media. These are the ones this tool generates:

  • Title tag (<title>): the main source Google uses for the clickable headline in search results, and shown in browser tabs. Every page should have a unique, descriptive title.
  • Meta description: a short summary that Google often shows under the headline. It is not a direct ranking factor, but a clear description can earn more clicks.
  • Open Graph tags (og:title, og:description, og:image, og:url, og:type, og:site_name): used by Facebook, LinkedIn, WhatsApp and many chat apps to build link previews.
  • Twitter card tags (twitter:card and related tags): tell X how to display your link. This tool uses the large image card. If a Twitter tag is missing, X falls back to the Open Graph tags.

How Long Should a Title and Description Be?

Google does not use a fixed character limit. It trims titles and descriptions based on the pixel width of the screen, so a title made of wide letters gets cut sooner than one with narrow letters. As a practical guide, aim for a title of about 50–60 characters and a description of about 120–155 characters, and put the most important words first so nothing important is lost if Google trims the end.

Write for people, not just search engines. A good title says exactly what the page offers ("Free Invoice Generator – Create and Download PDF Invoices"). A good description explains the benefit and what the reader can do next. Avoid repeating the same keyword several times; it looks spammy and can make Google rewrite your title.

Google may still show a different title or description than the one you wrote, for example when your tag does not match what the searcher typed or does not match the page content. Keeping your tags accurate and specific to each page is the best way to make Google use them.

Why Your Link Preview Shows the Wrong Image or Text

Social networks save (cache) a copy of your link preview the first time someone shares it. If you fix your tags afterwards, the old preview can keep appearing. To refresh it, paste your URL into the Facebook Sharing Debugger or LinkedIn Post Inspector and ask them to fetch the page again.

Other common causes are an image URL that is not absolute (it must start with https://), an image that is too small, or an image blocked by your server or robots.txt. For a deeper walkthrough, read our guide to meta tags for social sharing.

Frequently Asked Questions

Do meta keywords still help SEO?

No. Google has ignored the meta keywords tag for many years, so this tool does not generate it.

Are the previews exactly what Google or Facebook will show?

They are close approximations to help you spot problems such as long titles or missing images. Each platform changes its layout from time to time and may choose different text, so treat the preview as a guide.

Where do I paste the generated tags?

Inside the <head> section of the page. If you use WordPress, Shopify or another CMS, enter the same title, description and image in its SEO settings instead of editing code.

Does every page need its own meta tags?

Yes. Each page should have a unique title and description that match its content. Duplicate titles make it harder for search engines and visitors to tell pages apart.

Is my information stored?

No. The generator and previews run in your browser, and nothing you type is sent to our server.