Roblox Data Store Manager - Incorrect Usage

I was writing stuff to the data store when I noticed that it wasnt displaying the correct “Total size” on the DataStore Manager page.

I created a build with 3840 objects. Which equated to around 15KB(15099B). When I look on the Data Store Manager page it instead says 11.4KB for all the data, which shouldnt be possible. Is there some kind of compression roblox is doing before they save? I thought it was maybe them using 1024 as 1KB but even then 15KB is only 14.7KiB. It cannot be whitespace in json because the save is an encoded string. This throws off my calculation for the users quota(1MB). So is there any way to get the true datastore size? The api cannot be accessed from roblox and i dont necessarily want to use a proxy.

Roblox compresses data before saving it to DataStores, which is why the size shown in DataStore Manager is smaller than expected. You can estimate true size by encoding your data with HttpService:JSONEncode() and then using # to get its byte length.

Here’s something official made by Roblox itself which I find useful to your cause:

Yes, I was using JSONEncode before. It was just a bit strange having a 15KB string show as 11KB.
Ill just assume that the user has used 15KB since compression can be a bit “unreliable” with its size.

It’s something normal I believe, you can also find out more regarding that here: