Meta Tag & Open Graph Generator

Preview Google SERP snippets and generate escaped HTML meta tags or Next.js Metadata objects locally.

100% In-BrowserZero UploadsNo SignupShareable Link

Simulate Google SERP, X, LinkedIn, and Slack unfurls, generate 1200×630 PNG OG banners via HTML5 Canvas, and export HTML or Next.js Metadata locally.

About Meta Tag & Open Graph Generator

The Meta Tag, Open Graph & Next.js Metadata Generator lets you author, audit, and preview SEO `<title>`, `<meta name="description">`, canonical tags, robots directives, Open Graph (`og:*`), and Twitter/X Card (`twitter:*`)unfurls live—simulating Google Search, X, LinkedIn/Facebook, and Slack/Discord cards before exporting escaped HTML or typed Next.js App Router `Metadata`.

Input Formats

  • Page Title, Meta Description, Canonical URL, Site Name, and X `@handle`
  • Public OG image URL or local unpublished PNG/JPG/WebP image file for dimension validation

Output Results

  • Properly HTML-escaped `<meta>` and `<link rel="canonical">` snippet
  • TypeScript `Metadata` object ready for Next.js `layout.tsx` or `page.tsx`

Key Features

Live character-budget meters for Google SERP titles (60 chars) and meta descriptions (160 chars)
Local unpublished OG image dimension & 1.91:1 aspect-ratio tester via FileReader
Exports both HTML5 `<head>` tags and typed Next.js App Router `export const metadata: Metadata` code
Interactive robots `index/noindex` and `follow/nofollow` controls
Shareable LinksShare meta tag configs via URL. (Limit: URL hash)

How to Use

1

Enter your page title, meta description, canonical URL, and 1200×630 Open Graph image.

2

Inspect the live Google SERP, X/Twitter, LinkedIn, and Slack card previews and character counters.

3

Copy the generated HTML `<meta>` block or Next.js TypeScript `Metadata` object.

Common Errors & Pitfalls

  • Using relative paths (`/og.png`) instead of absolute HTTPS URLs (`https://example.com/og.png`) inside `og:image` and `twitter:image` tags.
  • Exceeding ~60 characters in `<title>` so Google truncates your brand or primary keyword in search results.

Frequently Asked Questions

What is the recommended Open Graph image resolution?
Use 1200 × 630 pixels (a 1.91:1 aspect ratio) in PNG, JPG, or WebP under 5 MB for crisp large-card previews across X, LinkedIn, Facebook, Discord, and Slack.
Why must og:image use an absolute URL?
Social crawlers (Twitterbot, LinkedInBot, Slackbot) parse Open Graph tags out of context and frequently fail to resolve relative image paths without a full `https://` origin.

Authoritative Sources & Citations