Diátaxis framework explained: the four types of documentation
A simple framework for organizing documentation around what the reader needs. How the four types differ and how to use them to fix messy pages.

- Diátaxis sorts documentation into tutorials, how-to guides, reference and explanation.
- Most confusing pages mix two or more of these in one place.
- You can apply it to existing docs by labeling each page and splitting the ones that do two jobs.
Every documentation team has a page everyone dreads. It starts as a quick start, turns into a lecture on architecture halfway down, and ends with a table of settings. People land on it looking for one thing and leave irritated, having found three others.
Diátaxis is a way of explaining why that page is hard to read, and how to fix it. Created by Daniele Procida and published openly at diataxis.fr, it rests on a simple idea: readers come to documentation needing different things, and a page that tries to serve all of them serves none well.
The four types
Tutorials are lessons. They take a beginner through a small project so they learn by doing. The goal is confidence, not completeness.
How-to guides are recipes. They give someone who already knows the basics the steps to reach a specific goal, such as rotating an API key.
Reference describes the product: parameters, commands, options, limits. It is accurate and complete, and nobody reads it from start to finish.
Explanation is discussion. It covers background and reasoning, and answers "why does it work this way?"
Two questions sort any page
Ask whether the reader is trying to do something or know something. Then ask whether they are learning or already working. Those two answers point to one of the four types.
The problems it helps you spot
A tutorial that keeps stopping to explain theory loses the learner. A how-to guide that opens with three paragraphs of background hides the steps. A reference page padded with advice makes the facts harder to scan. An explanation page that quietly contains the only setup instructions in the product means nobody will find them.
Using it on what you already have
- List your pages and label each with the type it mostly is.
- Mark the ones that are two types at once.
- Split those and link the pieces to each other.
- Group your navigation by type or goal, so readers know what they are about to open.
- Look for gaps. Many products have lots of reference and no tutorial.
A small product does not need four separate sections. The value is in knowing which job each page does, and keeping it to one.
A worked example
Say you document a tool that sends invoices. A tutorial might be called "Send your first invoice", a guided walk-through with a sample customer, where the reader finishes with something that works. A how-to guide might be "Send invoices in bulk", written for someone who already knows the basics. The reference lists every setting and API field. An explanation page, "How invoice reminders work", describes the logic behind scheduling and retries.
Notice that none of these tries to do the job of the others. The tutorial does not stop to explain scheduling logic, and the reference does not walk you through a scenario. That discipline is what makes each page easy to use.
Mistakes that come from mixing the types
- A tutorial packed with options, so a beginner cannot tell what is essential.
- A how-to that begins with three paragraphs of background before the first step.
- A reference page that includes opinion, advice and stories.
- An explanation page that turns into a list of steps.
When a page feels hard to use, check whether it is trying to serve two purposes. The fix is usually to split it and link the pieces.
Is it right for every team?
The framework is a lens, not a rulebook. Small products may not need all four types on day one, and some content, such as release notes or SOPs, sits outside the model. Use it to diagnose problems and plan structure, then adapt it to your content. The goal is clearer pages, not neat categories. You can see how it fits alongside other documents in our guide to types of technical documentation.
Who created the Diátaxis framework?
It was developed by Daniele Procida and describes four kinds of documentation: tutorials, how-to guides, reference and explanation.
Do we need to reorganize all our documentation to use it?
No. Start by sorting your most-used pages into the four types, and fix the ones that mix purposes.
Can one page cover two types?
It is better to separate them and link between the pages. If a single page must serve both, keep the types in clearly marked sections.
Sorting an existing documentation set into these four types is a common first step in our content strategy and style guides work, and it is how we plan the structure for new projects under end-to-end documentation.
Need help with documentation?
Tell us what you are working on. We will tell you how we would approach it.