๐Ÿ“š Links & SEO ยท Guide

How to Use a Meta Tag Generator for Better SEO and Social Sharing

Create SEO, Open Graph and Twitter meta tags the right way. A practical guide to titles, descriptions, share images and the tags that control how your page looks on Google and Facebook.

By RexBD Team 24 Nov 2026 7 min read 1,520 words
How to Use a Meta Tag Generator for Better SEO and Social Sharing

Meta tags are a few lines of code that most visitors never see, yet they decide how your page looks in Google search results and how it appears when someone shares it on Facebook, WhatsApp, LinkedIn or X. A page with good meta tags gets a clear headline, a helpful summary and an eye-catching image. A page without them often shows a random snippet of text and no image at all, and that costs you clicks.

This guide explains how to use the free Meta Tag Generator on RexBD to create SEO, Open Graph and Twitter tags in a minute, what each tag does, and how to write them so people actually click.

What meta tags are and where they go

Meta tags live in the <head> section of an HTML page, before the visible content. Browsers, search engines and social apps read them to learn about the page. They do not change what a visitor sees on the page itself.

There are three groups you need to care about:

  1. Basic SEO tags. The title tag and meta description, which Google uses for search results.
  2. Open Graph tags. Created by Facebook and now used by WhatsApp, LinkedIn, Telegram, Slack, Discord and many others to build link previews.
  3. Twitter (X) card tags. Used by X to show a large image preview. If they are missing, X falls back to Open Graph tags.

A generator writes all three groups at once from a few simple fields, so you do not have to remember the exact syntax.

๐Ÿงพ Free tool ยท no sign-upTry the Meta Tag GeneratorCreate SEO, Open Graph and Twitter meta tags for your page, ready to paste into the <head>. Open tool โ†’

How to use the Meta Tag Generator step by step

Step 1: Write your page title

Enter the title you want to appear in search results and in share previews. Keep it around 50 to 60 characters so Google does not cut it off. Put the most important words first.

Step 2: Write your description

Enter a one or two sentence summary of the page, around 150 to 160 characters. This is your sales pitch in search results, so make it specific and useful.

Step 3: Add the page URL and image

Enter the full canonical URL of the page and the full URL of your share image. Use an absolute address that starts with https://, not a relative path like /images/photo.jpg. Social apps cannot load relative paths.

Step 4: Fill in the optional fields

Depending on the options, you can add the site name, type of content, author or a Twitter handle. Fill in what applies to you.

Step 5: Copy the code into your page

The Meta Tag Generator produces a block of tags ready to paste. Put them inside <head> in your HTML template. In WordPress and similar systems, SEO plugins usually have fields for the same information, so you can copy your title and description into those fields instead.

Writing a title tag that earns clicks

The title tag is one of the strongest on-page signals for both ranking and click-through. A few principles make a big difference.

  • Lead with the main keyword. If people search "passport photo size Bangladesh", a title starting with those words matches what they are looking for.
  • Make it specific. "Passport Photo Size in Bangladesh (45ร—55 mm): Rules and Free Maker" beats "Photo Tips".
  • Add a reason to click. Words such as "free", "step-by-step", "2026 rules" or a number ("7 ways") set clear expectations.
  • Keep the brand short and at the end. "โ€ฆ ยท RexBD" is enough.
  • Make every page's title unique. Duplicate titles confuse search engines and users.

Use the SERP Snippet Preview to see how your title and description will look in Google before you publish, and the Character Counter to check exact lengths.

Ad Kothay

Writing a meta description people want to click

Google does not use the meta description as a ranking factor, but it often shows it as the grey text under your title. A strong description raises the share of searchers who click your result.

  1. Summarise what the page gives the reader, not what it is about in general.
  2. Include the main keyword naturally. Google may bold it when it matches the search.
  3. Use active language: "Learn", "Compare", "Calculate", "Download".
  4. Stay under about 160 characters, or Google will cut it with "โ€ฆ".
  5. Write a different description for every page.

Google sometimes rewrites descriptions using text from your page when it thinks another passage matches the search better. You cannot fully prevent this, but well-written, specific descriptions are used much more often.

Open Graph tags explained

Open Graph tags control the preview card when a link is shared. The essential ones are:

Tag What it controls
og:title Headline of the preview card
og:description Short text under the headline
og:image The preview picture
og:url The canonical address of the page
og:type Usually "website" or "article"
og:site_name Your brand name

Getting the share image right

The image is the most important part of a share preview. Follow these rules:

  • Size: 1200 ร— 630 pixels is the standard for a large preview. That is a 1.91:1 ratio.
  • File size: keep it well under 1 MB so apps load it quickly. Compress it with the Image Compressor.
  • Text: keep any text large and away from the edges, because some apps crop the image slightly.
  • Format: JPG or PNG work everywhere. WebP support is good but not universal across every app.

If your image is a different size, the Social Media Image Resizer can crop it to the right shape.

Twitter card tags

X reads its own tags first. The most useful setup is:

  • twitter:card set to summary_large_image for a big image preview.
  • twitter:title, twitter:description and twitter:image. If you leave these out, X uses your Open Graph values.
  • twitter:site for your brand's X handle, if you have one.

Other useful head tags

The generator focuses on the most important tags, but a complete page head often includes a few more:

  • Canonical tag. Tells Google which URL is the main version of a page. Create one with the Canonical Tag Generator.
  • Robots meta tag. Controls whether a page should be indexed. Use noindex on thank-you pages, internal search results and test pages.
  • Viewport tag. <meta name="viewport" content="width=device-width, initial-scale=1"> is essential for mobile-friendly pages.
  • Hreflang tags. For sites with several language versions, such as English and Bangla. See the Hreflang Tag Generator.
  • Structured data. JSON-LD code that can earn rich results such as FAQ dropdowns and star ratings. Build it with the Schema Markup Generator.

What about the meta keywords tag?

Google has ignored the meta keywords tag for ranking for many years, and has said so publicly. Some other search engines and internal site search tools may still read it, and it does no harm, but do not spend time on it. Your effort is far better spent on the title, description and share image.

Testing your tags after publishing

Never assume tags work just because you pasted them. Test them:

  1. View the page source (Ctrl+U in most browsers) and search for "og:" to check the tags are present.
  2. Use the Facebook Sharing Debugger to see the preview and force Facebook to refresh its cached copy after you make changes.
  3. Share the link privately in a WhatsApp chat with yourself to see the real preview.
  4. Check Google Search Console over time to see how often your page appears and how many people click.

Social apps cache previews. If you change your image and the old one still appears, use the platform's debugging tool to refresh it, or wait. Adding a version number to the image URL (for example share.jpg?v=2) also forces a fresh download.

Common meta tag mistakes

  • Using the same title and description on every page.
  • Relative image URLs that social apps cannot load.
  • Share images that are too small, which produce a tiny thumbnail instead of a large card.
  • Forgetting to update tags when a page's content changes.
  • Leaving noindex on a page after moving it from a test site to the live site.

Our meta tag tips and mistakes article covers each of these with fixes.

Frequently asked questions

Do meta tags help my Google ranking?

The title tag does influence ranking. The meta description does not directly, but it affects how many people click your result, which matters for traffic. Open Graph tags affect social sharing, not ranking.

What size should my Open Graph image be?

Use 1200 ร— 630 pixels. This gives a sharp, large preview on Facebook, LinkedIn, WhatsApp and X.

Why does Facebook show an old image?

Facebook caches link previews. Use the Facebook Sharing Debugger and click "Scrape Again" to refresh it.

How long should a meta description be?

Aim for 150 to 160 characters. Longer descriptions are usually cut off.

Does the Meta Tag Generator store my data?

No. It runs in your browser and does not upload what you type.

Can I use the generated tags in WordPress?

Yes. You can paste them into your theme's header, but most people copy the title and description into an SEO plugin's fields instead, which then writes the tags for you.

Found this useful?Share it with a friend or colleague who needs it.

Keep reading

More links & seo articles
321 free tools, one placeSEO, text, images, code, money, units and design. Private, fast and almost all in your browser.
Ad Kothay