This is typically used to make binary data safe to transport as strictly text.

Base64 translates binary into safe text. It is used for some web servers, sending attachments in email, plus has frequent use elsewhere when a method of transferring data using binary systems is not available.