Meta Tag Generator

Fill in a few fields and get clean, valid meta tags ready to paste into the of your page.

FreeNo sign-upRuns in your browserMobile-friendly

Loading tool…

Need help with this tool or found a problem? WhatsApp support Email

About the Meta Tag Generator

The Meta Tag Generator writes the essential HTML tags that sit in the <head> of every web page: the character set, the mobile viewport, the page title, the meta description, the robots directive, the canonical URL and optional author, keywords and theme-colour tags. Fill in a few fields and you get clean, correctly escaped code ready to paste into your page or template.

It is useful when you build a static website, a landing page or an HTML email, when an SEO audit reports missing or duplicate tags, or when you are learning which tags matter. The generator also warns about common mistakes, such as a title that is likely to be cut off in search results or a canonical URL that is not a full address. Everything runs in your browser.

What are meta tags?

Meta tags are pieces of HTML in a page’s <head> section that describe the page to browsers and search engines. Visitors do not see them on the page itself, but they affect how the page is displayed and how it may appear in search results.

The most important ones are the title tag, which is usually used as the clickable headline in search results and the browser tab; the meta description, a short summary that search engines may show under the title; the robots tag, which tells search engines whether to index the page and follow its links; and the canonical link, which names the preferred URL when the same content is reachable at several addresses. The charset tag makes sure characters display correctly, and the viewport tag makes the page fit mobile screens.

Meta tags do not guarantee rankings. They help search engines understand your page and help people decide whether to click, while the content of the page itself matters most.

How to use the Meta Tag Generator

  1. Enter a Page title of roughly 50–60 characters that describes the page and includes its main topic.
  2. Write a Meta description of about 120–160 characters summarising what the visitor will find.
  3. Add the Canonical URL as a full address beginning with https://, and an optional Author.
  4. Choose Indexing (index or noindex) and Links (follow or nofollow), and set the page Language.
  5. Optionally add a Theme colour in hex, such as #4f46e5, and keywords. Keep charset and viewport ticked unless your template already includes them.
  6. Copy the generated code into the <head> of your page, or download it as an HTML file.

The code updates as you type. Warnings appear above it if something needs attention, such as a missing title, a title over 60 characters or a canonical URL that is not absolute.

Key features and benefits

  • All essential head tags. Charset, viewport, title, description, robots, canonical, author, keywords and theme colour in the right format
  • Safe escaping. Quotes, ampersands and angle brackets are escaped so your text cannot break the HTML
  • Helpful warnings. Flags missing titles, long titles and relative canonical URLs
  • Large image previews. Indexable pages get max-image-preview:large, which permits search engines to show large image previews
  • Copy or download. Paste straight into your template or save the snippet as a file
  • Private. Runs in your browser; nothing about your page is sent anywhere

Practical examples

A typical blog post

Title: How to Reduce Image File Size for the Web. Description: a 140-character summary. Canonical: https://www.example.com/blog/reduce-image-size/, index and follow. The output contains charset, viewport, the title, the description, <meta name="robots" content="index, follow, max-image-preview:large"> and the canonical link: the core set most content pages need.

A thank-you or login page

Pages such as “thank you for your order” or account login have no value in search results. Choose noindex and keep follow: the output becomes content="noindex, follow", so the page stays out of search results while its links can still be followed.

Special characters in a title

A title such as Salt & Pepper “Fresh” Recipes is written as Salt &amp; Pepper “Fresh” Recipes in the tag, so the ampersand does not break the HTML. Straight double quotes are escaped as well.

Long title warning

A 72-character title triggers the warning that it may be truncated. Shorten it, putting the most important words first, and use the Meta Title Checker to preview it.

Common use cases

  • Website owners add missing tags to static HTML pages and landing pages.
  • Developers generate a correct head snippet for templates and new projects.
  • SEO professionals fix audit findings such as missing descriptions or canonicals quickly.
  • Bloggers on platforms that allow custom head code add tags per page.
  • Students learn the purpose and syntax of each essential tag.

Accuracy, limitations and privacy

The generator produces standard HTML that works in all modern browsers. Title length is checked in characters, while search engines actually truncate by pixel width, so a 60-character limit is a guideline, not a rule. Search engines may rewrite titles and descriptions when they think another text better matches a search, and Google ignores the keywords meta tag entirely; it is included only if you fill it in.

The tool only writes code; it does not check whether your page is indexed or how it ranks. Everything is generated locally in your browser.

  • Social media previews need Open Graph and Twitter/X card tags, which have their own generators.
  • The generator cannot see your existing page, so remove any duplicate tags your template already outputs.
  • Indexing and canonical choices take effect only after search engines recrawl the page.

Tips and best practices

  • Give every page a unique title and description; duplicates across many pages are a common audit issue.
  • Put the main topic near the start of the title, and your brand at the end if space allows.
  • Write descriptions for people: say what the page offers and why it is useful, without stuffing keywords.
  • Use a self-referencing canonical on every indexable page, pointing to the exact URL you want in results.
  • Never set noindex on pages you want to rank; check templates after site redesigns.

Frequently asked questions

Which meta tags are most important for SEO?

The title tag and meta description, plus robots and canonical tags where needed. Charset and viewport are essential for correct display on all devices.

Where do I put meta tags?

Inside the <head> section of your HTML, before the closing </head> tag. Many content management systems have a field or plugin for them instead.

Does Google use the keywords meta tag?

No. Google has ignored it for many years. Some other search engines may still read it, so the field is optional.

What does “noindex, follow” mean?

Search engines should not show the page in results, but may follow its links to discover other pages.

How long should a meta description be?

Around 120–160 characters is a common guideline. Longer descriptions are often shortened in search results.

Will these tags improve my ranking?

They help search engines understand and display your page, but rankings depend mainly on content quality and relevance.

Related tools and next steps

For attractive link previews on Facebook, WhatsApp and LinkedIn, add tags from the Open Graph Generator and the Twitter Card Generator. Check title and description length with the Meta Title Checker and Meta Description Checker, preview your search result with the SERP Snippet Preview, and build canonical tags in bulk with the Canonical URL Generator.

Embed this tool on your website

Add the free Meta Tag Generator to your blog or website. Paste the code into your page’s HTML; the tool runs in your visitors’ browsers and stays up to date automatically. Please keep the credit line below the tool.

Free to use on any website. The tool runs inside an iframe served from viptools.pk; nothing your visitors type is sent to your site or ours. Preview the embedded version.

All seo tools