SEO ToolsA little help for every day

Search by name or task, such as JSON or percentage.

SEO Tools

Meta Tag Generator

Generate title, meta description, robots, canonical, Open Graph and Twitter Card tags as you type, with a search result preview and length checks for each page.

View all tools
ResultUpdates as you type
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Clear page title for the primary topic</title>
<meta name="description" content="Summarise the page clearly so people can decide whether it answers their search.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://example.com/page">
<meta property="og:type" content="website">
<meta property="og:title" content="Clear page title for the primary topic">
<meta property="og:description" content="Summarise the page clearly so people can decide whether it answers their search.">
<meta property="og:url" content="https://example.com/page">
<meta property="og:locale" content="en_US">
<meta property="og:site_name" content="Example Site">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Clear page title for the primary topic">
<meta name="twitter:description" content="Summarise the page clearly so people can decide whether it answers their search.">
Search result preview (estimate)example.com › pageClear page title for the primary topic

Summarise the page clearly so people can decide whether it answers their search.

Title length38 characters · good length
Description length80 characters · good length
Robotsindex, follow
HTML language<html lang="en">

Without a social image, platforms show a small card; a 1200×630 pixel image is recommended.

Lengths are estimated by display width (a Chinese character counts as two): titles within about 60 and descriptions within about 160 are less likely to be cut off. Search engines may still rewrite or truncate them. Put the lang attribute on the <html> element.

How to use Meta Tag Generator

Fill in the page title, meta description and canonical URL, add a social image and site name if you have them, and choose the robots directive, page language and page type. The tags update as you type, followed by a search result preview and length checks.

  1. Write the title and descriptionWrite an accurate, unique page title and description and enter the page's canonical URL.
  2. Choose robots, language and typeDecide whether the page may be indexed, set its language and type, and add a social image URL if you have one.
  3. Check and copy the tagsReview the search preview and length notes, then copy the generated tags into the page's head.

Which tags are generated

The output includes charset and viewport, the title, description, robots and canonical tags, Open Graph og:type, og:title, og:description, og:url, og:locale and og:site_name, and the Twitter Card title and description. Adding a social image adds og:image and twitter:image and switches twitter:card to the large summary_large_image card; without one, the smaller summary card is used. og:locale follows the page language, so en-GB becomes en_GB and zh-CN becomes zh_CN.

How the length checks work

Lengths are estimated by display width, with a Chinese character counting as two. A title width from 20 to 60 and a description width from 70 to 160 count as a good length; longer ones may be cut off. The sample title, Clear page title for the primary topic, is 38 characters and its description is 80 characters, so both are a good length. Choosing noindex brings a reminder that the page will drop out of search results. Search engines can still rewrite titles and snippets, so treat the preview as a guide.

Accuracy and data handling

Generated tags and rules must match the real page content and the site's deployment environment. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

Which tags does the generator create?

The title, meta description, robots, canonical, core Open Graph properties and Twitter Card tags. When you add a social image, og:image and twitter:image are included too.

How long should a title and description be?

No length guarantees full display. Titles of up to about 60 characters and descriptions of up to about 160 are less likely to be cut off; being accurate and unique to each page matters more.

Where does the page language go?

Set the lang attribute on the page's html element, for example lang=en-GB. The generated og:locale tag repeats it as en_GB so social platforms know the page's language.

More SEO Tools

Related tools