Skip to content

Introduction to seo-in-nextjs

seo-in-nextjs is a library designed to simplify and automate SEO for your Next.js applications. It handles metadata, sitemap.xml, robots.txt generation, and more, so you can focus on building your site.

seo-in-nextjs is built on top of Next.js Metadata and MetadataRoute APIs. While these APIs are powerful, seo-in-nextjs takes it a step further by providing a complete out-of-the-box solution.

Differences Between seo-in-nextjs and Metadata and MetadataRoute APIs

Section titled “Differences Between seo-in-nextjs and Metadata and MetadataRoute APIs”
  • Dedicated function to generate page metadata
  • sitemap.xml and llms.txt generation with automatic route detection
  • robots.txt generation with sensible defaults and extensible configuration
  • Type-safe components to generate JSON-LD for different schema types
  • Dedicated tooling to check the SEO status of your project

Ready to dive in? Head over to the Getting Started guide.