What Next SEO does
Next SEO is an npm package for Next.js projects that renders JSON-LD structured data. Instead of writing schema markup by hand, you import a component such as ArticleJsonLd and pass props for headline, datePublished, author, image and description; the component outputs the script tag that search engines read. The repository is written in TypeScript and released under the MIT licence.
Components cover the schema types documented in the readme: articles and blog posts, recipes, how to guides, reviews with claim ratings, creative works including paywalled sections, and web page elements. Each component has its own props table and best practice notes, for example guidance to include high resolution images. Standard meta tags are left to the Next.js generateMetadata function, and Pages Router users import from next-seo/pages.
Key features
- Article and blog post JSON-LD
- ArticleJsonLd outputs Article and BlogPosting schema with headline, datePublished, author, image and description props, plus an example with multiple authors.
- Recipe structured data
- RecipeJsonLd renders recipe markup, and the readme documents ISO 8601 duration formats such as PT1H for prep and cook times.
- HowTo step markup
- HowToJsonLd builds how to schema with sections and steps, with an advanced example covering detailed nested instructions.
- Claim review ratings
- ClaimReviewJsonLd adds review and rating properties to fact check pages, with best practice notes on clear alternateName values.
- Paywalled content markup
- CreativeWorkJsonLd supports hasPart web page elements so paywalled sections can be marked, with examples covering multiple paywalled sections.
- Pages Router entry point
- Projects on the Pages Router import components from next-seo/pages, which keeps the older NextSeo component documented separately.
- Props tables per component
- Every component section lists its accepted props and a best practices block, such as including images for search result eligibility.
- CSP note for inline scripts
- The readme states that every JSON-LD component renders an inline script, with a Content Security Policy section covering the implication.
How it works
- Install the package with npm, yarn, pnpm or bun.
- Import a JSON-LD component such as ArticleJsonLd from next-seo.
- Pass props for headline, datePublished, author, image and description.
- The component renders the JSON-LD script tag into the page.
- Use Next.js generateMetadata separately for title and meta tags.
- On the Pages Router, import from next-seo/pages instead.
Plans and pricing
The package installs free from npm under the MIT licence, and the repository lists no paid tiers.
Integrations and platforms
Works with
- Next.js
- React
Available as
- Web
Repository facts
- Repositorygarmeeh/next-seo
- LanguageTypeScript
- Stars8545
- Forks467
- LicenceMIT
- Created2018-06-12
- Last commit2026-07-29
- Open issues9
- hacktoberfest
- hacktoberfest-accepted
- json-ld
- nextjs
- react
- seo
- typescript
Services and details
Does SEO work itself
YesFree plan or free tools
YesAPI or MCP server
Yes
No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.
About the company
- Company garmeeh
- Type Open source project
- Website: github.com/garmeeh/next-seo
Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.