Skip to content
TextArray
100% local

Byte unit converter

Convert data sizes between B, KB, MB, GB and TB in decimal or binary units.

Input

Byte unit converter

Type a data size like 1536 KB — or paste a whole list, one size per line — and this tool converts it instantly. Keep the target on "All units" to see every value at once, from bytes to terabytes, or pick a single unit to get one clean converted value per input line. A bare number is read as bytes, decimals work with a period or a comma, and full words like "2 megabytes" are understood too.

The standard select settles the eternal 1000-versus-1024 question explicitly. In binary mode a kilobyte is 1024 bytes and results are labeled with the unambiguous IEC units KiB, MiB, GiB and TiB — the way operating systems report file sizes. In decimal mode a kilobyte is 1000 bytes, labeled kB, MB, GB and TB — the way drive manufacturers and network providers count. Explicit IEC units in your input, like KiB or MiB, are always read as 1024-based regardless of the setting, and the precision option controls how many decimal places the results carry.

This is the quick answer to everyday questions: how many megabytes is that download, will these files fit on a 64 GB card, why does a "500 GB" drive show up as 465 GiB. Paste several sizes at once and the tally under the output adds them up and shows the total in the most readable unit.

Everything runs locally in your browser — nothing is uploaded, there are no lookups and no waiting. Copy the result or download it as a .txt file when you are done.

FAQ

What is the difference between KB and KiB?
KB in decimal mode means 1000 bytes (the SI convention used by drive makers); KiB always means 1024 bytes (the IEC convention used by operating systems). The standard select decides how a plain KB in your input is read, while an explicit KiB is always 1024-based.
Why does a 500 GB drive show only 465 GB in my computer?
The manufacturer counts in decimal gigabytes (10⁹ bytes), the operating system in binary gibibytes (2³⁰ bytes). Convert 500 GB in decimal mode and read the GiB row: 465.66. Nothing is missing — it is the same number of bytes under two names.
What input formats are accepted?
One size per line: a number followed by a unit — B, KB, MB, GB, TB, their IEC forms KiB to TiB, or full words like "megabytes". Decimals take a period or a comma (2.5 GB or 2,5 GB), thousands separators are tolerated, and a number without a unit counts as bytes.
Can I convert many sizes at once?
Yes. Paste any number of lines and each is converted in place; the tally under the output shows how many values were read and their combined total.
Is my data uploaded anywhere?
No. The tool runs entirely in your browser and your input never leaves your device.