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

# KVStoreEntry.metadataText()

The `metadataText()` method of the `KVStoreEntry` interface provides a String interpretation of binary metadata associated with the `KVStoreEntry`.

If the binary data is not a valid string, an encoding error will be thrown.

## Syntax

```js
metadataText()
```

### Parameters

None.

### Return value

A `Promise` that resolves to a String.
