---
title: Categorizing documents
related:
  - https://docs.kentico.com/k8/managing-website-content/configuring-the-environment-for-content-editors/configuring-categories.md
  - https://docs.kentico.com/k8/managing-website-content/working-with-documents-and-pages/tagging-documents.md
  - https://docs.kentico.com/k8/managing-website-content/configuring-the-environment-for-content-editors/configuring-categories.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Categorizing is useful when you want to distinguish related documents in the system based on, for example, their topic. You can create a category hierarchy in which you can map the various topics the documents on your site cover. Categorizing is a different approach to sorting documents in the system from the one described in [Tags](https://docs.kentico.com/k8/managing-website-content/working-with-documents-and-pages/tagging-documents.md).

Developers can create pages so that users can then view documents based on the categories they are interested in.

![](https://docs.kentico.com/docsassets/k8/categorizing-documents/documents+listed+based+on+categories.png)

_**Listing documents based on categories**_

### To categorize documents:

1. [Create the categories you want to put documents into](https://docs.kentico.com/k8/managing-website-content/working-with-documents-and-pages/categorizing-documents/creating-personal-document-categories.md)
2. [Assign documents to categories](https://docs.kentico.com/k8/managing-website-content/working-with-documents-and-pages/categorizing-documents/assigning-documents-to-categories.md)
