---
title: pageExtensions
description: Extend the default page extensions used by Next.js when resolving pages in the Pages Router.
url: "https://nextjs.org/docs/14/pages/api-reference/next-config-js/pageExtensions"
docs_index: /docs/14/pages/llms.txt
version: 14.2.35
lastUpdated: 2023-06-28
prerequisites:
  - "API Reference: /docs/14/pages/api-reference"
  - "next.config.js Options: /docs/14/pages/api-reference/next-config-js"
---


> For an index of all Next.js documentation, see [/docs/14/pages/llms.txt](/docs/14/pages/llms.txt).
---

For an index of all available documentation, see [/docs/14/pages/llms.txt](/docs/14/pages/llms.txt)