# JSONata $base64decode does not support UTF8 strings

**URL:** <https://discourse.nodered.org/t/jsonata-base64decode-does-not-support-utf8-strings/101146>\
**Category:** General\
**Tags:** jsonata, bug\
**Created:** [28 May 2026 06:04 UTC](https://discourse.nodered.org/t/jsonata-base64decode-does-not-support-utf8-strings/101146 "2026-05-28T06:04:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [28 May 2026 15:34 UTC](https://discourse.nodered.org/t/jsonata-base64decode-does-not-support-utf8-strings/101146/4 "2026-05-28T15:34:52Z")

</div>

> [@knolleary](#):
>
> not something we fix in Node-RED itself.

To avoid future confusion, one could remove the two functions from NR's JSONata support, i.e., that `$base64encode` and `$base64decode` cannot be accessed from within NR.

Technically speaking then there is something that NR could do but probably shouldn't do because of backward compatibility and also it does not seem to have bothered anyone until now anyway.

So this becomes more of an FYI for future "end" users.

---

_[View the full topic](https://discourse.nodered.org/t/jsonata-base64decode-does-not-support-utf8-strings/101146)._
