Write the tags that Google and social networks really read. Fill in the fields or load an existing page. The HTML for your page's head is built as you type, with a live Google result and share preview.
Paste it inside the <head> of this page, in place of the old tags. Each page needs its own title, description and canonical address.
Google may rewrite titles and descriptions it finds unhelpful. This preview shows what you control.
Meta tags are short pieces of HTML in a page's <head> that tell search engines, browsers and social networks what the page is and how to show it. The ones that matter today are the title, the meta description, the canonical link, the robots tag, the charset and viewport tags, and the Open Graph tags used when a link is shared. This free generator builds all of them as you type, measures your title and description the way Google cuts them, checks for common mistakes and shows a live preview of the Google result and the share card. Copy the code and paste it into your page.
Many older meta tag generators still produce tags that search engines stopped reading years ago, such as meta keywords or revisit-after. They add nothing and make your code longer. This tool only writes the tags that Google and the big social networks actually use, and it explains the ones it leaves out. This guide shows how to use it, what each tag does, how to write a title and description that people click, and where to paste the code on WordPress, Shopify or a hand-written site.
<head> of your page, replacing the old tags.
The screenshot shows the tags for a beginner's guide at https://www.example.com/running-shoes. The title "Running Shoes for Beginners: How to Choose Your First Pair" measures 541 of about 600 pixels, so it fits on a desktop result without being cut. The description, 116 characters long, says what the reader will find: fit, cushioning, grip and a checklist. The checks flag one thing: the share image has no description. Typing "A red running track under a blue sky" in the image description field removes the warning and adds an og:image:alt tag for people who use screen readers.
The <title> element is the most important tag on the page. Google uses it as the main source for the blue link in search results, browsers show it on the tab, and it is the default name when someone bookmarks the page. Google can write a different title link when yours is missing, repeated across many pages, stuffed with keywords or does not match the page, so a clear and specific title is the best way to keep control of how your result looks.
The meta description is a short summary of the page. Google often shows it as the grey text under the title, but not always: when part of the page answers the search better, Google shows that text instead. The description does not change your ranking directly. Its job is to help a searcher decide that your page is the one to open, so treat it like a short advert for the page.
<link rel="canonical"> names the main address of a page. The same content is often reachable at several addresses, for example with and without www, or with tracking parameters such as ?utm_source=newsletter. The canonical link tells search engines which one to index and show. Always use the full address, starting with https://. Google treats the canonical as a strong hint, not an order, and can choose another address if your signals disagree, for example when your internal links point somewhere else.
By default, search engines may show a page and follow its links, so a normal page does not need a robots tag at all. Add one when you want something different: noindex keeps the page out of search results and nofollow tells crawlers not to follow its links. The generator also offers max-image-preview:large, which allows Google to show a large version of your images, for example in Discover. One trap: if robots.txt blocks a page, Google cannot crawl it and never sees its noindex tag, so the page may still appear in results with no description.
<meta charset="utf-8"> tells the browser how to read the characters on the page, so letters such as é, ß, ж or अ show correctly. Put it first in the head. <meta name="viewport" content="width=device-width, initial-scale=1"> makes the page fit the width of a phone screen instead of showing a tiny desktop layout. Google mentions the viewport tag as a sign that a page is built for mobile.
When someone pastes your link into Facebook, LinkedIn, WhatsApp, Slack or many other apps, the app builds a preview card from the Open Graph tags: og:title, og:description, og:image, og:url and a few more. Without them, the app guesses, and often picks the wrong image or no image at all. X (Twitter) reads the same Open Graph tags for the title, text and image, so it only needs twitter:card to choose the card size and, if you like, twitter:site with your username. Use a share image of at least 1200 × 630 pixels and give its full address.
Start the title with the words people search for, then add what makes your page useful. "Running Shoes for Beginners: How to Choose Your First Pair" tells the searcher the topic in the first three words and the benefit after the colon. Leave your brand name for the end, or out, if space is short: Google often shows the site name above the title anyway.
Google shortens titles and descriptions by their width on the screen, not by a fixed number of characters. A title in capital letters or with wide letters such as W and M is cut sooner than one with narrow letters such as i and l. That is why the generator measures the width in pixels, using about 600 pixels for a title and about 920 pixels for a description on desktop. These are practical guides, not official limits: Google does not publish exact numbers and can change its layout.
When many pages share the same title, Google has a harder time telling them apart and often rewrites the title links. Product pages, categories and blog posts each need a title that describes that page only. If your site has thousands of pages, build titles from the page's own data, such as the product name and its main feature, instead of copying one sentence everywhere.
A title or description that oversells may win the click once, but visitors leave when the page does not match, and Google may replace a misleading title with text from the page. Describe the page honestly and specifically: name the product, the problem it solves or the question it answers.
Older generators, including the first version of this one, added tags that make no difference today. Google's list of supported meta tags says so directly for several of them:
lang on your <html> element anyway, because screen readers and browsers use it. For pages in several languages, use hreflang links.<title> element for the title.<head> and </head>, near the top, and delete any old title, description or Open Graph tags so each tag appears only once.After publishing, open the page and view its source to confirm each tag appears once. Run the address through the On-Page SEO Checker or the Page SEO Audit to test the title, description, headings and content together. The Open Graph Checker shows the share cards for Facebook, LinkedIn, X and WhatsApp. Social networks keep a copy of a link's preview for a while, so after changing the tags use Facebook's Sharing Debugger or LinkedIn's Post Inspector to refresh it. In Google Search Console, the URL Inspection tool shows the page as Google last crawled it.
/running-shoes or an image of images/share.jpg can be misread. Use full addresses starting with https://.The pixel widths are close estimates based on the fonts Google uses. Real results also depend on the device, the browser and changes Google makes to its layout. Google may show a different title or description from the ones you write, and no tag can force a page to rank. The tool does not save your text: everything is built in your browser, and "Load from a page" only reads the public tags of the address you give.
Every page should have a unique title, a meta description, a canonical link, and the charset and viewport tags. Add a robots tag only when a page should be kept out of search results, and Open Graph tags so the page looks good when it is shared.
Aim for a title that fits in about 600 pixels, which is roughly 50 to 60 characters in English. Google cuts longer titles by width, so put the most important words first.
Keep the main message within about 920 pixels on desktop and 680 pixels on mobile, roughly 120 to 155 characters. Longer descriptions are cut, and Google may choose other text from the page.
No. Google states that the meta keywords tag has no effect on indexing or ranking, so this generator does not add it.
Open Graph tags describe the title, text and image for most apps that show link previews. X (Twitter) reads those same tags and only needs the twitter:card tag to choose the card size.
Google rewrites title links that are missing, too long, repeated on many pages or do not match the content. A short, specific title that describes the page makes a rewrite less likely.
Yes. It is free with no sign-up, and the code is built in your browser, so the text you type is not stored.