# Image to base64

**URL:** <https://community.thunkable.com/t/image-to-base64/3623964>\
**Category:** Questions about Thunkable X\
**Created:** [March 3, 2025, 9:24pm UTC](https://community.thunkable.com/t/image-to-base64/3623964 "2025-03-03T21:24:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cindy.sanbornl8ubbu](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@cindy.sanbornl8ubbu](https://community.thunkable.com/u/cindy.sanbornl8ubbu)\
**Post date:** [March 3, 2025, 9:24pm UTC](https://community.thunkable.com/t/image-to-base64/3623964/1 "2025-03-03T21:24:40Z")

</div>

I have spent DAYS trying to find a way to convert an image in thunkable into a base64 string (that I can store locally). I have seen how a webviewer can convert an image into base64 if the image if picked within the webviewer but that is not what I am trying to do. I want to take a picture with the camera control…I want to pass the image to a webviewer…and then I want to convert the image (now within the webviewer) into base64. I have spent days trying to use a blob url string and can display it within the webviewer, but I simply cannot get the javascript to encode into base64 within the webviewer on the image that came from a blob image. HELP! Thunkable used to have this functionality and now it doesn’t. Yeesh!

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [March 4, 2025, 8:36am UTC](https://community.thunkable.com/t/image-to-base64/3623964/2 "2025-03-04T08:36:03Z")

</div>

Hello @cindy.sanbornl8ubbu welcome to Thunkable.  
What exactly have you tried so far could you share your code?

Edit: @cindy.sanbornl8ubbu you can also use this module :[Mod Docs!](https://lukeplays33.github.io/Mod-Docs/?page=Thunkable+-+ImgBB)

Upload your photo/image and then use that URL to convert it to base64.

Could you let me know if that works for you?

---

<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:** [June 2, 2025, 8:36am UTC](https://community.thunkable.com/t/image-to-base64/3623964/3 "2025-06-02T08:36:21Z")

</div>

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