Git Repository Size Calculator
Analyze and visualize the size breakdown of a Git repository by file type and directory.
- 100% free
- Private in browser
- No signup
- No watermarks
Total Size
208.5 KB
Files
18
Extensions
10
Size by File Extension
Size by Directory
Largest Files
Rate this tool
Be the first to rate — helps others and improves this page.
About Git Repository Size Calculator
Git Repository Size Calculator on TheToolss helps you understand where your repository storage is being used. Paste the output of git ls-files with sizes and get a visual breakdown by extension, directory, and largest files.
How to use Git Repository Size Calculator
- Run the command: git ls-files -z | xargs -0 -n1 ls -l | awk '{print $5, $NF}'
- Paste the output into the input field.
- View the breakdown by extension, directory, and largest files.
Key features
- Breakdown by file extension with size bars
- Breakdown by top-level directory
- Top 20 largest files list
- Visual progress bars for percentage
- Total size, file count, and extension count summaries
Frequently asked questions
- How do I get the file size data?
- Run this command in your repo: git ls-files -z | xargs -0 -n1 ls -l | awk '{print $5, $NF}'
- Does this include .git folder size?
- No, this analyzes tracked files only. The .git directory size is separate.
- What do I need to enter?
- Just Git File Size Data. Every field has a sensible default you can start from.
- Is my data uploaded anywhere?
- No. The calculation runs in your browser with JavaScript — nothing you type is sent to a server or stored.
- Does it work on a phone?
- Yes. The layout adapts to small screens and needs no app or signup.
Related In-Depth Guides
Learn practical workflows, real-world examples, and expert tips in our comprehensive guides:
Password Entropy Explained: How Bits Measure Brute-Force Cracking Time
Understand Shannon entropy in passwords, character pool combinations, and how many seconds, years, or millennia it takes GPUs to crack modern passphrases.
How to Convert Docker Run Commands to Docker Compose YAML Files
A comprehensive developer guide to transforming complex docker run commands into clean, maintainable docker-compose.yml files.
Web Accessibility & Color Contrast (WCAG 2.1): How to Design AA & AAA Palettes
A practical guide to color contrast ratios, accessibility compliance, WCAG 2.1 AA/AAA standards, and building accessible UI palettes.