Free SEO tool

Free meta tag generator for SEO and social sharing

Fill in your page details and this meta tag generator writes the HTML for your title, meta description, robots, canonical, Open Graph and X card tags. Preview how the page may look in Google and when shared on social media, check title and description length, then copy the code. Nothing you type is uploaded or stored.

  • Free, no sign-up
  • Google and social previews
  • Length checks as you type
  • Runs in your browser
Start generating

Enter your page details

Fields marked * are required. The code and previews update as you type.

Page basics

The preferred address of this page. Also used as og:url.

Search settings

Add charset and viewport only for hand-built HTML pages. WordPress themes and most site builders already include them.

Social sharing

Use this when you want a different headline on social media.

Use a public JPG or PNG. 1200 × 630 px is a widely used size.

Preview and copy

Enter a page title to generate your meta tags.

What does a meta tag generator do?

A meta tag generator writes the HTML tags that sit in the section of a web page. These tags are not shown on the page itself. Search engines use them to understand and display the page, and social networks use them to build the preview card when someone shares a link.

This generator creates the title tag, meta description, robots and canonical tags, Open Graph tags for Facebook, LinkedIn, WhatsApp and similar apps, and the X card tag. It only outputs tags for the fields you fill in, so the code stays short.

How to generate meta tags

  1. Write the title and description

    Enter a clear page title and a short summary. The counters show the length and roughly how much fits in Google results.

  2. Add the page address

    Enter the canonical URL and your website name so the previews and Open Graph tags use the right address.

  3. Set up social sharing

    Add a social image URL and, if you want, a different title or description for social media.

  4. Check and copy

    Review the Google preview, social preview and checks, then copy the code and paste it inside your page's .

Which meta tags does a page need?

TagWhat it doesWhen to use it
titleThe main headline in search results and the browser tabEvery page
meta descriptionA suggested summary for the search result snippetEvery important page
robotsTells search engines whether to index the page and follow its linksOnly when you need something other than the default
canonicalNames the preferred address when the same content is available at several URLsPages reachable through more than one address
Open Graph (og:)Sets the title, description and image used in link previewsPages people are likely to share
twitter:cardChooses the card layout on X; X reads the other details from Open GraphPages people share on X
charset, viewportSet the text encoding and how the page scales on phonesHand-built HTML pages

How long should a title and meta description be?

Google does not set a fixed character limit. It shortens titles and snippets based on the space available on the screen, and it can rewrite title links or choose its own snippet when it thinks other text describes the page better.

As a practical guide, titles of about 50–60 characters and descriptions of about 150–160 characters usually display in full on desktop. Put the most important words first so they stay visible even if the end is cut off. The pixel estimates in this tool help with letters of different widths, such as a title full of capital W and M characters.

Where to paste your meta tags

Hand-built HTML pages

Paste the code between and , and remove any older title or meta tags with the same name so the page has only one of each.

WordPress

If you use an SEO plugin such as Yoast SEO or Rank Math, type the title, description and social details into the plugin's fields instead of pasting the tags. The plugin already prints these tags, so pasting them as well creates duplicates. Use the previews and checks here to plan the wording.

Other website builders

Most builders and online store platforms have SEO or social sharing settings for each page. Use those fields where they exist, and add custom code only for tags the platform does not support.

When this meta tag generator helps

Publishing a new page

Write and test the title and description before the page goes live, so the first impression in search is the one you planned.

Fixing link previews

If shared links show the wrong image or no image at all, generate complete Open Graph tags with a proper social image.

Reviewing client sites

Quickly draft improved titles and descriptions for an SEO review and show clients how they may appear.

Learning HTML

See exactly which tag each setting produces and how characters such as quotes and ampersands are written safely.

Frequently asked questions

Is this meta tag generator free?

Yes. You can generate and copy as many meta tags as you like without creating an account.

Is the information I enter saved or sent anywhere?

No. The code and previews are created in your browser. Nothing you type is uploaded or stored by Huntlix, and it is cleared when you reset or close the page. The social preview loads your image directly from the address you enter.

Should I add a meta keywords tag?

It is not needed for Google. The meta keywords tag is not on Google's list of supported meta tags, so this generator leaves it out.

Do meta tags improve my Google ranking?

A clear title helps search engines and people understand the page. Google has said it does not use the meta description as a ranking factor, but a good description can make people more likely to click your result.

Why does Google show a different title or description?

Google may rewrite titles and pick a different snippet when it decides other text on the page matches a search better. A title and description that accurately describe the page are more likely to be used as written.

What size should the social image be?

1200 × 630 pixels, a ratio of about 1.91 to 1, is a widely used size that works well for large link previews. Keep important text away from the edges, because some apps crop the image.

Do I need X (Twitter) tags if I already have Open Graph tags?

Only the twitter:card tag, which chooses the card layout. X can read the title, description and image from your Open Graph tags, so the generator does not repeat them.

More tools for a faster, clearer website

Browse other SEO utilities on Huntlix, or make your page images lighter so they load faster.