All tools

Meta tag generator

Everything a search result and a share card need, in one block. Counts are shown against the lengths platforms truncate at, not arbitrary ones.

Product Hunt’s tagline limit is 60 — the same ballpark.

Product Hunt allows up to 260 characters for the short description.

Need one? Generate a 1200×630 card.

Paste into <head>

Enter a title to generate your tags.

About the meta tag generator

Generate the title, description, Open Graph and Twitter card tags for a page as one block ready to paste into your HTML head. Live character counts show the title against 60 and the description against 160, roughly where search results cut them off, so you can edit before anything is truncated.

How to use it

  1. Enter a title; the tag block appears on the right as soon as there is one.
  2. Add a description, your canonical URL, a social image URL and your site name.
  3. Watch the counters and trim anything marked as will truncate.
  4. Press Copy tags and paste the block inside your page's head element.
  5. After deploying, run the page through the social preview checker to confirm it renders.

Questions

How long should a meta title be?
Aim for about 50 to 60 characters. Google truncates by pixel width rather than character count, so 60 is a practical ceiling rather than an exact rule.
How long should a meta description be?
Around 150 to 160 characters before Google cuts it off on desktop. Google may also rewrite the description if it thinks other page text matches the search better.
Do I need both Open Graph and Twitter card tags?
Open Graph tags cover most platforms. twitter:card is still needed to get the large image card on X, which is why the generator includes both.
What is a canonical URL?
It tells search engines which address is the main version of a page, so duplicates such as tracking-parameter variants do not compete with it in results.