# How to Convert an Audio File to Base64 in Thunkable?

**URL:** https://community.thunkable.com/t/how-to-convert-an-audio-file-to-base64-in-thunkable/3583653
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [February 18, 2025, 6:58am UTC](https://community.thunkable.com/t/how-to-convert-an-audio-file-to-base64-in-thunkable/3583653 "2025-02-18T06:58:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sheia\_anandpc2f4k](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sheia\_anandpc2f4k](https://community.thunkable.com/u/sheia_anandpc2f4k)
#### Post date: [February 18, 2025, 6:58am UTC](https://community.thunkable.com/t/how-to-convert-an-audio-file-to-base64-in-thunkable/3583653/1 "2025-02-18T06:58:34Z")

</div>

Hi,

I have reviewed all similar post and tried other forums such as ChatGPT before posting this message here.

I’m working on a project where I record an audio file in Thunkable and then send it to Google Speech-to-Text API. Since Google requires the audio in Base64 format (or a Google Cloud Storage URL), I need to **convert the recorded audio file to Base64** before making the API request.

So far, I have:

1. **Recorded audio in Thunkable** (getting a Blob URL).
2. **Uploaded it to Cloudinary** (I now have a Cloudinary URL).
3. **Now I need to convert the file to Base64 before sending it to Google Speech-to-Text API.**

**Question:**

- Is there a built-in way in Thunkable to convert an audio file to Base64?

Thanks

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [February 18, 2025, 10:38pm UTC](https://community.thunkable.com/t/how-to-convert-an-audio-file-to-base64-in-thunkable/3583653/2 "2025-02-18T22:38:16Z")

</div>

Hello @sheia_anandpc2f4k  
There is no build in way to convert an audio file to base64 but you can create an HTML code to make the conversion.

Here is an example that converts the image file to base64: [https://community.thunkable.com/t/web-api-firebase-storage-it-does-not-upload-the-file-to-the-server/2369895/4](https://community.thunkable.com/t/web-api-firebase-storage-it-does-not-upload-the-file-to-the-server/2369895/4)

---

<div class="post-metadata">

### Author: ![sheia\_anandpc2f4k](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sheia\_anandpc2f4k](https://community.thunkable.com/u/sheia_anandpc2f4k)
#### Post date: [February 19, 2025, 6:28am UTC](https://community.thunkable.com/t/how-to-convert-an-audio-file-to-base64-in-thunkable/3583653/3 "2025-02-19T06:28:29Z")

</div>

Thanks, Will try this solution.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [May 20, 2025, 6:29am UTC](https://community.thunkable.com/t/how-to-convert-an-audio-file-to-base64-in-thunkable/3583653/4 "2025-05-20T06:29:22Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
