A little help goes a long way. Find a tool/

Developer

Byte Size Formatter

Free byte size formatter: paste a raw byte count and get a single human-readable string in both conventions — decimal SI (KB, MB, GB) and binary IEC (KiB, MiB, GiB) — side by side, no unit math.

YOUR WORKSPACEFree to use. No sign-up.
—
Enter a byte count and press Format size.

Deep dive guides

A LITTLE CONTEXT · 4 MIN READHuman-Readable Sizes: How Byte Formatters Pick Their Words

How byte size formatter works

A formatter answers one question: "what is this number of bytes, in words?" Paste 1536 and the answer is 1.54 KB in the decimal SI convention (divide by 1,000 per step) and exactly 1.5 KiB in the binary IEC convention (divide by 1,024 per step). The tool picks the largest unit that keeps the value at or above 1, formats to two decimals with trailing zeros trimmed, and shows both conventions side by side because real systems genuinely disagree on which to use.

The disagreement is not a bug — it is two standards. Storage makers and networking use SI powers of 1,000, so 10⁹ bytes is 1 GB. Memory and most operating systems historically used powers of 1,024, where 2³⁰ bytes is 1 GiB — and when tools label that value "1 GB" while a disk box labels 10⁹ bytes "1 GB", the same number appears 7% smaller on one screen than the other. Showing both at once makes the discrepancy visible instead of surprising.

Enter any byte count up to exobytes — whole numbers, decimals, or values copied straight from an API response or ls -l output. The result panel shows both formatted strings plus the exact byte value, so you can paste either back into code or docs. For converting one specific unit into another (say MB to MiB or bytes to gigabytes explicitly), use the Data Unit Converter instead; this tool is for labelling, not converting.

Frequently asked questions

What is the difference between KB and KiB?
KB (kilobyte) is the SI decimal unit: 1,000 bytes. KiB (kibibyte) is the IEC binary unit: 1,024 bytes. The same rule extends upward — MB is 10⁶ bytes and MiB is 2²⁰ (1,048,576) bytes. The IEC spellings with the "i" were introduced in 1998 precisely so the two conventions would stop sharing labels.
Why does my 1 TB drive show as 931 GB?
The drive is 10¹² bytes, which is exactly 1 TB in SI. Your operating system divides by 1,024³ instead, getting about 931 "GiB" but labelling them GB. Nothing is missing — the two columns of this formatter make the same arithmetic visible for any byte count.
Which convention should my code or docs use?
Match your audience and say which you mean. Networking and storage marketing use SI (KB = 1,000). Memory, file-system internals, and most developer tooling output binary values (dividing by 1,024) even when they label them KB. The safe practice is to use IEC labels (KiB, MiB) whenever you actually mean powers of 1,024.
How does this differ from the Data Unit Converter?
The converter answers "how many MB is 5 GiB?" — a specific unit-to-unit conversion with a full table. The formatter answers "how do I write 1536 bytes for humans?" — it picks the best unit itself and shows both conventions. If you already know the units you want, use the converter; if you want a label, use this.
How are the values rounded?
Values are shown to two decimal places with trailing zeros trimmed, so 1,536 bytes is 1.54 KB / 1.5 KiB and 2,625 bytes is 2.63 KB / 2.56 KiB. The exact byte count is always displayed alongside, so rounding never loses information that matters.