# normalize

> This document is the Markdown version of [valibot.dev/api/normalize/](https://valibot.dev/api/normalize/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Creates a normalize transformation action.

```ts
const Action = v.normalize<TForm>(form);
```

## Generics

- `TForm` `extends NormalizeForm | undefined`

## Parameters

- `form` `TForm`

## Returns

- `Action` `NormalizeAction`

## Examples

The following examples show how `normalize` can be used.

### Normalized string

Schema to normalize a string.

```ts
const StringSchema = v.pipe(v.string(), v.normalize());
```

## Related

The following APIs can be combined with `normalize`.

### Schemas

[`any`](/api/any.md), [`custom`](/api/custom.md), [`string`](/api/string.md)

### Methods

[`pipe`](/api/pipe.md)

### Utils

[`isOfKind`](/api/isOfKind.md), [`isOfType`](/api/isOfType.md)
