# How to convert base64 string to binary-file and store on sftp

**URL:** <https://community.make.com/t/how-to-convert-base64-string-to-binary-file-and-store-on-sftp/5822>\
**Category:** Questions\
**Tags:** functions\
**Created:** [December 20, 2022, 10:20am UTC](https://community.make.com/t/how-to-convert-base64-string-to-binary-file-and-store-on-sftp/5822 "2022-12-20T10:20:38Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Lucas\_Bernardes](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@Lucas\_Bernardes](https://community.make.com/u/Lucas_Bernardes)\
**Post date:** [April 1, 2023, 10:06pm UTC](https://community.make.com/t/how-to-convert-base64-string-to-binary-file-and-store-on-sftp/5822/10 "2023-04-01T22:06:08Z")

</div>

I’ve the same issue. I’m trying to convert a existing base64 `"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA...` onto image.

I did the same thing above.

HTTP \> Parse \> Variable ({{toBinary(10.value; “base64”)}}) \> Google Drive

The image come broken.

---

_[View the full topic](https://community.make.com/t/how-to-convert-base64-string-to-binary-file-and-store-on-sftp/5822)._
