Convert base64 to table

I have uploaded csv into Retool Storage and wanted to view them as table, I have used query to pull the content, but getting them as base64 format. I need to visualize content of the csv file as table.

1 Like

Hello, you need to parse base64 to str and then parse the string to json.
here is solution
return Papa.parse(atob(data.base64Data),{header:true}).data

3 Likes

thanks a lot for the great solution!

1 Like