---
title: File Conventions
description: API Reference for Next.js Special Files.
url: "https://nextjs.org/docs/13/app/api-reference/file-conventions"
docs_index: /docs/13/llms.txt
lastUpdated: 2023-06-08
prerequisites:
  - "API Reference: /docs/13/app/api-reference"
---

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

- [Metadata Files](/docs/13/app/api-reference/file-conventions/metadata): API documentation for the metadata file conventions.
- [default.js](/docs/13/app/api-reference/file-conventions/default): API Reference for the default.js file.
- [error.js](/docs/13/app/api-reference/file-conventions/error): API reference for the error.js special file.
- [layout.js](/docs/13/app/api-reference/file-conventions/layout): API reference for the layout.js file.
- [loading.js](/docs/13/app/api-reference/file-conventions/loading): API reference for the loading.js  file.
- [not-found.js](/docs/13/app/api-reference/file-conventions/not-found): API reference for the not-found.js file.
- [page.js](/docs/13/app/api-reference/file-conventions/page): API reference for the page.js file.
- [Route Segment Config](/docs/13/app/api-reference/file-conventions/route-segment-config): Learn about how to configure options for Next.js route segments.
- [route.js](/docs/13/app/api-reference/file-conventions/route): API reference for the route.js special file.
- [template.js](/docs/13/app/api-reference/file-conventions/template): API Reference for the template.js file.

---

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

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