SEO and marketing tools

Meta Tag Generator with Google and Social Previews

Write the title, description, Open Graph and X card tags for any page, watch the Google result and share card update as you type, and copy clean HTML or a Next.js metadata object.

  • Free foreverNo trial, no paywall, no usage limits.
  • No sign-upOpen the page and start. We never ask for an email to use a tool.
  • PrivateEverything you type stays in your browser. Import tags sends the URL you enter to our server, which reads that page's public tags and sends them back.
  • Works offlineOnce the page has loaded, the tool keeps working without a connection.
Reads the page's current title, description, Open Graph and X tags into the form, so you can fix them instead of starting over. Only the URL is sent to Playxoft's server.
Clear the form

Search result

The tags Google uses for your result: the title link, the snippet and the canonical URL.
Shown as the blue link in Google and as the headline when the page is shared. Lead with what the page is about; put the brand last.

Missing: every page needs a title0 characters · ≈0 pxAn estimate. Google cuts titles to fit the device width and publishes no limit. This measures your text in 20px Arial against a desktop column of about 600px.

One or two sentences that sell the click. Google may show it as the snippet, and social cards show it under the title.

Missing: Google will pick a snippet from the page0 characters · ≈0 pxAn estimate. Google cuts snippets to fit the device and often writes its own. Desktop results usually show about 155–160 characters.

The page's canonical address. Used for the canonical link and og:url, and to turn relative image and icon paths into full URLs.
og:site_name. Facebook, Slack, Discord and Messages show it above or beside the title.

Social sharing

Open Graph and X card tags: what Facebook, LinkedIn, X, Slack, WhatsApp and Messages show when someone shares the link.
og:image. Use 1200×630 pixels (1.91:1), PNG, JPEG or WebP, under 5 MB. A path like /og.png is resolved against the page URL, because Open Graph needs full URLs.
og:image:alt. Describes the image for people using screen readers. The Open Graph protocol says a page with og:image should set it.
og:image:width in pixels. Declaring the size lets Facebook render the image on the first share. Leave empty to skip.
og:image:height in pixels: 630 for a 1200-wide image. Leave empty to skip.
og:type. website for most pages; article for blog posts, guides and news.
og:locale, written language_TERRITORY: en_US, en_GB, de_DE, pt_BR.
twitter:card. Large image fills the width of the post; Summary shows a small square thumbnail beside the text.
summary_large_image: a full-width image above the title. Best for most pages.summary: a square thumbnail beside the title. Good for profiles and small logos.
twitter:site: the @handle of the website or brand. A profile link works too.
twitter:creator: the @handle of the person who wrote the page.
Optional: X falls back to og:title, og:description and og:image. Turn this on only for tools that read twitter: tags alone.

Indexing and browser

Robots rules for search engines, plus the basic tags every page needs.
Off adds noindex: Google drops the page from results. Leave it on unless the page is private, a duplicate or a thank-you page.
Off adds nofollow: Google will not follow any link on the page. Rarely what you want; mark single links with rel="nofollow" instead.
max-image-preview:large lets Google show a large image preview, up to the width of the screen, for example in Discover.
<meta charset="utf-8">. Keep it first in the head so the browser reads every character correctly.
width=device-width, initial-scale=1 makes the page fit phone screens. Without it, phones render a zoomed-out desktop page.
Tints the browser's address bar on Android and some desktop browsers. Discord also uses it for the strip beside link embeds.
The language of the page, set on the html element: <html lang="en">. Use a code such as en, en-GB, es or pt-BR.

Icons

The favicon and home-screen icons. Leave a field empty to skip that tag.
A 32×32 favicon.ico, for browsers and tools that do not read SVG icons.
A scalable icon for modern browsers. It can switch colors in dark mode with a media query inside the SVG.
A 180×180 PNG used when someone adds the page to an iPhone or iPad home screen. Messages also uses it in link previews.
The manifest lists larger icons (192 and 512 pixels) for Android and installable web apps.

Google preview

An approximation of a Google result. Google may rewrite titles and snippets, and adds dates, ratings and other details on its own.
A desktop result: the title on one line.A phone result: titles can wrap to two lines.
Google in light mode.Google in dark mode.
example.com
https://example.com
Add a title to see it here

Without a meta description, Google builds the snippet from text on the page.

Share preview

Roughly how Facebook shows the link. Each platform crops and truncates differently and caches what it fetched.

example.com

Untitled page

Your meta tags

Paste these into the <head> of the page. Order matters only for charset, which should come first.
Plain HTML tags for any site, CMS or framework.A typed metadata export for the Next.js App Router.
CopyDownload meta-tags.html
3 to fix3 things to fix before you publish.
  • Add a title: it is the headline of your search result and of every share.
  • Add a description: Google may show it as the snippet, and social cards show it under the title.
  • Add a share image: links without one get a small, easy-to-miss preview (or none) on most platforms.

Want an honest look at your site's SEO? Talk to our team

Quick answer

Meta tags are HTML elements in a page's head that tell search engines and social apps what the page is: the title link and snippet Google shows, and the headline, image and text of a shared link. Playxoft's free Meta Tag Generator writes them for you. Fill in the title, description, page URL and share image, check the Google and share previews, then copy the tags as HTML or as a Next.js metadata object.

  • Title and description meters
  • Google desktop and mobile preview
  • Open Graph and X cards
  • Next.js metadata output
  • Import tags from a URL
  • Robots and canonical
  • Copy and download

How to use the Meta Tag Generator

  1. 1Fill in the Title and Description. The meters estimate how much fits on a desktop Google result.
  2. 2Enter the Page URL and the Share image URL. Relative image paths become full URLs, as Open Graph requires.
  3. 3Choose the X card type and the site's X account, and review Indexing and browser options such as Show in search results.
  4. 4Check the Google preview on desktop and mobile, in light and dark mode, and the Share preview card.
  5. 5Pick HTML or Next.js, then Copy or Download. To fix a live page, start with Import tags.

Which meta tags does a page actually need?

Most pages need about a dozen tags. Google ignores many older ones, and each extra tag is one more thing to keep in sync.

TagWhat it doesNeeded?
<meta charset="utf-8">Tells the browser how to read the bytesYes, first in the head
viewportMakes the page fit phone screensYes
<title>The title link in search results and the browser tabYes
descriptionOften used for the search snippetYes
<link rel="canonical">The preferred URL when several URLs show the same pageYes
robotsIndexing rulesOnly to change the default
og:title, og:type, og:image, og:urlThe four required Open Graph propertiesYes, for sharing
og:description, og:site_name, og:image:altShare text, site name, image descriptionRecommended
twitter:cardPicks the X card layoutYes, for a large image on X
theme-color, iconsBrowser tint, favicon, home-screen iconRecommended

The meta keywords tag is not on the list. Google's documentation says it "is not used by Google Search, and it has no effect on indexing and ranking at all" (meta tags Google supports).

How long should a title tag and meta description be?

Google publishes no limit for either. Its documentation says titles and snippets are "truncated in Google Search results as needed, typically to fit the device width" (title links, snippets). So the useful limit is pixels, not characters:

  • Titles are set in about 20px Arial on desktop, in a column roughly 600px wide. That fits about 50–60 characters, fewer if the title is full of wide letters like W and M. The meter in the tool measures your actual text and shows where it would be cut.
  • Descriptions usually show about two lines on desktop, roughly 155–160 characters.

Put the words that matter first, so a cut costs only the brand name, and keep every title and description unique.

Google may rewrite a title using the page's main heading, og:title or anchor text, especially when it is vague, stuffed with keywords or repeated across pages. It also writes its own snippet when the description does not match the search.

What are Open Graph and X card tags?

Open Graph is the protocol Facebook introduced and most apps now read to build link previews. It lists four required properties (og:title, og:type, og:image and og:url, the canonical URL), wants absolute http:// or https:// URLs, and says a page with og:image should also specify og:image:alt.

X reads its own twitter: tags first and falls back to Open Graph for the title, description and image (X cards markup), so twitter:card and twitter:site are usually enough. The generator repeats the rest only if you ask it to.

For the share image, 1200×630 pixels (1.91:1) as PNG or JPEG under 5 MB works on Facebook (image guidance), LinkedIn and X. Each platform's exact rules, and how your live page looks on seven of them, are in the Open Graph preview.

Should I use noindex, nofollow or max-image-preview?

The robots meta tag only needs to exist when you change the default, which is to index the page and follow its links. The rules Google supports are listed in its robots meta tag documentation:

  • noindex keeps the page out of search results: thank-you pages, internal search results, thin duplicates.
  • nofollow stops Google following any link on the page. To mark single links, put rel="nofollow" on them instead.
  • max-image-preview:large allows a large image preview, up to the width of the viewport. Most content sites want it.
  • nosnippet and max-snippet stop or limit the text snippet.

One trap: Google can only obey a noindex it can read. If robots.txt blocks the page, Google never fetches it, never sees the tag, and may still list the bare URL. Allow crawling and use noindex, or check your rules with the robots.txt tester.

How do I add meta tags in HTML or Next.js?

In plain HTML, paste the tags inside <head>. Keep the charset first: the HTML standard requires it within the first 1024 bytes of the page.

In the Next.js App Router, export a metadata object from page.tsx or layout.tsx. Next.js adds the charset and viewport tags itself, and the theme color moves to a separate viewport export:

export const metadata: Metadata = {
  metadataBase: new URL("https://www.example.com"),
  title: "Trail Running Shoes for Rocky Terrain",
  alternates: { canonical: "/guides/trail-running-shoes" },
  openGraph: { images: [{ url: "/og.jpg", width: 1200, height: 630 }] },
  twitter: { card: "summary_large_image" },
};
export const viewport: Viewport = { themeColor: "#0f766e" };

With metadataBase set, relative paths become full URLs. The tool's Next.js output writes all of this for you. On a CMS, enter the same values in its SEO fields, so each page keeps its own title and description.

Frequently asked questions

A meta tag generator turns a form (title, description, page URL, share image) into the HTML tags a page needs for search results and link previews: the title, meta description, canonical link, robots rules, Open Graph and X card tags. Playxoft's generator also previews the Google result and the share card and can output a Next.js metadata object.
Aim for about 120 to 160 characters. Google sets no limit but truncates snippets to fit the device, and desktop results usually show about two lines, roughly 155 to 160 characters. Put the most important words first and write a unique description for every page.
About 50 to 60 characters. Google cuts titles by width, not by characters: on desktop roughly 600 pixels of 20px Arial. Narrow letters fit more, wide ones fewer, which is why the generator measures the text instead of counting characters.
Not for Google. Its documentation says the meta keywords tag is not used by Google Search and has no effect on indexing and ranking. The generator leaves it out.
No. The title tag is for search results and the browser tab; og:title is the headline of a shared link. They are often the same, but og:title can be shorter and drop the brand, which belongs in og:site_name. Apple's guidance for Messages says not to put the site name in og:title.
No. Everything you type is turned into tags in your browser. The only exception is Import tags: it sends the URL you enter to Playxoft's server, which reads that page's head and returns its tags.

Last updated by the Playxoft engineering team.

From the team behind this tool

Doing the SEO checklist and still not getting traffic?

Meta tags and sitemaps are the floor, not the strategy. We build fast websites that rank, fix the technical SEO that holds pages back and run campaigns you can measure. Send us your site and get a free, honest audit of what would move the needle.