Dokka
Dokka: A flexible open-source choice for Kotlin and Java API documentation. Ranked #6 of 38 in Documentation Generators by our editors (8.7/10); pricing: Open source; best for kotlin and Java API documentation.
At a glance
- Editor score8.7 / 10
- PricingOpen source
- Best forKotlin and Java API documentation
- Paid fromFree
- Source inputsKotlin source with KDoc, Java source with Javadoc, Markdown module and package documentation
- Facts checked20 Sep 2026
Where it wins
- Supports Kotlin KDoc and Java Javadoc in mixed-language projects
- Outputs HTML, Javadoc HTML, GFM, and Jekyll-compatible Markdown
- Runs with Gradle, Maven, CLI, and supports versioned documentation
Where it doesn't
- Focused on API documentation rather than a broader documentation suite
- Requires source comments such as KDoc or Javadoc for API content
- Its workflow centers on Kotlin, Java, and listed Markdown inputs
Our verdict on Dokka
Dokka is an open-source API documentation engine from JetBrains for developers and library teams working with Kotlin, Java, Android, and multiplatform projects. It reads Kotlin KDoc and Java Javadoc comments, making it suitable for mixed-language codebases that need a shared reference layer. The tool can also process Markdown module and package documentation, so teams can place API reference material alongside supporting project information.
Output flexibility is one of Dokka’s clearest strengths. It generates HTML, Javadoc HTML, GitHub Flavored Markdown, and Jekyll-compatible Markdown, allowing documentation to fit different publishing workflows. Documentation from multiple subprojects can be aggregated, which is useful for projects organized as several modules. Gradle, Maven, and command-line execution provide several ways to place generation into an existing build process, while plugins extend the tool for versioning, Android documentation, diagrams, and other needs. The versioning plugin adds a version selector for projects that publish documentation across releases.
Dokka is a strong fit when the priority is structured Kotlin and Java API reference output with multiple publishing options and project-level aggregation. Its open-source model also suits teams that want to incorporate documentation generation into Gradle, Maven, or CLI workflows. The main trade-off is focus: Dokka is built around API documentation from Kotlin, Java, and supported Markdown inputs, rather than positioning itself as a general-purpose documentation suite. Teams should choose it when language-aware API reference, mixed-language support, and versioned output matter most; projects seeking a broader documentation system may need a different tool or additional components.
Your product? Our editors can test Dokka in depth and publish a review, labelled as paid · from $149/mo →
Dokka pricing
Dokka fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Source inputs | Kotlin source with KDoc, Java source with Javadoc, Markdown module and package documentation |
| API reference generation | Yes |
| Versioned documentation | Yes |
| CI/CD integration | Not verified |
| Output formats | HTML, Javadoc HTML, GitHub Flavored Markdown, Jekyll-compatible Markdown |
| Programming languages | Kotlin, Java |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 3 integrations: Gradle, Maven, Android |
| Pricing | Open source |
| Website | kotlinlang.org |
| Facts checked | 20 Sep 2026 |
Dokka integrations
Dokka lists 3 integrations on its own site.
- Gradle
- Maven
- Android
Alternatives to Dokka
- SphinxA broad, extensible choice for teams building technical documentation from source files.9.4
- MkDocsA free, open-source choice for building focused Markdown documentation sites.9.2
- DoxygenA free, open-source choice for generating multi-language API documentation locally.9.0
Dokka vs the competition
- Dokka vs Sphinx
- Dokka vs MkDocs
- Dokka vs Doxygen
- Dokka vs Swagger UI
- Dokka vs Asciidoctor
- Dokka vs Swift-DocC
Compare Dokka with any tool side by side →
Also Ranked In
Dokka is ranked in 2 of our directories.
Used Dokka? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Dokka for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Dokka is listed in our Documentation Generators directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/dokka/"><img src="https://www.itechguides.com/best/badge/dokka.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update





