> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# parseNdefUri

> Walk an NDEF message and return the first usable URI record as a full URL, or null - never a partial or scheme-less string.

Walk an NDEF message and return the first usable URI record as a full URL, or null - never a partial or scheme-less string.

```ts theme={null}
import { parseNdefUri } from "@endstate-sdk/reader/ndef";
```

```ts theme={null}
parseNdefUri(bytes: Uint8Array): string | null
```

## Example

```ts theme={null}
const url = parseNdefUri(bytes); // null when no usable URI record
```
