FileUploader File Size Unit

Hi,

When using Bubble’s FileUploader element in a workflow, I am telling it to perform an action if the file size is less than 100. I am unsure whether or not that 100 is referring to MB or KB, or simply Bytes. Could someone please help clarify what unit of data this is? It doesn’t specify in the documentation either.

Thanks,
Jacob

Hey, @jacobbseeger,

It is referring to MB :slight_smile: :computer:

https://manual.bubble.io/core-resources/elements/input-forms#max-file-size-mb

Hi @hacker thanks for helping. I actually just figured it out - it’s not referring to MB. It is referring to Bytes.

When using FileUploader’s → File Size, the unit is in Bytes. Here is a simple conversion tool to help: Convert Megabytes to Bytes (MB → B)

Hope this helps the next person!