# byte_array.to_base64 · Rell standard library · Chromia Docs (concept)

> pure function to_ base64(): text Returns a base-64 text representation of this byte_array . Inverse of byte_array.from_base64(text) . Since 0.9.0

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/byte_array/to_base64/

FUNCTION

# byte\_array.to\_base64

```signature
pure function to_base64(): text
```

Returns a base-64 `text` representation of this `byte_array`.

Inverse of `byte_array.from_base64(text)`.

Since 0.9.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/byte_array/to_base64.html)Generated API reference, mirrored from the live docs
