How to convert a file in binary data format to pdf or bytes?

I use FillFaster to generate a Pdf and the file is returned in binary data format. I then want to upload this file to Textit using their Media Upload api, however they require it in bytes or pdf format. Is there another app that I can use to convert the binary to pdf / bytes?