# dartdoc

> API documentation generator for Dart, behind dart doc

Source: https://talira.ai/catalog/dartdoc-ha5ztyd9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / documentation / reference generators](https://talira.ai/categories/developer-tools/documentation/reference-generators), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^2]

dartdoc is the Dart project's API documentation generator: it turns a Dart package's doc comments into static HTML, and the Dart SDK runs it as the dart doc command. It documents every public library of a package into doc/api, with search and navigation, and reads a dartdoc_options.yaml file for categories, reusable macros, external tools that filter parts of the docs, injected HTML and links to the source.

## Links

- GitHub: https://github.com/dart-lang/dartdoc
- Docs: https://dart.dev/tools/dart-doc

## Problems it solves

- generate HTML API documentation from my Dart package's doc comments
- build browsable docs for a Flutter package before publishing it
- reuse the same documentation snippet across many Dart classes

## Features

- dart doc in the Dart SDK
- static HTML API docs with search and navigation
- categories and sub-categories from doc comment tags
- reusable doc macros with templates
- external tools that filter parts of the docs
- links from docs to the source code

## Limitations

- The package must analyze without errors before docs can be generated.[^1]
- The generated docs need an HTTP server for navigation and search to work.[^1]

## Trust

Overall: 0.59 out of 1.
Signals: maintenance 0.88, adoption 0.54, momentum 0.19, community 0.75, backing 0.55, extensibility 0.00.

- last commit 3 days ago
- 42 commits in the last 90 days
- latest release v9.0.11 51 days ago
- 493 GitHub stars
- 76 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)

## Alternatives

- [JSDoc](https://talira.ai/catalog/jsdoc-sb33nq9y.md): API documentation generator for JavaScript from comments in the code
- [Doxygen](https://talira.ai/catalog/doxygen-jhchwqz6.md): Code documentation. Automated. Free, open source, cross-platform.
- [Dokka](https://talira.ai/catalog/dokka-708y2m0q.md): API documentation engine for Kotlin
- [DocFX](https://talira.ai/catalog/docfx-ghfyjykt.md): Static site generator for .NET API documentation
- [phpDocumentor](https://talira.ai/catalog/phpdocumentor-2qx3zg98.md): API documentation generator for PHP

## Sources

[^1]: https://github.com/dart-lang/dartdoc/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
