---
title: parseSafe
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/data-schema/src/lib/schema.ts#L1167
---

# parseSafe

## Summary

Validate a value without throwing.

## Signature

```ts
function parseSafe<input, output>(
  schema: StandardSchemaV1<input, output>,
  value: unknown,
  options: ParseOptions,
):
  | { success: true; value: output }
  | { issues: readonly Issue[]; success: false };

```

## Parameters

### `schema`

The schema to validate against

### `value`

The value to validate

### `options`

Validation options

## Returns

A success result with the value, or a failure result with issues