My Tool Studio
SEOURL-first

Meta Tag Generator

This meta tag generator builds the head tags a page needs: title, meta description, robots, canonical, author, charset, viewport, theme colour, Open Graph and X (Twitter) tags. Paste a URL to fill the fields from the live page and get a list of what is wrong with its current tags, such as two titles or a missing canonical. Or type everything in for a page that is not published yet. Counters show the title and description in characters and pixels, and previews show the result on Google, Facebook, X, LinkedIn, WhatsApp, Slack, Discord, Pinterest and Telegram. You can even preview a local image before you upload it. Copy or download the result as HTML or as a Next.js metadata object. The tool formats what you enter; it does not write the copy for you.

Always freeNo sign upRuns in your browser

0 characters

0 characters (aim for 120 to 160)

1200 x 630 JPG or PNG works on every platform

Goes on the html element, e.g. en or en-GB

Browser toolbar on phones and Discord embeds

Google ignores meta keywords; some site search tools still read them

Robots and technical tags
Previews
E
example.com
https://example.com › page
Your page title
Your meta description

Previews are close approximations. Each app changes its layout by device and version, and caches a link card after the first share.

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>

<!-- Open Graph (Facebook, LinkedIn, WhatsApp, Slack, Discord) -->
<meta property="og:type" content="website" />
<meta property="og:title" content="" />

<!-- X (Twitter) -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="" />

How to use

01

Auto-fill from a URL or start blank

Paste a page address and click Auto-fill from URL. The fields fill from the live page, and a short list shows problems found in its current tags. Skip this for a page that is not live yet, or click Try sample.

02

Edit the fields and robots options

Adjust the title, description, canonical, share image, site name, X handles, language and theme colour. Tick the robots options you need, such as noindex or max-image-preview:large. A red field is wider than Google usually shows.

03

Check the previews and copy

Switch between the platform tabs, or open All to see every card at once. Choose HTML or Next.js metadata, then press Copy or Download and paste the result into your head or layout file.

Why Meta Tag Generator

Essential meta tags and whether Google uses them

Not every tag in a typical head matters for search. The table lists the tags this generator can output, with what each one does and whether Google uses it.

TagWhat it doesUsed by Google?
<title>Page title in browser tabs and search resultsYes, the main source for the result title
meta descriptionShort summary of the pageYes, often used for the snippet, but may be replaced
meta robotsAllows or blocks indexing and link followingYes
meta viewportSets the page width on phonesYes, needed for a mobile-friendly page
meta charsetDeclares the text encoding, usually utf-8Yes, to read the page correctly
link rel=canonicalNames the preferred URL among duplicatesYes, as a strong hint
og: tagsTitle, description and image for link previewsNo, used by Facebook, LinkedIn, WhatsApp and others
twitter: tagsCard layout and content on XNo, used by X
meta authorNames the authorNo known effect on ranking
meta theme-colorColours the browser bar on phones and Discord embedsNo
meta keywordsA list of keywordsNo, ignored since 2009

How the title pixel counter works

Google does not cut titles at a fixed number of characters. It cuts them when they no longer fit the width of the result, which on desktop is roughly 600 pixels. A title full of wide letters such as W and M hits that limit sooner than one full of narrow letters such as i and l. At 20 pixels, a capital W is about 19 pixels wide and a lowercase i about 4.

The counter measures your title in 20 pixel Arial, close to the font Google uses for desktop titles, using your browser's own text measuring. It measures the description in 14 pixel Arial against about 920 pixels. These are close estimates, not exact figures: Google changes its layout from time to time, and it may show a different title if it thinks yours does not match the page. Treat a red field as a sign to shorten, and a number well under the limit as a safe margin.

Common questions

Which meta tags does Google actually use?
Google reads the title element, the meta description, the robots meta tag, the viewport tag and the charset declaration, and treats the canonical link as a strong hint. It ignores the meta keywords tag. Open Graph and Twitter tags do not affect Google rankings, but social networks and messaging apps use them to build link previews.
How long should a meta title and meta description be?
Google trims titles by pixel width, roughly 600 pixels on desktop, which is often 50 to 60 characters. Descriptions usually show up to about 155 to 160 characters on desktop and fewer on mobile. The generator shows both the character count and the approximate pixel width, and turns a field red when it is likely to be cut.
Where do I paste meta tags in WordPress or Shopify?
In WordPress, most sites set the title and description in an SEO plugin such as Yoast or Rank Math, which writes the tags for you; hand-written tags go inside the head in the theme's header.php, ideally in a child theme. In Shopify, each page's title and description live in its Search engine listing section, and extra tags go in theme.liquid under Online Store, Themes, Edit code. Do not add a second title or description if a plugin or theme already outputs one.
Why does Google rewrite my meta description?
Google treats the description as a suggestion and often shows text from the page that better matches the search. It does this more when the description is missing, very short, repeated across pages or unrelated to the query. A specific, accurate description for each page is the one most likely to be shown as written.
Do meta keywords still help SEO?
No. Google said in 2009 that it does not use the keywords meta tag in ranking. The generator only writes one if you fill in the optional Keywords field, which some internal site search tools still read. Time spent on a clear title and description does far more for search.
Can this meta tag generator write the title and description for me?
No. It formats and checks the text you enter or the text it fetches from your page, and it does not create new wording. Write the copy yourself, then use the counters and the Google preview to tighten it.
What does the robots option in the meta tag generator output?
By default no robots tag is written, because index, follow is what search engines assume anyway. Untick indexing or link following, or tick max-image-preview:large, noarchive or nosnippet, and the tool writes one robots tag that combines your choices, such as index, follow, max-image-preview:large. Use noindex only on pages you want kept out of search, like thank-you pages.
Does Auto-fill from URL overwrite meta tags I've already edited?
Yes. Fetching a URL replaces the fields with what the page currently serves, so make manual edits after the fetch. It also lists what it found wrong on the page, such as a title wider than about 600 px, two meta descriptions or a missing viewport. If the fetch fails you see an error and your fields stay as they were.
Will the meta tag auto-fill work on JavaScript-rendered pages?
It reads the raw HTML your server sends and does not run scripts. If your framework adds head tags in the browser, the fetched fields come back empty even though you can see the tags in developer tools. That is also a warning that some crawlers may miss them, so consider server-side rendering.
Should og:title match my meta title?
It does not have to, but matching is a safe default, and this generator uses your Title for og:title and twitter:title. If you want a different headline for social shares, edit the og:title line after copying, or use the Open Graph Generator for full control.

More SEO tools

View all