# Convert binary data to file

**URL:** <https://community.make.com/t/convert-binary-data-to-file/62391>\
**Category:** Questions\
**Tags:** connections\
**Created:** [November 25, 2024, 5:57pm UTC](https://community.make.com/t/convert-binary-data-to-file/62391 "2024-11-25T17:57:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dilipborad](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/dilipborad/32/53211_2.png) [@dilipborad](https://community.make.com/u/dilipborad)\
**Post date:** [November 26, 2024, 8:52am UTC](https://community.make.com/t/convert-binary-data-to-file/62391/4 "2024-11-26T08:52:33Z")

</div>

Hello @mdb213,  
Airtable supports 2 different things for uploading files.

### Upload a File Directly

Now airtable also supports uploading a file as per their API updates in July 2024. See the changes here [Changes 2024-07-31](https://airtable.com/developers/web/api/changelog#anchor-2024-07-31)  
Only the specific instructions are

- Upload an attachment up to 5 MB to an attachment cell via the file bytes directly.
- In the `file` parameter required `string`, The base64 encoded string of the file to be uploaded.

You can read more about these things here [Upload attachment](https://airtable.com/developers/web/api/upload-attachment)

> Note: An important thing I’ve noticed is that this specifically works while we update airtable records. You’ll see the `{recordId}` in the URL.
> 
> > `{recordId}` is there if the record is already created.

### Upload file Via URL

As @Donald_Mitchell suggests, if direct public URLs are available, use them as attachment input.

I hope this helps you.

* * *

💡P.S.: Always search first, Check [Make Academy](https://community.make.com/t/make-academy-course-overview/29699). If this is helpful, mark it as a solution ✅ and 👍   
 Need expert help or have questions? Contact or comment below! 👇

---

_[View the full topic](https://community.make.com/t/convert-binary-data-to-file/62391)._
