Home Tools About Us β™₯ Support Us
πŸ’Ύ File Size Converter

Bytes, bits,
every storage unit

Decimal and binary standards, download time, upload limits, storage capacity, batch conversion, and developer code snippets β€” all in your browser.

1. Convert

β€”

2. Paste & Auto-Detect

Type or paste a size like 512MB, 1.5 GiB, or 800 Kb β€” the unit is recognized automatically.

3. All Units at Once

Your value above, converted into every unit. Filter by system, search, star a favorite, or click a row to load it as the target unit.

4. Batch Conversion

Paste one size per line as value UNIT (e.g. 512 MB) β€” every line converts to your chosen unit at once.

5. Download Time Estimator

Estimate how long a file takes to download at a given connection speed. Remember: speeds are usually advertised in bits per second, not bytes.

β€”
estimated download time

6. Upload & Attachment Limit Checker

Compare a file size against commonly-cited limits for popular services. These are approximate references β€” always confirm on the service itself.

7. Storage Capacity Estimator

Estimate roughly how many photos, songs, videos, or apps fit into a given amount of storage.

β€”
approx. items that fit

8. Decimal vs. Binary β€” and Code Snippets

Storage manufacturers and network speeds use decimal units (1 KB = 1,000 B), matching the International System of Units. Most operating systems report binary units (1 KiB = 1,024 B), matching how memory addressing actually works in powers of two. The two systems diverge more the larger the size β€” a 1 TB drive (decimal) shows as about 931 GiB in a binary-reporting OS.

Need to format byte counts in code? Pick a language below.

9. Common File Size Reference

Rough real-world averages, useful for quick estimates.

ItemTypical Size
Plain text email~2–10 KB
Smartphone photo (JPEG)~2–5 MB
DSLR RAW photo~20–45 MB
MP3 song (4 min, 128 kbps)~4–5 MB
Lossless FLAC song~25–35 MB
PDF document (10 pages)~1–3 MB
1080p video (per hour)~1.5–3 GB
4K video (per hour)~7–12 GB
Mobile app install~50–300 MB
Modern PC game install~30–150 GB
Operating system install~10–25 GB

⭐ Favorites

No favorites yet β€” star a unit in the table above.

πŸ•˜ Recent Conversions

No conversions yet.

How to use every option

  1. Convert a value β€” type a number, pick the From unit and To unit; the result updates instantly. Units are grouped as Decimal (SI), Binary (IEC), and Bits.
  2. Swap units β€” click ⇄ to instantly reverse the conversion direction.
  3. Adjust precision β€” drag the decimal-places slider (0–10), toggle Scientific notation for extreme values, or toggle Show abbreviations to switch between "MB" and "Megabyte".
  4. Copy or share β€” use Copy Result for just the converted text, or Copy Link for a URL that reopens this exact conversion.
  5. Save a favorite β€” click β˜† Add to Favorites, or star any row in the all-units table below.
  6. Paste & auto-detect β€” type something like 512MB or 1.5 GiB into the parser box and click Detect & Load to load it straight into the converter.
  7. Browse all units at once β€” filter by Decimal/Binary/Bits, search by name, or click any row to load it as the target unit; download the full table as CSV.
  8. Convert in bulk β€” paste multiple "value UNIT" lines into Batch Conversion, choose a target unit, and click Convert All; copy or download the results as CSV.
  9. Estimate download time β€” enter a file size and your connection speed (in bits or bytes per second) to see roughly how long a download will take.
  10. Check upload/attachment limits β€” enter a file size to see whether it fits common email, chat, and file-sharing service limits.
  11. Estimate storage capacity β€” pick a preset item type (photos, songs, videos, apps) or enter a custom average size to see roughly how many fit in your total storage.
  12. Grab a code snippet β€” copy a ready-made formatBytes() function in JavaScript, Python, PHP, or Java for your own projects.
  13. Revisit past work β€” every conversion is saved to Recent Conversions on this device; click an entry to reload it, or clear favorites/history anytime.

Built to replace a dozen scattered size tools

πŸ’Ύ
Decimal & Binary
Full SI (KB/MB/GB) and IEC (KiB/MiB/GiB) unit families, side by side.
πŸ”€
Bits & Bytes
Convert network speeds in bits per second alongside byte-based file sizes.
🧠
Auto-Detect Parsing
Paste "512MB" or "1.5 GiB" and the tool recognizes the unit for you.
πŸ“₯
Batch Conversion
Convert dozens of sizes in one pass from a pasted list.
⏱️
Download Time
Estimate download duration from file size and connection speed.
πŸ“§
Upload Limit Checker
Instantly see if a file fits common email and chat service limits.
πŸ“¦
Storage Capacity
Estimate how many photos, songs, or videos fit in a given amount of storage.
πŸ‘¨β€πŸ’»
Code Snippets
Ready-made formatBytes() functions for JS, Python, PHP, and Java.
⭐
Favorites & History
Pin frequent units and revisit recent conversions, saved locally.
πŸ”’
100% Private
Every calculation runs locally in your browser β€” nothing is ever uploaded.

Frequently Asked Questions

A Kilobyte (KB) equals 1,000 bytes under the decimal (SI) standard, while a Kibibyte (KiB) equals 1,024 bytes under the binary (IEC) standard commonly used by operating systems.

Storage manufacturers usually advertise capacity in decimal units (1 GB = 1,000,000,000 bytes), while many operating systems report it in binary units (1 GiB = 1,073,741,824 bytes) β€” making the same drive appear smaller once formatted.

A byte is made up of 8 bits. Network speeds are usually advertised in bits per second (like Mbps), while file sizes are usually shown in bytes (like MB) β€” a "100 Mbps" connection downloads at roughly 12.5 MB per second, not 100.

It calculates a theoretical time based on file size and your stated connection speed. Actual download time is usually a bit longer due to network overhead, server limits, and other traffic sharing the connection.

They're commonly-cited approximate limits for popular services, used as a quick reference. Providers change these limits over time, so always confirm the current limit on the service itself before relying on it.

No. Every conversion, estimate, and calculation runs locally in your browser using standard conversion factors. Favorites and history are saved only in this browser's local storage.

Yes. Use the Batch Conversion panel and paste one "value UNIT" per line, such as "512 MB" or "2.5 GiB", to convert every line to your chosen target unit at once.

Yes. The Auto-Detect Parser recognizes common formats like "512MB", "1.5 GiB", or "800 Kb" and loads the recognized value and unit straight into the main converter.

Related tools

Browse Other Categories

β™₯

Support EaseDev Studios

All tools are free. If they've saved you time, consider supporting us.

β˜•

Buy Us a Coffee

A quick one-time gesture that means a lot.

Buy a Coffee β†’
πŸŽ—οΈ

Become a Patron

Support us monthly and help build more tools.

Join on Patreon β†’