> For the complete documentation index, see [llms.txt](https://sevenval.gitbook.io/flat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sevenval.gitbook.io/flat/reference/functions/base64-encode.md).

# base64-encode()

```markup
string base64-encode(string input)
```

encodes the data passed in the `input` parameter using Base64.
