Meta Tag Generator

Runs in your browser — your data is never uploaded.

Generate the tags that belong in every page’s <head> — charset, viewport, title, description, canonical and robots — and get the measurement that decides whether the first two survive to the search results. Google truncates on rendered width, not character count, so the output reports how many pixels your title and description occupy against the widths results are usually cut at.

How to use Meta Tag Generator

  1. 1

    Enter the page title and meta description.

  2. 2

    Add a canonical URL, and change the robots value if the page should not be indexed.

  3. 3

    Click “Generate” and paste the tags into your <head>.

Share

Embed this tool on your site

Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.

Please keep the attribution line — it's what keeps these tools free.

Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.

Frequently asked questions

How long should a title tag be?+

Long enough to be clear, short enough not to be cut — and “cut” is measured in pixels. Around 580px is where desktop results are usually truncated, which is roughly 60 characters of average text but only about 45 of wide ones. This tool gives you the actual number for your title rather than a character count that ignores the difference between “Wi-Fi” and “mmm”.

Do meta keywords still matter?+

No. Google stopped using the keywords meta tag in 2009 and has said so repeatedly; Bing has described stuffing it as a spam signal. The field is available here because people ask for it, with a comment in the output saying exactly this.

What does the canonical tag do?+

It tells search engines which URL is the real one when several show the same content — a page reachable with and without a tracking parameter, or with and without a trailing slash. A self-referencing canonical on every page is cheap insurance against a parameter you have not thought of yet splitting one page into several.

Should I use noindex and robots.txt together?+

No — they cancel out. A page blocked in robots.txt is never fetched, so the noindex tag inside it is never read, and the URL can stay in the index indefinitely. Pick one: noindex for removal, robots.txt for crawl budget.