MetaTag

Next.js Metadata Generator

Enter your page details, paste HTML head tags, or import a public URL. Check the search and social previews, then copy a typed Metadata export for the App Router.

Meta Tag Editor

Paste HTML head

Import replaces the current editor values. The HTML stays in this tab, and previews load the image URLs in the editor.

or fill in manually
Basic SEO
0/60
0/160
Open Graph & Social

Common landscape size is 1200 × 630 pixels. Check or resize an OG image.

Describe what the share image shows. The export includes the description when you supply an image URL.

Platform overrides

Open Graph uses the basic editor fields by default. X uses the Open Graph values unless you enter an X override. Use a full HTTPS address for an image override. Add its own alt text when X uses a different image.

Live Previews

5 platforms
Live
Google Search

example.com

Page Title

A description of the page will appear here...

Facebook
No OG image

example.com

Page Title

A description of the page will appear here...

Twitter / X
No OG image

Page Title

A description of the page will appear here...

example.com

LinkedIn
No OG image

Page Title

A description of the page will appear here...

example.com

Slack

example.com

Page Title

A description of the page will appear here...

Next.js Metadata Output

Output format

Add page details or import tags to generate code.

Where to put the Metadata export

Paste the TypeScript export into an App Router server page such as app/about/page.tsx. If the page already has a metadata export, merge the fields into it. Use one export, either metadata or generateMetadata, in that file.

Use the final public canonical URL and full URLs for social images. The export keeps distinct Open Graph and X card text and images when you provide them. The page title uses an absolute title to preserve the text you previewed even if the parent layout has a title template.

Check the rendered page after publishing, especially when the app also uses files such as opengraph-image.tsx. File-based metadata can take precedence.

Read the official Next.js Metadata API guide