Introduction & Goals
Requirements, quality goals, and the stakeholders who care.
Plain text and Git tell you how to document. arc42 tells you what to write. Together they turn architecture documentation from a blank page into a reviewable, buildable artifact.
arc42 is a free, proven template for documenting software architectures, created by Dr. Gernot Starke and Dr. Peter Hruschka. It gives you twelve clear sections — enough structure to be useful, light enough to stay out of the way. You fill only what your project needs and delete the rest.
arc42 answers “what goes in architecture documentation?” so you can spend your energy on the answers, not the outline.
Because the template ships as plain text — AsciiDoc and Markdown among others — it drops straight into a Docs-as-Code workflow. The architecture lives in Git next to the code, every change is reviewed in a pull request, and the build renders it to HTML or PDF on every commit.
A complete map of an architecture — from goals to glossary.
Requirements, quality goals, and the stakeholders who care.
The technical and organisational boundaries you must work within.
The system’s neighbours and the interfaces it exposes.
The fundamental decisions that shape the whole architecture.
The static decomposition into components and their responsibilities.
How the building blocks collaborate in key scenarios.
The technical infrastructure and how software maps onto it.
Patterns and rules that apply across the system.
The important choices, captured with their rationale (ADRs).
A quality tree and concrete, testable quality scenarios.
Known risks and debt, made visible instead of forgotten.
Shared vocabulary, so everyone means the same thing.
docToolchain ships the arc42 templates and can download a ready-to-fill copy into your project — AsciiDoc, diagrams, and build included.