meta-tag-generator
A meta tag generator builds the full set of <head> meta tags every modern web page needs β SEO basics (title, description, canonical, robots), social cards (Open Graph + Twitter), mobile (viewport, theme-color, apple-touch-icon), PWA hints (manifest, color-scheme), and structured-data starters. The ZTools Meta Tag Generator covers all of these in one form, validates lengths against best practices (title β€ 60 chars, description 140β160 chars), and emits a single copy-paste block ready for any HTML page or CMS template.
Use casesβ
New site launchβ
Day-one SEO foundation. Every page needs the basic meta block β generator gets it right the first time, ensures nothing is missing.
CMS template scaffoldingβ
Wordpress / Webflow / Ghost theme builders bake the meta block into the layout template. Generate once, parametrise placeholders, deploy.
SEO audit fixesβ
Existing site missing canonical / robots / OG tags β generate the complete set, paste into the affected templates, fix in one pass.
Mobile / PWA polishβ
theme-color, apple-touch-icon, viewport, manifest reference β small things that make a site feel native on mobile. Generator gets them all.
How it worksβ
- Enter page essentials β Title (β€60 chars), meta description (140β160), canonical URL, language code (en, fr, etc.).
- Configure robots β index/noindex, follow/nofollow, max-snippet, max-image-preview β all standard robots-meta directives.
- Add social β OG title/description/image/type + Twitter card style. Reuses page values if not overridden.
- Add mobile/PWA β viewport (always default), theme-color (browser chrome tint), apple-touch-icon, web-app-capable.
- Copy block β Single multi-line
<head>snippet β paste once, done.
Examplesβ
Input: Blog post: title, description, OG image, English, index+follow
Output: ~20 meta tags covering SEO + social + mobile.
Input: Internal admin page: noindex, nofollow
Output: Minimum tags + <meta name="robots" content="noindex,nofollow"> so admin pages don't get indexed.
Input: PWA-installable site
Output: Adds manifest link + theme-color + apple-mobile-web-app-capable for installable behaviour on iOS/Android.
Frequently asked questionsβ
Is the meta keywords tag still useful?
No β Google ignored it since 2009. Bing officially dropped it. Yandex still considers it. Most generators omit it; some include it because Yandex.
Why is my page title showing differently in Google?
Since 2021, Google rewrites titles ~60% of the time based on H1, anchor text, and content. Your <title> is a strong hint, not a guarantee. Make it match user intent and the page H1.
How long can the meta description be?
160 chars is the safe maximum on desktop SERPs; 130 on mobile. Beyond that, Google truncates. Some pages benefit from short, punchy descriptions (90β110 chars) β depends on intent.
What's the difference between canonical and og:url?
canonical tells search engines the preferred URL for indexing. og:url tells social platforms where to send users when they click the preview. Usually identical β but for tracking-parameter URLs, og:url may include UTMs while canonical is the clean version.
Do I need theme-color?
Strongly recommended for PWAs and mobile sites β colors the browser chrome on Chrome Android, Safari iOS standalone, Edge mobile. Drop the fallback brown bar; gain on-brand polish.
What's the modern viewport meta?
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"> β viewport-fit=cover allows draw-under-notch on iOS for full-screen experiences.
Tipsβ
- Always include a canonical β even self-referencing β to prevent duplicate-content issues from URL parameters.
- Keep the title β€ 60 chars; longer titles get truncated with "...".
- theme-color: pick a color from your brand that contrasts with both light and dark UI.
- Add
langattribute on<html>(not just meta) β improves accessibility and translation. - Use a build-time tool to inject per-page meta dynamically; static meta on every page is brittle.
Try it nowβ
The full meta-tag-generator runs in your browser at https://ztools.zaions.com/meta-tag-generator β no signup, no upload, no data leaves your device.
Last updated: 2026-05-06 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub