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.
Live Previews
5 platformsexample.com
Page Title
A description of the page will appear here...
example.com
Page Title
A description of the page will appear here...
Page Title
A description of the page will appear here...
example.com
Page Title
A description of the page will appear here...
example.com
example.com
Page Title
A description of the page will appear here...
Next.js Metadata Output
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.