Decode text base64

how can i use a function to decode text in base64

I had the same problem and it turned out you need a code node.

1 Like

it worked perfectly, but how can I pass a list to get decoded?

I did like this, but it went wrong

So a couple of things I would change.

  1. Get rid of the array and json around the Buffer statement. This will get rid of the zero and “data” in your output.
  2. instead of “$input.first()” use “item”.

It’s worth noting that I haven’t tested the above but in general it should work.

1 Like

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