ToolNimba Browse

🏷️ Meta Tag Generator

By ToolNimba SEO Team · Updated 2026-06-19

 

Fill in your page title, description and URL, and this meta tag generator builds the full block of HTML you paste into your page head: the title tag, meta description, canonical link, Open Graph tags for Facebook and LinkedIn, and Twitter Card tags. Live counters show how long each field is so you can keep the title and description inside the lengths search engines actually display.

What is the Meta Tag Generator?

Meta tags are snippets of HTML that sit in the head of a page and describe it to search engines and social platforms. They are not visible on the page itself, but they shape how the page appears in results and when it is shared. The two that matter most for search are the title tag and the meta description: the title is the clickable headline in the results list, and the description is the grey summary line below it. Google does not always use your description verbatim, but a clear, relevant one improves your odds of it being shown.

It helps to separate ranking from click-through. The title tag is a genuine (if minor) ranking signal, while the meta description is not a direct ranking factor. What both do strongly influence is whether someone clicks once your page is already showing. A page that ranks third can earn more traffic than the one above it if its title and description are more compelling, so writing them for humans, not just crawlers, is the point.

Open Graph and Twitter Card tags control the preview card that appears when your link is pasted into social feeds and chat apps. Open Graph (used by Facebook, LinkedIn, WhatsApp, Slack and others) sets the title, description and image of that card through og:title, og:description, og:image and og:url. Twitter Card tags do the same job on X, with twitter:card choosing the layout (a large image versus a small thumbnail). Without them, platforms guess at your title and image, and the guess is often wrong or blank.

When to use it

  • Generating a complete, copy-paste head block for a new landing page before launch.
  • Adding Open Graph and Twitter Card tags so a shared link shows a proper preview image and headline.
  • Rewriting a title and description to fit display limits after they were being truncated in results.
  • Setting a canonical URL to point duplicate or parameterised pages at the version you want indexed.

How to use the Meta Tag Generator

  1. Enter your page title and meta description, watching the live counters stay inside the recommended lengths.
  2. Add the page URL (used for the canonical tag and og:url) and an image URL for the social preview.
  3. Fill in the Open Graph and Twitter Card fields, or let them inherit from your title and description.
  4. Copy the generated block of meta tags and paste it inside the head of your page.

Formula & method

Recommended lengths: title tag 50 to 60 characters, meta description 150 to 160 characters. Aim for the upper end without going over, since search engines truncate longer text with an ellipsis.

Recommended lengths and which tags are required

TagRecommended lengthRequired?
Title tag50 to 60 charactersRequired
Meta description150 to 160 charactersRecommended
Canonical (link rel)Full absolute URLRecommended
og:titleUp to ~60 charactersRequired for OG
og:descriptionUp to ~110 charactersOptional
og:image1200 x 630 px image URLRequired for OG
og:urlFull absolute URLRequired for OG
twitter:cardsummary or summary_large_imageOptional

Common mistakes to avoid

  • Writing a title that is too long. Anything past roughly 60 characters gets cut off with an ellipsis in results, so your key words can vanish from view. Front-load the important terms.
  • Reusing the same description on every page. Duplicate meta descriptions across pages waste the chance to pitch each one and signal thin content. Write a distinct description per page.
  • Leaving out og:image. With no og:image, social platforms show a blank or randomly chosen thumbnail, which kills click-through. Always set a 1200 x 630 image.
  • Keyword stuffing the description. Cramming repeated keywords reads as spam and does not help ranking, since the description is not a ranking factor. Write one natural sentence aimed at a reader.

Glossary

Meta tag
An HTML element in the page head that describes the page to browsers, search engines and social platforms without showing on the page.
Title tag
The title element, used as the clickable headline in search results and the browser tab label.
Meta description
A short summary of the page shown under the title in search results; it influences click-through, not ranking.
Canonical
A link tag (rel="canonical") that names the preferred URL for a page, used to consolidate duplicate or near-duplicate versions.
Open Graph
A tag protocol (og:title, og:image, and so on) that controls how a link looks when shared on Facebook, LinkedIn, Slack and similar.
Twitter Card
Twitter/X tags (twitter:card, twitter:title) that define the preview card shown when a link is posted on X.
SERP
Search engine results page: the list of results returned for a query, where your title and description appear.

Frequently asked questions

What are meta tags?

Meta tags are snippets of HTML placed in the head of a page that describe it to search engines and social platforms. They are not shown on the page itself but control things like the title in search results, the description summary, and the preview card when a link is shared.

How long should a meta description be?

Aim for 150 to 160 characters. Shorter is fine, but past about 160 characters search engines truncate it with an ellipsis. Write one clear, compelling sentence that includes your main keyword naturally.

Do meta keywords still matter?

No. The meta keywords tag is obsolete for Google, which has ignored it for ranking since 2009, and other major search engines do the same. You can safely leave it out; this tool focuses on the tags that actually matter.

What is Open Graph?

Open Graph is a tag protocol that controls how your link looks when shared on social platforms like Facebook, LinkedIn, WhatsApp and Slack. Tags such as og:title, og:description and og:image set the headline, summary and image of the preview card.

Where do I put meta tags?

Meta tags go inside the head section of your HTML, before the closing head tag. Paste the generated block there, and it applies to that single page; each page should have its own title and description.

Does the meta description affect ranking?

Not directly. Google has confirmed the meta description is not a ranking factor. It does affect click-through, since a clear, relevant description makes people more likely to click your result, which is why it is still worth writing well.