Base64 can be used to transmit data in a format that is more easily handled by various systems.
Base64 can be used to transfer binary data as text that might otherwise cause problems when sent over channels that only support text.
In many cases, Base64 is used to encode data that needs to be included in a URL or in a data URI scheme.
The data URI scheme allows you to include data inline in web pages as if they were external resources.
However, using Base64 encoded data can increase the size of the data being transmitted, as it typically expands the original data by approximately 33%.