HTML Meta Tag Generator

Build all essential HTML meta tags for SEO and social sharing

Generate the core HTML head meta tags — title, description, canonical, viewport, charset, robots, theme-color, plus Open Graph and Twitter Card tags — from one simple form. Outputs clean, ready-to-paste HTML. Free and runs in your browser. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

How long should the title and description be?

Aim for a title around 50 to 60 characters and a description around 150 to 160 characters. Beyond that, search engines truncate the text in results. The tool shows live character counts so you can stay within range.

Every head tag a page needs, generated correctly

Hand-writing meta tags is repetitive and easy to get subtly wrong — a missing canonical, an over-long description, a forgotten viewport tag. This generator takes a few inputs and outputs a clean, correctly ordered block of head tags covering SEO fundamentals plus social previews, so you can paste once and move on.

How it works

The tool builds standard head elements from your inputs:

  • <meta charset="UTF-8"> and the responsive viewport tag, which belong on every page.
  • <title> and <meta name="description">, the two tags search engines show in results.
  • <link rel="canonical"> pointing at the page’s master URL.
  • <meta name="robots">, set to index,follow or noindex,nofollow based on your choice.
  • <meta name="theme-color"> for mobile browser chrome.
  • Open Graph (og:title, og:description, og:url, og:image, og:type) and the matching Twitter Card tags so shared links render with a title, summary, and image.

Values you type are HTML-escaped so characters such as &, <, >, and " cannot break your markup. The output updates live and character counts flag titles or descriptions that are too long.

Tips and example

  • Use absolute URLs for canonical and image tags. Relative paths often fail when a crawler or social platform resolves them from a different context.
  • Match og:title to your <title> and og:description to your meta description for consistency, then tune them only if the social copy needs to differ.
  • A good social image is 1200×630 pixels. Smaller images may be cropped or rejected by some platforms; very large ones slow down link-unfurling.
  • Paste the block high in the <head>, ideally right after the charset and viewport tags.

Why each tag matters

Title tag — the single most influential on-page SEO signal and the text Google shows in blue in search results. Keep it under 60 characters so it is not truncated; front-load the keyword.

Meta description — not a ranking signal, but it sets the snippet under the title. A well-written description improves click-through rate. Google rewrites descriptions it considers low-quality, so write for the reader, not the crawler.

Canonical — without a canonical, the same content reachable at example.com/page, example.com/page/, example.com/page?ref=email, and http:// vs https:// variants splits ranking signals across four different “pages”. The canonical tells crawlers which URL owns the credit.

robotsnoindex prevents a page from appearing in search but does not stop crawling; add Disallow in robots.txt to also stop crawling. Use noindex rather than noindex,nofollow when you still want followed links to pass signals outward.

Open Graph and Twitter Card — WhatsApp, Slack, iMessage, LinkedIn, Facebook, and Twitter/X all parse these tags when a link is pasted. A missing og:image results in a plain-text link preview; missing og:title falls back to the page title. Setting both takes only seconds with this generator and materially improves click rates on shared links.