dirstat-rs
dirstat-rs: A free, scriptable disk analyzer for hierarchical reports and sorted JSON output. Ranked #97 of 104 in Disk Space Analyzers by our editors (3.0/10); pricing: Free plan; best for scriptable cross-platform directory reports.
At a glance
- Editor score3.0 / 10
- PricingFree plan
- Best forScriptable cross-platform directory reports
- Free planYes
- Paid fromFree
- Desktop platformswindows, macos, linux
- Facts checked23 Sep 2026

Where it wins
- Runs on Windows, macOS, and Linux
- Supports parallel scans with depth and threshold controls
- Produces sorted JSON for machine-readable reports
Where it doesn't
- Provides command-line output rather than graphical visualization
- Does not include app-size or file-type breakdowns
- Offers no listed integrations
Our verdict on dirstat-rs
dirstat-rs is an open-source command-line disk usage analyzer for Windows, macOS, and Linux. It scans the current directory or a specified filesystem path, then displays hierarchical results with configurable recursion depth. This makes it suited to users who want scriptable directory reports, filesystem inspection, or machine-readable output rather than a graphical disk map. It supports both allocated disk size and apparent logical file size, helping users choose the measurement that fits their reporting needs.
Its strongest capability is control over how scans are performed and reported. Users can filter displayed entries by a configurable percentage threshold, prevent scans from crossing filesystem boundaries, and scan directories in parallel using Rayon. Sorted JSON output extends the tool beyond an interactive terminal view, making the results suitable for downstream processing. The project is distributed through source compilation, Cargo, and a macOS Homebrew tap, and it uses the MIT License.
The trade-off is a narrow command-line focus. dirstat-rs does not provide graphical visualization, treemap views, app-size views, or file-type breakdowns, and it has no listed integrations. Users who want compact, cross-platform reports with configurable scan behavior and JSON export should pick dirstat-rs. Users who prefer visual exploration of storage usage or broader analysis features should choose a disk analyzer built around graphical views and application or file-type categorization instead.
Your product? Our editors can test dirstat-rs in depth and publish a review, labelled as paid · from $149/mo →
dirstat-rs pricing
dirstat-rs fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Desktop platforms | windows, macos, linux |
| Treemap view | No |
| Application sizes | No |
| File-type breakdown | Not verified |
| External drive scans | Not verified |
| Exportable reports | Not verified |
| Scan scope | Files_folders |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Built for | Solo, Small business (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 23 Sep 2026 |
Alternatives to dirstat-rs
- TreeSizeA broad Windows analyzer with strong free features and tiered automation tools.9.3
- WinDirStatA classic Windows analyzer with treemaps, file breakdowns, duplicate detection, and CSV export.9.1
- FilelightA free, open-source disk analyzer with strong KDE integrations and ring-based visuals.9.0
See all dirstat-rs alternatives →
Used dirstat-rs? 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 dirstat-rs 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
dirstat-rs is listed in our Disk Space Analyzers directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/dirstat-rs/"><img src="https://www.itechguides.com/best/badge/dirstat-rs.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


