Drive Sonar


Drive Sonar — Free Download. Disk analyzer

Drive Sonar is a desktop disk usage explorer and analyzer built with Tauri, Rust, React, and TypeScript. The application performs fast parallel scanning of directories and presents storage consumption through multiple visualization modes including a high-performance treemap, extension breakdown charts, and file age scatter plots. The tool runs entirely in user mode without requiring administrator privileges and includes in-app file management such as opening paths in native OS file managers or moving items to system trash with confirmation. Memory overhead remains minimal, with approximately 108 MB RAM used when processing over 1.2 million files.

5.0(1 ratings)
File size: 3.46 MB
The latest version of Drive Sonar is: 0.9.0
Operating system: Windows, Mac OS, Linux
Languages: English
Price: $0.00 USD (Open Source (Apache-2.0))
  • Fast Parallel Scanning. Drive Sonar uses a native fast-path scanning implementation on Windows to read directory structures with minimal overhead. On other platforms, a multi-threaded jwalk-based fallback walks the file system using multiple threads simultaneously. The scanning engine aggregates file sizes, counts, and metadata during traversal, allowing large directory trees to be processed quickly. The parallel design reduces total scan duration compared to single-threaded approaches, especially on systems with multiple CPU cores and solid-state storage. The scanner does not require elevated permissions and operates within user-accessible directories.
  • Space Distribution Map. The space distribution map is a high-performance storage treemap that displays the entire scanned directory as nested rectangles. Each rectangle represents a file or folder, with its area proportional to the space consumed on disk. Large files appear as large blocks, making it possible to locate space-consuming items at a glance. The treemap updates after scan completion and supports navigation into subdirectories by clicking on their corresponding rectangles. The rendering engine is optimized to handle hundreds of thousands of elements without significant frame rate degradation.
  • Extension Breakdown. The extension breakdown feature groups all scanned files by their file extension and calculates the total storage used by each group. The results are displayed as a ranked list or chart showing which file types consume the most space. This function identifies accumulated archives, video files, database dumps, or temporary files that occupy large portions of the drive. The breakdown includes both total size and file count for each extension, allowing comparison between many small files and fewer large files. Users can sort the results by size to find the top space-consuming formats.
  • File Age Analysis. File age analysis produces a scatter plot where each file is positioned according to its size and last modification date. The horizontal axis represents file age while the vertical axis represents file size. This visualization reveals clusters of old, large files that may have been forgotten and could be archived or removed. It also shows recently modified large files, which may be active projects or downloads. The plot cross-references two dimensions that traditional treemaps do not display simultaneously. Users can identify outliers and inspect individual files by selecting points on the plot.
  • In-App File Management. Drive Sonar includes file management actions that operate directly on scanned items without leaving the application. Users can open a file or folder in the native OS file manager, which launches the default file explorer at the selected path. The application also supports moving items to the system trash, with a confirmation dialog required before deletion. This prevents accidental removal of important data. The trash operation uses the platform's native trash mechanism, making it possible to restore files through the operating system's standard recovery features.
  • Security Hardened Path Handling. The application implements path canonicalization to guard against relative traversal attacks. All file paths are resolved to their canonical absolute form before any operation is performed. A strict Content Security Policy is applied to the web-based user interface to block unauthorized script execution. Drive Sonar also includes protection against system root deletion, preventing users from accidentally selecting and removing critical operating system directories. These measures reduce the risk of unintended damage during disk cleanup operations.
  • No Admin Required. Drive Sonar runs entirely in user mode without administrator elevation or specialized driver installation. Unlike some disk analyzers that require elevated privileges to read the NTFS Master File Table directly, Drive Sonar scans directories using standard user-level file system APIs. The application safely reads user-accessible directories and skips or reports files that lack read permissions. This design reduces security risks associated with running elevated processes and makes the tool suitable for environments where administrator access is restricted.
  • Minimal Memory Overhead. The application is built with Rust memory optimizations including string boxing to reduce heap allocation overhead. When processing over 1.2 million files, Drive Sonar uses approximately 108 MB of RAM. This memory footprint is achieved through efficient data structures that store file metadata in compact forms. The low memory usage allows the tool to run on systems with limited RAM and avoids swapping to disk during large scans. Memory consumption scales predictably with the number of scanned items.
  • Multidimensional Plots. Beyond the primary treemap visualization, Drive Sonar provides multidimensional plots that cross-reference file sizes against modification dates. This approach isolates forgotten archives, old backups, and stale downloads that consume significant space. The scatter plot view supports zooming and panning to inspect dense regions. Users can switch between treemap, extension breakdown, and age analysis views without rescanning the directory tree. The plots are rendered using a canvas-based approach optimized for large datasets.
  • Cross-Platform Compatibility. Drive Sonar runs on Windows, macOS, and Linux through the Tauri v2 framework. The Rust backend provides consistent scanning behavior across operating systems while the React and TypeScript frontend delivers the same user interface on all platforms. Platform-specific optimizations, such as the Windows fast-path scanner, are applied automatically when available. The application respects OS-specific file system behaviors including symbolic links, hidden files, and permission differences. This cross-platform design ensures the tool works in mixed-OS environments.
  • Warm and Cold Scan Performance. Drive Sonar is optimized for both warm and cold file system cache scenarios. A warm scan, where the OS file-system cache is already populated from prior access, completes with median times comparable to or better than alternative tools. A cold scan, performed after a full system restart with disk activity confirmed idle, isolates the application's own processing efficiency by eliminating cache advantages. The scanner's directory traversal, tree construction, and size aggregation are designed to minimize overhead in both conditions. Background OS activity such as updates or indexing can affect cold scan times.
  • Apache 2.0 Licensing. The source code of Drive Sonar is distributed under the Apache 2.0 license. Users can inspect the codebase, fork the project, and build the application from source. This licensing model provides transparency about the scanning and file management operations performed by the tool. Build instructions are available for users who prefer to compile the binary themselves rather than downloading prebuilt releases. The open licensing encourages community contributions and independent security audits.

Drive Sonar was created as a modern alternative to traditional disk analyzers, with initial development beginning in 2024. The project was inspired by the simplicity of ncdu, a terminal-based disk usage tool, while adding graphical visualizations and cross-platform desktop support. The development team chose the Tauri v2 framework to combine a lightweight native shell with web-based rendering technologies. Rust was selected for the backend scanning engine due to its memory safety and performance characteristics. React and TypeScript form the frontend layer responsible for interactive charts and user interface components. The program has been released under the Apache 2.0 license, allowing public inspection and community contributions to the codebase.

Alternatives to Drive Sonar:

Kudu Cleaner — Free Download. System cleanup

Kudu Cleaner

Kudu Cleaner is a free, open-source system maintenance suite offering over fifteen built-in tools for Windows, macOS, and Linux.
Price: Free   Size: 121.8 MB   Version: 3.1.0   OS: Windows, Mac OS, Linux