Skip to content
~/disk-usage-visualizer
$

Disk Usage Visualizer

Paste df -h or du output to visualize disk partitions and directory sizes with color-coded bar charts and treemap views.

What Does This Visualizer Do?

Paste the output of df -h or du -sh from your terminal and instantly see your disk usage as color-coded bar charts or treemap views. It turns raw text output into clear, visual breakdowns of partition and directory sizes.

Understanding df and du

The df command reports filesystem-level disk space (how full each partition is), while du measures actual directory sizes. Together, they give you a complete picture of where storage is being consumed on a Linux system.

Practical Use Case

When a server alerts you that disk space is running low, run df -h to find the full partition, then du -sh /* to locate the largest directories. Paste both outputs here to quickly visualize where your storage went.