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 toindex,followornoindex,nofollowbased 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:titleto your<title>andog:descriptionto 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.
robots — noindex 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.