base64 has legitimate uses too and can be an easy way to store a file or data within actual code for developers to keep things in a single file.
For example let's take an image we'll see for an application's background:
base64 -w 0 some.jpg > some.jpg-base64
-w 0 makes it output to a single line which makes it easy to store in a variable. Without the -w 0 it will wrap over multiple lines.