⚡
usefultools.dev
<m>

Meta Tag Generator – SEO, Open Graph & Twitter

NEW

Meta tag generator for SEO title, description, canonical, robots, Open Graph and Twitter cards, with Google and social previews and Next.js output.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Basic SEO

34 / 60 chars · good length — Google usually shows about 50–60 characters (≈600px) before cutting the title.

115 / 160 chars · good length — Snippets are typically trimmed around 155–160 characters on desktop.

Open Graph & Twitter / X
Icons

Google search preview

Clay & Co.
example.com › mugs

Handmade Ceramic Mugs | Clay & Co.

Shop small-batch stoneware mugs, glazed and fired by hand in our Portland studio. Free shipping on orders over $50.

Approximation: Google truncates by pixel width and may rewrite titles and snippets.

Social card preview

Three blue ceramic mugs on a wooden table

example.com

Handmade Ceramic Mugs | Clay & Co.

Shop small-batch stoneware mugs, glazed and fired by hand in our Portland studio. Free shipping on orders over $50.

The image is loaded directly from the URL you entered.

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Handmade Ceramic Mugs | Clay &amp; Co.</title>
<meta name="description" content="Shop small-batch stoneware mugs, glazed and fired by hand in our Portland studio. Free shipping on orders over $50.">
<link rel="canonical" href="https://example.com/mugs">
<meta name="robots" content="index, follow, max-image-preview:large">
<meta name="theme-color" content="#1e40af">

<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/mugs">
<meta property="og:title" content="Handmade Ceramic Mugs | Clay &amp; Co.">
<meta property="og:description" content="Shop small-batch stoneware mugs, glazed and fired by hand in our Portland studio. Free shipping on orders over $50.">
<meta property="og:image" content="https://example.com/og/mugs.jpg">
<meta property="og:image:alt" content="Three blue ceramic mugs on a wooden table">
<meta property="og:site_name" content="Clay &amp; Co.">
<meta property="og:locale" content="en_US">

<!-- Twitter / X -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@clayandco">
<meta name="twitter:title" content="Handmade Ceramic Mugs | Clay &amp; Co.">
<meta name="twitter:description" content="Shop small-batch stoneware mugs, glazed and fired by hand in our Portland studio. Free shipping on orders over $50.">
<meta name="twitter:image" content="https://example.com/og/mugs.jpg">
<meta name="twitter:image:alt" content="Three blue ceramic mugs on a wooden table">

<!-- Icons -->
<link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
⚡

Quick Examples

Typical inputs and the results this tool produces.

Escaped
Title: Clay & Co.
<title>Clay &amp; Co.</title>
Robots
index + follow + large image
index, follow, max-image-…
Twitter
Card: summary_large_image
twitter:card summary_large…
Icons
Favicon: /favicon.ico
type="image/x-icon" sizes="any"
Next.js
Theme color #1e40af
themeColor: '#1e40af'
📖

Overview

Meta tags tell search engines and social networks what a page is about. This meta tag generator writes the complete <head> block for you: title, meta description, canonical URL, robots directives, viewport, theme color, Open Graph tags for Facebook and LinkedIn, Twitter (X) card tags and favicon links.

Character counters show when a title or description is likely to be cut off, and live previews show an approximation of the Google search snippet and the social share card. Values are HTML-escaped, so quotes and ampersands never break your markup. Developers using the Next.js App Router can switch to a ready-to-paste metadata and viewport export instead of raw HTML.

Everything is generated in your browser; only the share image you enter is loaded for the preview.

Why use this tool?

  • Complete SEO and social tags in one place
  • Length counters prevent truncated snippets
  • See Google and social previews live
  • Safe, escaped HTML output
  • Next.js metadata export included
⭐

Features

🔤

Character counters

Title and description lengths are checked against typical search-result limits.

🔍

Search preview

Approximates how the title, URL and description appear in Google results.

🖼️

Social card preview

Shows the large-image or summary card people see when the link is shared.

🧩

Open Graph & Twitter

og:type, image, alt, site name, locale plus twitter:card, site and creator.

▲

Next.js output

Generates a typed Metadata object and a separate Viewport export for the App Router.

⚠️

Checks

Warns about empty fields, relative image URLs, bad locales and accidental noindex.

🛠️

How to Use

1

Fill in Basic SEO

Enter the page title, meta description and canonical URL.

2

Add social details

Set the share image, alt text, site name and Twitter handles.

3

Check the previews

Adjust text until counters are green and previews look right.

4

Copy the code

Choose "HTML tags" or "Next.js metadata" and click "Copy code".

🤔

Frequently Asked Questions