Can File Explorer show file sizes in bytes instead of kb?

Jack Smook 110 Reputation points
2026-07-25T13:27:48.6033333+00:00

Can File Explorer show file sizes in bytes instead of kb... if so, how?

Windows for home | Windows 11 | Files, folders, and storage
0 comments No comments

Answer accepted by question author
TaoLi 112.1K Reputation points Independent Advisor
2026-07-25T14:05:47.2433333+00:00

No. File Explorer’s Size column cannot be changed from KB to bytes; Windows has no built-in setting or registry option for this.

For one file, right-click it, select Properties, and check Size. The exact value appears in parentheses, for example: 1.20 MB (1,258,291 bytes).

To display every file in the current folder in bytes, open the folder, click the address bar, type powershell and press Enter. Then run:

Get-ChildItem -File | Select-Object Name, @{Name="Size in bytes";Expression={$_.Length}}

This only reads the file information and does not modify anything.

Microsoft reference: https://learn.microsoft.com/en-us/answers/questions/2412074/display-file-size-in-bytes-on-windows-explorer

Was this answer helpful?

1 person found this answer helpful.

Answer accepted by question author
Marcin Policht 108.4K Reputation points MVP Volunteer Moderator
2026-07-25T14:04:09.5233333+00:00

unfortunately not - AFAIK, File Explorer cannot be configured to display file sizes in bytes in the main file list; it automatically uses KB, MB, GB, and larger units as appropriate. If you need the exact size in bytes, right-click the file, select Properties, and view the Size field, which shows the precise byte count (along with the rounded Size on disk). Alternatively, you can add the Size column details or use PowerShell (for example, Get-ChildItem | Select-Object Name, Length) to display exact file sizes in bytes for multiple files.


If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

hth

Marcin

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Oldest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.