TrendPro LogoTrendPro

Last updated:

🏷️

Meta Tag Generator: Title, Description & Open Graph Tags

SEO

Type your page title and description, and get a ready-to-paste block of HTML meta tags, with a preview of how the page may look in Google. It suits site owners, bloggers and developers who write their own HTML or fill in SEO fields in a CMS.

✓ Free✓ No Sign-up✓ Browser-based
0/60
0/160

Optional, comma separated. Google ignores this tag.

How to Use the Meta Tag Generator: Title, Description & Open Graph Tags

  1. 1

    Enter the page title. Around 50 to 60 characters is a safe length. The counter turns amber and then red as you pass it.

  2. 2

    Enter the meta description, ideally 150 to 160 characters. Watch the preview to see how it may appear in search results.

  3. 3

    Optionally add keywords, an author, the canonical URL and an image URL for social sharing. Choose the robots setting and page language.

  4. 4

    Click Generate Meta Tags and copy the HTML into the head section of your page.

Advertisement

Examples

A typical page

Input

Title: Free Word Counter Online
Description: Count words and characters instantly.
Canonical: https://example.com/word-counter
Image: https://example.com/og.png

Result

<!-- Primary Meta Tags -->
<title>Free Word Counter Online</title>
<meta name="description" content="Count words and characters instantly." />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://example.com/word-counter" />
<!-- Set the page language on the html tag: <html lang="en"> -->

<!-- Open Graph / Facebook / LinkedIn -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Free Word Counter Online" />
<meta property="og:description" content="Count words and characters instantly." />
<meta property="og:url" content="https://example.com/word-counter" />
<meta property="og:image" content="https://example.com/og.png" />

<!-- Twitter / X -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Free Word Counter Online" />
<meta name="twitter:description" content="Count words and characters instantly." />
<meta name="twitter:image" content="https://example.com/og.png" />

Empty optional fields are left out. With an image, the Twitter card is the large-image type, and without one it is the small summary type.

Quotes and symbols are escaped

Input

Title: Tom & Jerry's "Best" Café
Description: Coffee <fresh> daily.

Result

<title>Tom &amp; Jerry's &quot;Best&quot; Café</title>
<meta name="description" content="Coffee &lt;fresh&gt; daily." />

Characters such as quotes, ampersands and angle brackets are converted so they cannot break the tag. Only the first lines of the output are shown.

Common Uses

  • Plain HTML sites and landing pages. Paste the block straight into the head of a hand-written page.
  • CMS and theme settings. Draft the title and description here, check the length, then copy the text into your CMS or SEO plugin fields.
  • Social sharing previews. Add an image URL so links shared on Facebook, LinkedIn and X show a picture and your own wording.
  • Keeping pages out of search. Choose noindex to generate the robots tag for thank-you pages, drafts and private pages.
  • Checking length before publishing. Use the counters and preview to see whether a title or description is likely to be cut off.

Frequently Asked Questions

What is a meta description?

It is a short summary of a page in the HTML head. Search engines often show it under the title in results. Google may rewrite it, so treat it as a suggestion, not a guarantee. A clear one can still help people decide to click.

How long should a meta title and description be?

Google cuts results by pixel width, not by characters, so there is no exact limit. About 50 to 60 characters for the title and 150 to 160 for the description usually fit. The counters here use those figures as a guide.

Does Google use the keywords meta tag?

No. Google has said it ignores it. Keywords are optional here, in case another system or an older tool still reads them. Leave the field empty if you do not need it.

What is a canonical URL?

It tells search engines which address is the main version of a page when the same content can be reached at several. Use the full address, including https.

What do the Open Graph and Twitter tags do?

They control the title, description and image shown when your page is shared on Facebook, LinkedIn, X and many chat apps. Without them, those sites guess from the page content.

What does the robots setting do?

Index, follow is the default and lets search engines list the page and follow its links. Noindex asks them not to list the page. Nofollow asks them not to follow its links. They are requests, and well-behaved crawlers respect them.

Why is there no language meta tag?

The language belongs on the html tag, as lang="en", not in a meta tag. The generator adds a comment showing the right value for the language you chose.

Can I use the output in Next.js?

Not directly in the App Router. There, set the title, description and social tags with the metadata export. This tool's output suits plain HTML, WordPress themes and other systems where you edit the head yourself.

Is my text sent anywhere?

No. The tags are made in your browser, and nothing is uploaded or stored.

Guides related to the Meta Tag Generator: Free Title & Description Tool

Related Tools