Technical SEO & Indexing • 13 min read

How to Use a Meta Tag Generator to Create Perfect Meta Tags

Generate perfect meta tags in minutes: titles, descriptions, Open Graph, Twitter Cards and robots tags — with a live SERP preview that warns before truncation.

By SEO Free Editorial Team
Published: November 25, 2026
Meta tag generator guide — titles, descriptions, Open Graph and Twitter Cards with a live SERP preview, on SEO Free

Every page on your website has a set of meta tags sitting quietly in its head section, and those few lines of HTML decide what searchers see before they ever reach your site. A good title and description can double your click-through rate; a truncated, duplicated or missing one can bury a page that deserves to rank. The problem is that writing meta tags by hand means guessing at pixel widths, remembering the exact syntax for Open Graph and Twitter Cards, and keeping every page unique. A meta tag generator removes the guesswork: you type in the page details, it builds the tags, and it shows you exactly how the result will look in Google before you publish anything.

This guide walks through the process step by step using the free Meta Tag Generator on SEO Free. The tool is free, needs no account, and generates the full set of tags — title, description, Open Graph, Twitter Card, robots and canonical — with a live desktop and mobile search preview. By the end you will know what each tag does, how to fill in the tool, and how to avoid the mistakes that cause Google to rewrite your snippets.

What a Meta Tag Generator Actually Does

A meta tag generator is a small web tool that turns plain form fields into valid HTML meta tags. You enter the page title, the meta description, the canonical URL and your primary keyword, and the tool outputs the finished code you paste into the head section of your page. Instead of memorising tag names and syntax, you fill in boxes and copy the result.

The SEO Free generator goes further than a simple code builder in three ways. First, it simulates a real Google search result as you type, on both desktop and mobile widths, so you can see truncation before it happens. Second, it measures pixel width, not just character count, because Google truncates titles at about 600 pixels and descriptions at about 960 pixels — a title full of wide capital letters can truncate at 50 characters while a narrow one survives at 60. Third, it builds the social tags at the same time: Open Graph tags for Facebook, LinkedIn, Discord and Slack, plus Twitter Cards, so one pass through the tool covers search and social sharing together.

The output is ordinary HTML. There is nothing proprietary about it, and you can paste it into WordPress, Shopify, a static site, or any custom CMS that lets you edit the head section.

Which Tags the Tool Generates

Before running through the steps, it helps to know what each generated tag is for. The tool produces six groups of tags, and each one has a distinct job.

The title tag is the clickable blue headline in search results and the text shown in the browser tab. It is the single most visible on-page element in Google, and it should lead with the page's main keyword and a clear benefit. Keep it between 50 and 60 characters, under 600 pixels, and put your brand name at the end unless the brand itself is the search term.

The meta description is the grey summary text under the title in search results. It does not directly affect rankings, but it strongly affects whether people click. Aim for 140 to 160 characters, roughly 960 pixels, and follow a simple formula: state the benefit, add one specific proof, and finish with an invitation to click.

Open Graph tags (og:title, og:description, og:image, og:url) control how your link looks when it is shared on Facebook, LinkedIn, Discord or Slack. Without them, social platforms guess which image and text to show, and they often guess badly. The recommended og:image size is 1200 by 630 pixels, the same 1.91:1 ratio used for the featured images on this blog.

Twitter Card tags do the same job for X (Twitter). The tool builds a summary card with a large image, so shared links render with a proper preview instead of a bare URL.

The robots meta tag tells crawlers what to do with the page: index or noindex, follow or nofollow. The default is index, follow, which means the page may appear in search results and its links may be followed. You only change this when you deliberately want a page kept out of the index.

The canonical tag declares the preferred version of a page when near-duplicates exist. It is a link element rather than a meta tag, but the generator includes it because canonical and meta tags are normally written together. For a full explanation of how canonicals fix duplicate content, see our guide on how to fix canonical URL errors.

How to Use the Meta Tag Generator: 7 Steps

The tool follows a fixed sequence. Work through the steps in order and check the preview at each stage rather than filling everything in and hoping for the best.

  1. Enter your page title and meta description. Open the Meta Tag Generator and type the title first. Watch the character counter and the pixel-width meter as you type: the meter warns you when the title passes 60 characters or 600 pixels. Then write the description using the benefit, proof and call-to-action formula, keeping it between 140 and 160 characters.
  2. Enter your target canonical URL and primary keyword. Paste the full URL of the page the tags belong to, including https. Add the one primary keyword the page targets. The tool highlights the keyword in the preview, which makes it easy to check that it appears early in the title and naturally in the description.
  3. Check the real-time Google desktop and mobile SERP previews. The preview shows your favicon, site name, breadcrumb path, title and description exactly as a searcher would see them. Look for truncation warnings first: if the title is cut off with an ellipsis, move the most important words to the front and shorten the tail.
  4. Configure the Open Graph tags. Fill in the Open Graph title and description — these can match the search title and description, or be slightly more conversational, since social readers are browsing rather than searching. Add the image URL for the picture that should appear when the link is shared, ideally a 1200 by 630 pixel image.
  5. Configure the Twitter Card tags. Set the card type to summary with a large image and confirm the title, description and image fields. If the Open Graph fields are already filled in, this step takes seconds, because the same values are reused.
  6. Set the robots meta tag. Leave it at index, follow for any page you want in Google. Switch to noindex only for pages that must stay out of search results, such as thank-you pages, internal admin pages or login screens. Remember that noindex is a separate decision from robots.txt: blocking a page in robots.txt does not remove it from the index, and it can even keep Google from seeing the noindex tag.
  7. Copy the generated HTML and paste it into your page head. Use the one-click copy button, then paste the tags into the head section of your page, before the closing head tag. In WordPress this usually means your SEO plugin's per-page fields or the theme's header template; in a static site it means editing the HTML file directly. Save, then switch the preview to mobile and confirm nothing truncates on the narrower screen.

Writing Titles and Descriptions That Earn Clicks

The generator handles the code, but the words are still yours, and they are what decide the click. A few rules make the difference between a snippet people scroll past and one they open.

Match the title to the searcher's intent. For a transactional page, lead with the product or service plus a concrete differentiator such as price, delivery or a guarantee — for example, "Waterproof Hiking Boots – Free Returns & 2-Year Warranty". For an informational page, lead with the question or the outcome the reader wants, such as a how-to or a number-driven promise. Test both shapes in the simulator and keep the version that holds its key phrase inside the visible width.

Use one title pattern per page type across the whole site. Product pages might use "Product Name – Key Benefit | Brand" while guides use "How to Topic | Brand". A consistent pattern prevents accidental duplicates and makes future pages faster to write. Record the pattern you settle on in the tool's final step so every new page follows it.

Write the description for a human, not for a keyword counter. The formula that works reliably is benefit plus proof plus call to action: say what the reader gains, back it with one specific detail, and finish with an invitation. A description that repeats the title adds nothing; a description that promises a discount or a feature the page does not deliver will earn the click and lose the visitor.

Always check the mobile preview last. Mobile snippets truncate earlier than desktop ones, so a title that survives on desktop can still lose its key phrase on a phone. If the keyword sits at the end of a long title, move it to the front.

Common Problems and How to Fix Them

Most meta tag problems fall into a small set of repeatable mistakes. The generator prevents several of them automatically, but a few still depend on what you type.

Titles truncated in search results. The cause is almost always pixel width rather than character count. A title of 58 characters full of capital letters and wide characters can exceed 600 pixels, while a 60-character title in narrow lowercase survives. The fix is to shorten the title or move the brand to the end, and to re-check the meter rather than counting characters.

Duplicate meta tags across pages. When every product page shares the same description with only the product name swapped, Google treats the pages as near-duplicates and may ignore the descriptions entirely. Every page needs its own title and description, written from its own content. The tool cannot detect duplicates across your site, so keep a simple spreadsheet of titles and check new ones against it.

Empty meta descriptions. Leaving the description blank hands the job to Google, which will then pull a random sentence from the page — often a navigation label or a cookie notice. Fill the field in the generator for every page, even if the page feels too small to matter.

Keyword stuffing. Repeating the same keyword three times in the title and again in the description does not help rankings and makes the snippet unreadable. Use the primary keyword once in the title and once, naturally, in the description. If you need to check how heavily a page repeats its terms, run it through the Keyword Density Checker afterwards.

Google rewrites the title anyway. This is the most confusing problem, because the tag is correct and Google still shows something else. Google rewrites titles when it judges the original too long, keyword-stuffed, irrelevant to the query, or unclear about the brand. The fix is to compare your title with the page's H1 and with the queries the page actually ranks for: if they conflict, align the wording more closely, keep the title concise, and Google will usually adopt it on the next crawl. The preview simulates typical snippet widths, but actual display varies by device, query and search features, so treat the pixel meters as guidance rather than a guarantee.

Social shares show the wrong image. This usually means the og:image URL is wrong, the image is smaller than 1200 by 630 pixels, or a cached version is stuck. Check the image URL in the tool, confirm the file exists and is the right size, and then re-scrape the URL in the platform's debugger to clear the cache.

Tips for Getting the Most Out of the Tool

  • Draft the title and description in the generator, not in a document, so the pixel meter catches truncation while you are still writing.
  • Put the primary keyword in the first half of the title. Words at the end are the first to disappear when a snippet truncates.
  • Write the Open Graph description for a social reader, not a searcher. It can be warmer and more conversational than the search description.
  • Keep one og:image per page at 1200 by 630 pixels. That size displays sharply on both mobile and desktop shares.
  • Use the robots controls deliberately. Index, follow is the default for a reason; noindex is for pages you actively want hidden, not for pages you forgot to finish.
  • After pasting the tags, view the page source in your browser and search for the title text to confirm the tags actually landed in the head section. A tag pasted into the body by mistake does nothing.
  • Revisit old pages with the tool. Titles written years ago often exceed the pixel limit or duplicate each other, and a ten-minute pass through the generator can lift click-through rates across a whole site.

Frequently Asked Questions

What are meta tags in SEO?

Meta tags are HTML snippets placed in the head section of a webpage that describe the page content to search engines and social media platforms. The title tag and meta description control how the page appears in search results, while Open Graph and Twitter Card tags control how it appears when shared on social media.

What is the ideal meta title length?

Keep meta titles between 50 and 60 characters and under 600 pixels wide on desktop. Google truncates titles that exceed the pixel limit, so a title can be within the character count and still be cut off if it contains many wide characters. The generator's pixel meter warns you before that happens.

What is the ideal meta description length?

Aim for 140 to 160 characters, approximately 960 pixels. Descriptions longer than that get cut off with an ellipsis, while descriptions that are much shorter waste the chance to persuade the searcher to click. Follow the benefit, proof and call-to-action formula to make every character count.

Does Google use meta keywords for ranking?

No. Google officially stopped using the meta keywords tag as a ranking signal in 2009. The generator still supports editing it for legacy internal search engines, but you should not spend time optimising it. Focus instead on the title, description and Open Graph tags, which actually affect visibility and clicks.

Do I need a different meta title for every page?

Yes. Duplicate titles make it difficult for search engines to determine which page is most relevant for a given search query, and they make your own search results confusing for users. Give every page a unique title and description, even if two pages cover similar topics. A consistent title pattern per page type keeps this manageable at scale.

The Bottom Line

Meta tags are small, but they are the first thing a searcher ever sees of your page, and they cost nothing to get right. A meta tag generator turns a fiddly, error-prone job into a five-minute form: enter the title and description, add the canonical URL and keyword, check the desktop and mobile preview, fill in the social tags, set the robots directive, and copy the finished HTML into your head section. The pixel meters catch truncation before Google does, and the Open Graph and Twitter Card fields mean the same pass covers search and social sharing.

Try it on your most important page today. Open the Meta Tag Generator, paste in your current title and description, and watch the preview. If the title truncates, shorten it. If the description is a copy of the title, rewrite it with a benefit and a call to action. Small fixes like these, repeated across a site, are often the fastest click-through win in technical SEO.

Validate Your Robots.txt Directives in Bulk

Test up to 100 paths simultaneously against your live or draft rules using our RFC 9309 compliant evaluation engine.

Open Bulk Robots.txt Tester

Related Technical Guides