> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# Address.validate

:::info
`Address.validate` is a re-export of ox's [`Address.validate`](https://oxlib.sh/api/Address/validate). Refer to the ox documentation for the full reference.
:::

Checks if the given address is a valid [`Address.Address`](/docs/utilities/address/types#address).

## Imports

```ts
import { Address } from 'viem/utils'
```

## Examples

```ts twoslash
// @noErrors
import { Address } from 'viem/utils'

Address.validate(
  '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'
)
// @log: true
```

```ts twoslash
// @noErrors
import { Address } from 'viem/utils'

Address.validate('0xdeadbeef')
// @log: false
```

## Definition

```ts
function validate(
  address: string,
  options?: validate.Options,
): address is Address
```

## Parameters

### address

* **Type:** `string`

Value to check if it is a valid address.

### options

* **Type:** `validate.Options`
* **Optional**

Check options.

#### options.strict

* **Type:** `boolean`
* **Optional**

Enables strict mode. Whether or not to compare the address against its checksum.

## Return Type

Whether the address is a valid address.

`address is Address`
