---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# KVStoreEntry.text()

The `text()` method of the `KVStoreEntry` interface takes a `KVStoreEntry` stream and reads it to completion. It returns a promise that resolves with a `String`. The `KVStoreEntry `is always decoded using UTF-8.

## Syntax

```js
text()
```

### Parameters

None.

### Return value

A `Promise` that resolves with a `String`.