Free meta tag generator

A meta tag generator writes the <title>, meta description, canonical, Open Graph and Twitter tags for a page; type your title and description below, check the Google preview, then copy the HTML into your <head>.

Write title and description tags, preview the result in Google and social cards, and copy a ready-to-paste HTML head block.

Google desktop preview

https://uidiscovery.com/meta-tag-generator

Free Meta Tag Generator with Google Preview

Write search-ready title and description tags, preview how they may look in Google and social shares, and copy the HTML head block.

Add an image URL for a richer card

UI Discovery

Free Meta Tag Generator with Google Preview

Write search-ready title and description tags, preview how they may look in Google and social shares, and copy the HTML head block.

HTML head block

<title>Free Meta Tag Generator with Google Preview</title>
<meta name="description" content="Write search-ready title and description tags, preview how they may look in Google and social shares, and copy the HTML head block.">
<meta property="og:title" content="Free Meta Tag Generator with Google Preview">
<meta property="og:description" content="Write search-ready title and description tags, preview how they may look in Google and social shares, and copy the HTML head block.">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Free Meta Tag Generator with Google Preview">
<link rel="canonical" href="https://uidiscovery.com/meta-tag-generator">
<meta property="og:url" content="https://uidiscovery.com/meta-tag-generator">
<meta property="og:site_name" content="UI Discovery">

How to use this meta tag generator

  1. Write a page title and description that match the search intent.
  2. Check the character counters and review the pixel-aware Google preview.
  3. Add optional social details, then copy the head block into your page.

For more free tools, try the full tools collection.

How long should a title and meta description be?

Aim for a title of 50–60 characters and a meta description of 140–155 characters, because Google truncates anything longer in the search result.

TagRecommended lengthWhy
<title>50–60 characters (about 600px)Google cuts longer titles
meta description140–155 characterslonger snippets are truncated on desktop
og:titleup to about 60 characterssocial cards clip long headlines
og:image1200 × 630 pxa dependable large card on Facebook, LinkedIn and X

Frequently asked questions

Why is a title limited to about 60 characters?

Google lays out titles by pixel width rather than a fixed character count. About 50–60 characters is a useful starting range, but the preview also estimates pixel width because wide letters use more room.

Does Google use the meta description?

Google may use your meta description as the search snippet when it matches the query, but it can rewrite the snippet when another page passage better answers the search.

What image size works for og:image?

Use a clear 1200 × 630 pixel image for a dependable large social card. Keep important text away from the edges so networks can crop it safely.

Do meta keywords still matter for SEO?

No. Google has ignored the meta keywords tag for ranking since 2009, so this generator focuses on the title, description, canonical and social tags that search engines and social networks still read.

What is a canonical tag and do I need one?

A canonical link tag tells search engines which URL is the main version of a page. Add a self-referencing canonical to every indexable page so duplicate URLs with tracking parameters do not split its ranking signals.

More free tools

    Color tools

    Image tools

    CSS generators

    Image & SVG tools

    Typography & units

    All free tools