Meta Tag Generator

Loading tool…

About Meta Tag Generator

Type a title and description and watch the pixel meters (600 for title, 920 for description). Set robots (default index, follow) and viewport (default width=device-width, initial-scale=1). Optional fields: canonical URL, keywords, and author. Copy the HTML block into your layout.

The snippet always includes title, description, charset utf-8, viewport, and robots. Keywords and author are omitted when empty. The SERP mock is a planning preview, not a live fetch. Open Graph tags belong in the Open Graph generator.

When to use it

Use it when a new template has no title or description yet, and you want the meta block plus pixel meters before anyone deploys. Draft here, then paste into the layout. It is the head snippet builder, not a live tag reader. Paste the block after you copy.

Do not use it to read a live URL. That is Meta Tag Analyzer. SERP Preview is the same mock without charset, robots, or viewport. Use this form when the head snippet itself is what you need to paste.

How to use Meta Tag Generator

  1. 1Type title and description. Watch the pixel meters. Shorten the text if it overflows.
  2. 2Set robots and viewport. Defaults are filled. Change them if the page should not be indexed.
  3. 3Add optional fields. Canonical, keywords, and author only appear in the block when you fill them.
  4. 4Copy the block. Paste it into the document head, then deploy.

How to read the results

Meters sit on title (600px desktop) and description (920px). Overflow means shorten the string. Robots defaults to index, follow. Viewport defaults to width=device-width, initial-scale=1. The block always emits title, description, charset utf-8, viewport, and robots.

Canonical, keywords, and author appear only when filled. An empty title still emits an empty title tag. The SERP mock updates as you type. Copy is the HTML, not a publish step. Pixel overflow is a length warning only; the tag is still written at full length.

Why this matters

A missing robots line lets a later template inject noindex by accident. Putting the four robots pairs on the form makes that choice visible before deploy. index, follow is the default so a blank select cannot silently noindex.

Keywords meta is ignored by Google and still emitted when filled, because some older stacks read it. Leaving it empty omits the tag so you do not ship a stuffed list for no reason. Author is the same: omit unless a byline system reads the tag.

Limits and privacy

Meters and the HTML block stay on this device. Nothing is posted. There is no URL field. Deploy is still your job. No login. Closing the window drops the draft strings.

Common mistakes

Filling keywords because the field exists. Skip it unless a legacy system needs it.

Copying the block and never deploying. Analyzer will still see the old tags.

Using this form for og: tags. Those fields are not here. Open Graph Generator is the other block. charset is always utf-8 in the snippet; there is no alternate encoding control.

FAQs

Does this publish tags to my site?
No. It only builds markup. You still paste it into the template and deploy.
Should I fill keywords?
Optional. Google ignores keywords meta. It is here for older systems that still read it.
Is the pixel font exact?
Approximate Arial-like width, useful for length. It is not Google's exact SERP font.
Can I generate Open Graph here?
No. Use the Open Graph generator for og: and twitter: tags, then the Open Graph checker on the live URL.
What robots values can I pick?
index, follow; noindex, follow; index, nofollow; or noindex, nofollow.
Why is there no submit on this form?
The block and the SERP mock update as you type. Fields are title, description, robots, viewport, and optional canonical, keywords, and author. Meta Tag Analyzer is the fetch tool for a live URL.
What is always in the copied HTML?
title, description, charset utf-8, viewport, and robots. Empty keywords and author are omitted. An empty title still writes a title element. Pixel meters do not change which tags are emitted.
Can I set noindex, nofollow here?
Yes. Robots options are index, follow; noindex, follow; index, nofollow; and noindex, nofollow. Default is index, follow. Viewport stays width=device-width, initial-scale=1 unless you edit it.