Contentlayer Documentation

    Contentlayer is a content preprocessor that validates and transforms your content into type-safe JSON you can easily import into your application.

    Getting Started

    Get comfortable with the basics of Contentlayer by showing how we can quickly build a blog site using Next.js.


    Learn about why you should use Contentlayer and get familiar with how it works under the hood.


    Contentlayer lets you choose the source for your content. Currently only local file source is officially supported.

    See all guides

    Sources that are supported, planned, or being considered:


    Contentlayer supports a tight integration with Next.js. Other environment support is coming soon.

    See all guides

    Frameworks that are supported, planned, or being considered:


    Technical API reference for Contentlayer, the CLI, and associated plugins.

    See reference

    Was this article helpful to you?
    Provide feedback

    Last edited on July 23, 2024.
    Edit this page