# encode_cursor · FT4 Rell API · Chromia Docs (concept)

> function encode_ cursor(page_ cursor: page_cursor ): text Encodes a page_cursor into a base64 string to make it more manageable for the frontend Parameters

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.utils/encode_cursor/

FUNCTION

# encode\_cursor

```signature
function encode_cursor(page_cursor: page_cursor): text
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/utils/pagination.rell#lines-30)

Encodes a `page_cursor` into a base64 string to make it more manageable for the frontend

**Parameters**

* **page\_cursor** — the page\_cursor to be encoded

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.utils/encode_cursor.html)Generated API reference, mirrored from the live docs
