---
title: File-system conventions
description: API Reference for Next.js file-system conventions.
url: "https://nextjs.org/docs/pages/api-reference/file-conventions"
version: 16.2.2
lastUpdated: 2026-04-02
router: Pages Router
prerequisites:
  - "API Reference: /docs/pages/api-reference"
---



- [instrumentation.js](/docs/pages/api-reference/file-conventions/instrumentation)
  - API reference for the instrumentation.js file.
- [Proxy](/docs/pages/api-reference/file-conventions/proxy)
  - Learn how to use Proxy to run code before a request is completed.
- [public](/docs/pages/api-reference/file-conventions/public-folder)
  - Next.js allows you to serve static files, like images, in the public directory. You can learn how it works here.
- [src Directory](/docs/pages/api-reference/file-conventions/src-folder)
  - Save pages under the `src` folder as an alternative to the root `pages` directory.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

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