MyToolsBay
SEO tool

Meta Tag Generator

Create SEO-friendly HTML meta tags for your webpage, including titles, descriptions, robots directives, canonical URLs, and Open Graph metadata.

Page information

HTML output

Copy into your page head.

Generated HTML tags will appear here.

Review existing tags before adding these. Duplicate titles, canonical links, or conflicting robots directives can cause problems.

What this generator does

Enter a page title, description, canonical URL, brand name, and social image URL, choose a robots directive, and the tool writes the matching tags into one block of HTML you can copy into your page head. Ampersands, quotes, and angle brackets are escaped so the output is valid markup.

The output is generated in your browser and nothing is sent to a server.

What it generates

TagPurpose
<title>The page title shown in search results and browser tabs
meta descriptionThe summary search engines may show under the title
link rel=canonicalTells search engines which URL is the preferred version
meta robotsIndex or noindex, follow or nofollow
og:site_name, og:title, og:description, og:url, og:imageHow the page appears when shared on social platforms
twitter:title, twitter:description, twitter:imageFallback title, description, and image for X cards

Before you paste the output

  • Do not add a second title or canonical tag — remove or replace the existing one.
  • Use a single, deliberate robots directive and check that it matches your intent.
  • Keep the title around 50–60 characters and the description around 150–160.
  • Social images are usually best at 1200 × 630 pixels and must be absolute URLs.
  • Review the generated tags against your current page before publishing.

What it does not include

  • There is no twitter:card tag, so a large-image card may need to be added manually.
  • No JSON-LD structured data — use the Schema Markup Generator for that.
  • No verification tags, favicon links, or analytics snippets.
  • It does not edit your site or detect duplicate tags; it only produces text.

How to use it

  1. 1Enter your webpage title and meta description.
  2. 2Add your canonical URL and robots directives.
  3. 3Enter optional Open Graph information.
  4. 4Generate and copy the HTML meta tags.

Features

  • ✓ SEO title and description tags
  • ✓ Canonical URL tag generation
  • ✓ Robots meta directives
  • ✓ Open Graph metadata
  • ✓ Copyable HTML output
  • ✓ Free browser-based generation

Privacy

Files and text you enter are processed in your browser and are not uploaded to our servers. Our server records only an anonymous count that the tool was used — never your file or input. Read our Privacy Policy.

Frequently asked questions

What are meta tags?

Meta tags provide information about a webpage to browsers, search engines, and social platforms.

Does a meta description improve rankings directly?

A meta description is not a direct Google ranking factor, but a useful description may help searchers understand your page and click through.

Where should I add the generated tags?

Add the appropriate tags to the head section of your webpage, using your CMS or website framework.

Does it generate Open Graph and Twitter tags?

Yes. When you fill in the title, description, URL, brand name, and image, it writes og: and twitter: tags for social sharing.

Why are my URLs rejected?

Canonical and image URLs must be absolute and begin with https:// or http://.

Will this replace my existing tags?

No. It only produces HTML. Remove or update the matching tags in your page head yourself so you do not end up with duplicates.

Is there a twitter:card tag?

No. Add twitter:card separately if you need a specific card layout.

Related guides