dart doc
dart doc: A focused, free generator for publishing structured HTML API references from Dart code. Ranked #14 of 38 in Documentation Generators by our editors (7.9/10); pricing: Free plan; best for dart library and API maintainers.
At a glance
- Editor score7.9 / 10
- PricingFree plan
- Best forDart library and API maintainers
- Free planYes
- Paid fromFree
- Source inputsDart source code; Dart documentation comments
- Facts checked20 Sep 2026
Where it wins
- Generates HTML API references from public Dart libraries and members
- Supports Markdown comments, validation, and configurable output directories
- Creates static web content suitable for local or online hosting
Where it doesn't
- Focused on Dart source code and Dart documentation comments
- Produces HTML output rather than multiple documented formats
- Requires command-line workflows through the Dart SDK
Our verdict on dart doc
dart doc is a command-line documentation generator included with the Dart SDK. It is designed for Dart package and library developers who need HTML API reference documentation for public libraries, members, and packages. The generator parses Dart source code and documentation comments, then turns that information into browsable reference pages. Markdown-formatted documentation comments are supported, making it possible to add structured explanatory content alongside API definitions. Its focus is narrow and clear: documenting Dart code rather than serving as a general-purpose documentation system.
Configuration and validation are practical strengths for maintainers working in repeatable documentation workflows. A dartdoc_options.yaml file can control generation, while custom output directories provide flexibility for project layouts and publishing processes. A dry-run mode supports validation without saving output, which can help identify documentation-generation issues before files are written. These capabilities make dart doc a suitable fit for projects that want documentation generation to be part of their development or release process without adding a separate paid service.
The resulting documentation is HTML and can be hosted as static web content locally or online, including documentation published through pub.dev. That makes the tool a natural choice for Dart packages whose readers need API references alongside source code and package information. It is less suitable for teams documenting multiple programming languages, requiring output formats beyond HTML, or seeking a hosted documentation platform with broader workflow features. Choose dart doc when Dart API reference generation, open-source distribution, and static publishing are the priority; consider an alternative when the documentation scope extends beyond Dart or HTML.
Your product? Our editors can test dart doc in depth and publish a review, labelled as paid · from $149/mo →
dart doc pricing
dart doc fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Source inputs | Dart source code; Dart documentation comments |
| API reference generation | Yes |
| Versioned documentation | Not verified |
| CI/CD integration | Not verified |
| Output formats | HTML |
| Programming languages | Dart |
| Deployment | Desktop |
| Platforms | Windows, macOS, Linux |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | dart.dev |
| Facts checked | 20 Sep 2026 |
Alternatives to dart doc
- 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
See all dart doc alternatives →
Used dart doc? 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 dart doc 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
dart doc 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/dart-doc/"><img src="https://www.itechguides.com/best/badge/dart-doc.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


