NathanTools

Meta Tag Generator

Fill in your page details to get copy-ready meta tags for search engines and social sharing, with live Google and link previews as you type.

100% free No sign-up Works on any device

Report a bug

Meta Tag Generator

Search engines

Google preview

Social share preview

HTML for your <head>


                        

Updated November 2026 · Built in your browser

How to generate meta tags

  1. Write a page title and description. The counters turn red past the length Google usually shows, and the Google preview updates as you type.
  2. Add the page's URL, your site name and a share image. The tool loads the image, checks its size and shows how the link will look when shared.
  3. Choose whether search engines may index the page and follow its links.
  4. Copy the HTML and paste it inside the <head> of your page, replacing any existing title and meta tags.

Which meta tags actually matter

TagWhat it doesUsed by Google?
<title>The clickable headline in search results and the browser tabYes, a ranking and click signal
meta descriptionThe snippet under the titleShown often, but not a ranking factor; Google may rewrite it
meta robotsAllows or blocks indexing and link followingYes
link rel="canonical"Names the preferred URL when a page has duplicatesYes, as a strong hint
meta viewportMakes the page fit phone screensNeeded for a mobile-friendly page
meta charsetDeclares the text encoding (UTF-8)Needed to display text correctly
Open Graph og:*Title, description and image when shared on Facebook, LinkedIn, WhatsApp, Slack and DiscordNo (social only)
twitter:*The card shown when the link is posted on XNo (social only)
theme-colorColours the browser bar on mobileNo (appearance only)
meta keywordsA list of keywordsNo, ignored by Google since 2009

Writing a title and description that get clicks

  • Title: about 50–60 characters. Google cuts titles at roughly 600 pixels, so wide letters (W, M) run out sooner than narrow ones. Put the main topic first and the brand last: Handmade Ceramic Mugs | Clay & Co.
  • Description: about 120–160 characters. Summarise what the page offers and give a reason to click, such as a price, a benefit or free delivery. Words that match the search are shown in bold.
  • Make every page unique. Duplicate titles and descriptions across pages make it harder for Google to choose the right one, and it's more likely to write its own.
  • Match the page. If the description doesn't reflect the content, Google replaces it with text from the page.

Try several versions side by side in the SERP preview tool, which also shows the mobile view.

Share images (Open Graph)

Use an image of 1200 × 630 px (a 1.91:1 ratio) in JPG or PNG, and keep important text away from the edges, because some apps crop to a square. Images narrower than 600 px usually appear as a small thumbnail instead of a large card. The image URL must be public and absolute (starting with https://). Social networks cache previews, so after changing an image use Facebook's Sharing Debugger or LinkedIn's Post Inspector to refresh it. Our image resizer has a 1200 × 630 preset.

Where to put meta tags

  • Hand-coded sites: paste the HTML inside <head>…</head>, before any scripts.
  • WordPress: an SEO plugin such as Yoast SEO, Rank Math or All in One SEO adds these tags; fill in its title and description fields instead of pasting HTML, so you don't get duplicates.
  • Shopify, Wix, Squarespace: use each page's "SEO" or "Search engine listing" settings.
  • Single-page apps (React, Vue): set tags per route on the server or at build time; many social crawlers don't run JavaScript.

After publishing, check the live tags with the meta tag extractor.

Check the published page after copying the tags

If you're launching a course page, write a title that identifies the course and a description that tells students what they can do on the page. Use the public course URL for the canonical and link preview. Then add the generated markup to the page. If your CMS or SEO plugin already sets those fields, update them there to avoid publishing duplicate tags.

Open the public page and inspect its source. Check that the title and canonical you intended appear in the head, then open the share-image URL directly to confirm it works without a login. The generator gives you a preview while editing. Google may use other page text to make a snippet for a particular search. Google's guide to search snippets.

Write a title for the decision the visitor needs to make

Start with the reason someone might choose this page over a different one. On an individual course page, put the course name close to the start, then add a useful distinction such as the location, level or delivery format if that detail matters. On a page for a specific appointment type, make the service easy to identify. An accurately labeled page usually needs less ornament than a generic “Welcome” or “Best Solutions” title.

Use the description to make the next step clear. Imagine a bike workshop page whose actual content includes a repair price list and a way to book. A description could say “See service prices for flat tires, brake adjustments and tune-ups, then book a repair at our East Street workshop.” If the page only lists the prices, leave the booking promise out. The reader should find what the description led them to expect.

Write separate copy for pages that serve different jobs. A category page might help someone browse all workshops, while a detail page explains the price and dates for a particular workshop. If both have the same title and description, a reader has to open both to find the difference. Compare the titles side by side using the generator and check whether the first few words still distinguish the pages.

Decide which URL you want people to share

For a public event, use the permanent event address in the canonical and in the social settings if both should point to the same page. If someone arrives from a tracked newsletter link, the tracking parameters can still be useful for analytics. The canonical should express which version represents the original page. Check that the final public URL opens without a session, that the page uses the expected host and that you have left any staging host out of the markup.

Review social fields on their own terms. Someone coming from a chat usually sees a short headline and an image before deciding to open the page. Use a share image whose main subject is recognizable as a thumbnail, and keep essential dates in accessible page text as well. Pick a meaningful image description when your publishing setup has a field for it. Compare the published preview on the destination that matters to your audience.

Investigate a preview that differs from what you generated

First identify what is wrong. A title appearing in a Google search result, a line of snippet text and a preview shown in a chat can come from different systems. Open the public source to check that the values you edited are present. If the template still emits an older title or two conflicting descriptions, fix the template or the content management fields before chasing indexing or caching.

If the public source looks correct, compare its title with the prominent heading and the visible page text. Google can create title links using several signals and choose snippet text that answers the specific query. Check the actual result for a query your audience would use. For a stale social preview, check the public image URL and use the sharing debugger or inspector for the service if it offers one. Google's title link documentation.

Frequently asked questions

Meta tags are HTML elements in a page's <head> that describe the page to browsers, search engines and social networks. They aren't shown on the page itself. The most important are the title, meta description, robots, canonical and viewport tags, plus Open Graph tags for social sharing.

Some do. The title tag is one of the clearest signals of what a page is about and strongly affects clicks. The meta description doesn't affect ranking but often becomes the snippet people read. Robots and canonical tags control what gets indexed. The keywords tag has no effect on Google.

No. Google has ignored it since 2009 and Bing treats heavy use as a spam signal. It also tells competitors exactly which keywords you're targeting. The option is there only for internal search engines that still read it.

Google rewrites titles and descriptions when it thinks another wording matches the search better, for example when yours is too long, stuffed with keywords, the same on many pages, or doesn't match the content. A clear, unique, accurate title and description are rewritten less often.

1200 × 630 pixels (1.91:1) works across Facebook, LinkedIn, X, WhatsApp and Slack. Use JPG or PNG, keep text away from the edges, and use an absolute https:// URL. Smaller images, under 600 px wide, appear as small thumbnails.

It's a robots directive that allows Google to show large image previews of your page, for example in Google Discover. It's added when "Large image previews" is ticked, and only if the page is allowed to be indexed.

Comments

No comments yet.

Share this tool

Meta Tag Generator

Favorites

Drag to reorder, or use the arrows. Categories and the tools inside them can both be moved.

Saved in this browser. Sign in to keep them on every device.

Esc
↑ ↓ to moveEnter to open