Meta tags & Open Graph generator

Configure your page title, description, Open Graph and Twitter card data. See live previews and copy ready-to-paste code.

Configure meta tags

Tips
  • titles: 30–60 characters; descriptions: 70–160 characters
  • og image: 1200×630px recommended (min 600px width)
  • twitter large image: 1200×628 works best
Basic
Open Graph
Preview uses the uploaded image if provided (visual only), then falls back to og:image. The upload button sits above the preview cards. Uploaded images do not change the generated code.
Twitter
Twitter preview shows the uploaded image if present, otherwise the twitter image url, and if that is empty, the og:image. Uploads are for preview only and do not modify exported code.
  • title should be 30–60 characters
  • description should be 70–160 characters
facebook preview
preview
example.com
Your page title
Short and compelling summary for social and search.
twitter preview
preview
example.com
Your page title
Short and compelling summary for social and search.
linkedin preview
preview
example.com
Your page title
Short and compelling summary for social and search.

Generated code

Add inside the <head> of your HTML (server template or static file). For SPAs, use SSR/SSG or a prerender step so social scrapers reliably see these tags.
<!-- Basic Meta Tags -->
<title>Your page title</title>
<meta name="description" content="Short and compelling summary for social and search.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://example.com/your-page">

<!-- Open Graph / Facebook -->
<meta property="og:title" content="Your page title">
<meta property="og:description" content="Short and compelling summary for social and search.">
<meta property="og:type" content="article">
<meta property="og:url" content="https://example.com/your-page">
<meta property="og:site_name" content="Example site">
<meta property="og:image" content="https://vladimirsiedykh.com/api/og">
<meta property="og:image:alt" content="Descriptive image alt text">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yourbrand">
<meta name="twitter:creator" content="@creator">
<meta name="twitter:title" content="Your page title">
<meta name="twitter:description" content="Short and compelling summary for social and search.">
<meta name="twitter:image" content="https://vladimirsiedykh.com/api/og">
<meta name="twitter:image:alt" content="Descriptive image alt text">

Frequently Asked Questions

Get answers to common questions about Open Graph, Twitter cards, image sizes, and where to put code in Next.js or React apps.

Use the App Router metadata API. Define site-wide defaults in app/layout.tsx via export const metadata. For page-specific values, add export const metadata (static) or export async function generateMetadata() (dynamic) in each route file, for example app/blog/[slug]/page.tsx.

For reliable Open Graph and Twitter previews, yes. Social scrapers often ignore client-only updates. Use SSR/SSG or a prerender step so your HTML includes tags at request time.

Open Graph: 1200×630 (min width 600px). Twitter summary_large_image: 1200×628; summary card: square ~120×120. Prefer fast CDN URLs over large files.

Uploads are for preview only so you can see how it looks across platforms. The generated code always uses the URLs you enter in the form (og:image and Twitter image).

Preview priority is: uploaded preview (visual only) → Twitter image URL → Open Graph image URL. The code export always uses your form values.

Use summary_large_image for a wide image preview. Use summary for a compact square preview. app and player are advanced types that require additional tags and are used less often.

User reviews

Loading reviews...

Need help implementing at scale?

I can wire correct SEO and social tags across your Next.js or React app with SSR/SSG best practices, image automation, and validation.

MOST POPULAR

Book Strategy Call

Free 30-minute consultation to discuss your project

Book Now

Send Project Brief

Get a detailed project quote within 24 hours

Send Brief

Download Guide

Free guide: "Essential Web Development Guide"

Related Resources

Explore more guides and tools for social metadata, previews and implementation best practices.

Stay updated on social metadata & Next.js best practices

Get weekly insights on OG/Twitter implementation, correct metadata structure, and preview optimization.