Valibot llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/valibot/llms-txt)

# Valibot llms.txt

Browse Valibot documentation as markdown. Click any page in the sidebar to view it, or copy the full llms.txt for your AI tools.

valibot.dev/llms.txt

[Raw llms.txt](https://valibot.dev/llms.txt) [Raw llms-full.txt](https://valibot.dev/llms-full.txt)

Copy Markdown [](https://valibot.dev/llms.txt)

llms.txt

Guides

Introduction

Installation

Quick start

Use cases

Comparison

Ecosystem

LLMs.txt

Mental model

Schemas

Pipelines

Parse data

Infer types

Methods

Issues

Objects

Arrays

Optionals

Enums

Unions

Intersects

Other

Naming

Async

i18n

JSON Schema

Internals

Integration

Extension

To v0.31.0

From Zod

From TypeBox

From Joi

From Yup

From class-validator

From Superstruct

From io-ts

API reference

any

array

bigint

blob

boolean

custom

date

enum

exactOptional

file

function

instance

intersect

lazy

literal

looseObject

looseTuple

map

nan

never

nonNullable

nonNullish

nonOptional

null

nullable

nullish

number

object

objectWithRest

optional

picklist

promise

record

set

strictObject

strictTuple

string

symbol

tuple

tupleWithRest

undefined

undefinedable

union

unknown

variant

void

assert

cache

config

fallback

flatten

forward

getDefault

getDefaults

getDescription

getExamples

getFallback

getFallbacks

getMetadata

getTitle

is

keyof

message

omit

parse

parser

partial

pick

pipe

required

safeParse

safeParser

summarize

unwrap

args

base64

bic

brand

bytes

check

checkItems

creditCard

cuid2

decimal

description

digits

domain

email

emoji

empty

endsWith

entries

everyItem

examples

excludes

filterItems

findItem

finite

flavor

graphemes

gtValue

guard

hash

hexadecimal

hexColor

imei

includes

integer

ip

ipv4

ipv6

isbn

isrc

isoDate

isoDateTime

isoDateTimeSecond

isoTime

isoTimeSecond

isoTimestamp

isoWeek

jwsCompact

length

ltValue

mac

mac48

mac64

mapItems

maxBytes

maxEntries

maxGraphemes

maxLength

maxSize

maxValue

maxWords

metadata

mimeType

minBytes

minEntries

minGraphemes

minLength

minSize

minValue

minWords

multipleOf

nanoid

nonEmpty

normalize

notBytes

notEntries

notGraphemes

notLength

notSize

notValue

notValues

notWords

octal

parseBoolean

parseJson

partialCheck

rawCheck

rawTransform

readonly

reduceItems

regex

returns

rfcEmail

safeInteger

size

slug

someItem

sortItems

startsWith

stringifyJson

title

toBigint

toBoolean

toCamelCase

toDate

toKebabCase

toLowerCase

toMaxValue

toMinValue

toNumber

toPascalCase

toSnakeCase

toString

toUpperCase

transform

trim

trimEnd

trimStart

ulid

url

uuid

value

values

words

deleteGlobalConfig

deleteGlobalMessage

deleteSchemaMessage

deleteSpecificMessage

getGlobalConfig

getGlobalMessage

getSchemaMessage

getSpecificMessage

setGlobalConfig

setGlobalMessage

setSchemaMessage

setSpecificMessage

entriesFromList

entriesFromObjects

getDotPath

isOfKind

isOfType

isValiError

ValiError

argsAsync

arrayAsync

awaitAsync

cacheAsync

checkAsync

checkItemsAsync

customAsync

exactOptionalAsync

fallbackAsync

forwardAsync

getDefaultsAsync

getFallbacksAsync

intersectAsync

lazyAsync

looseObjectAsync

looseTupleAsync

mapAsync

nonNullableAsync

nonNullishAsync

nonOptionalAsync

nullableAsync

nullishAsync

objectAsync

objectWithRestAsync

optionalAsync

parseAsync

parserAsync

partialAsync

partialCheckAsync

pipeAsync

rawCheckAsync

rawTransformAsync

recordAsync

requiredAsync

returnsAsync

safeParseAsync

safeParserAsync

setAsync

strictObjectAsync

strictTupleAsync

transformAsync

tupleAsync

tupleWithRestAsync

undefinedableAsync

unionAsync

variantAsync

AnySchema

ArgsAction

ArgsActionAsync

ArrayInput

ArrayIssue

ArrayPathItem

ArrayRequirement

ArrayRequirementAsync

ArraySchema

ArraySchemaAsync

AwaitActionAsync

Base64Action

Base64Issue

BaseIssue

BaseMetadata

BaseSchema

BaseSchemaAsync

BaseTransformation

BaseTransformationAsync

BaseValidation

BaseValidationAsync

BicAction

BicIssue

BigintIssue

BigintSchema

BlobIssue

BlobSchema

BooleanIssue

BooleanSchema

Brand

BrandAction

BrandName

BytesAction

BytesIssue

Cache

CacheConfig

CheckAction

CheckActionAsync

CheckIssue

CheckItemsAction

CheckItemsActionAsync

CheckItemsIssue

Class

Config

ContentInput

ContentRequirement

CreditCardAction

CreditCardIssue

Cuid2Action

Cuid2Issue

CustomIssue

CustomSchema

CustomSchemaAsync

DateIssue

DateSchema

DecimalAction

DecimalIssue

DeepPickN

Default

DefaultAsync

DefaultValue

DescriptionAction

DigitsAction

DigitsIssue

DomainAction

DomainIssue

EmailAction

EmailIssue

EmojiAction

EmojiIssue

EmptyAction

EmptyIssue

EndsWithAction

EndsWithIssue

EntriesAction

EntriesInput

EntriesIssue

Enum

EnumIssue

EnumSchema

ErrorMessage

EveryItemAction

EveryItemIssue

ExactOptionalSchema

ExactOptionalSchemaAsync

ExamplesAction

ExcludesAction

ExcludesIssue

FailureDataset

Fallback

FallbackAsync

FileIssue

FileSchema

FilterItemsAction

FindItemAction

FiniteAction

FiniteIssue

FirstTupleItem

FlatErrors

Flavor

FlavorAction

FlavorName

FunctionIssue

FunctionSchema

GenericIssue

GenericMetadata

GenericPipeAction

GenericPipeActionAsync

GenericPipeItem

GenericPipeItemAsync

GenericSchema

GenericSchemaAsync

GenericTransformation

GenericTransformationAsync

GenericValidation

GenericValidationAsync

GlobalConfig

GraphemesAction

GraphemesIssue

GtValueAction

GtValueIssue

GuardAction

GuardFunction

GuardIssue

HashAction

HashIssue

HashType

HexadecimalAction

HexadecimalIssue

HexColorAction

HexColorIssue

ImeiAction

ImeiIssue

IncludesAction

IncludesIssue

InferDefault

InferDefaults

InferExamples

InferFallback

InferFallbacks

InferGuardOutput

InferInput

InferIntersectInput

InferIntersectOutput

InferIssue

InferMapInput

InferMapOutput

InferMetadata

InferNonNullableInput

InferNonNullableIssue

InferNonNullableOutput

InferNonNullishInput

InferNonNullishIssue

InferNonNullishOutput

InferNonOptionalInput

InferNonOptionalIssue

InferNonOptionalOutput

InferNullableOutput

InferNullishOutput

InferObjectInput

InferObjectIssue

InferObjectOutput

InferOptionalOutput

InferOutput

InferRecordInput

InferRecordOutput

InferSetInput

InferSetOutput

InferTupleInput

InferTupleIssue

InferTupleOutput

InferVariantIssue

InstanceIssue

InstanceSchema

IntegerAction

IntegerIssue

IntersectIssue

IntersectOptions

IntersectOptionsAsync

IntersectSchema

IntersectSchemaAsync

IpAction

IpIssue

Ipv4Action

Ipv4Issue

Ipv6Action

Ipv6Issue

IsbnAction

IsbnIssue

IsrcAction

IsrcIssue

IsoDateAction

IsoDateIssue

IsoDateTimeAction

IsoDateTimeIssue

IsoDateTimeSecondAction

IsoDateTimeSecondIssue

IsoTimeAction

IsoTimeIssue

IsoTimeSecondAction

IsoTimeSecondIssue

IsoTimestampAction

IsoTimestampIssue

IsoWeekAction

IsoWeekIssue

IssueDotPath

IssuePathItem

JwsCompactAction

JwsCompactIssue

LazySchema

LazySchemaAsync

LengthAction

LengthInput

LengthIssue

Literal

LiteralIssue

LooseObjectIssue

LooseObjectSchema

LooseObjectSchemaAsync

LooseTupleIssue

LooseTupleSchema

LooseTupleSchemaAsync

LiteralSchema

LtValueAction

LtValueIssue

Mac48Action

Mac48Issue

Mac64Action

Mac64Issue

MacAction

MacIssue

MapIssue

MapItemsAction

MapPathItem

MapSchema

MapSchemaAsync

MaxBytesAction

MaxBytesIssue

MaxEntriesAction

MaxEntriesIssue

MaxGraphemesAction

MaxGraphemesIssue

MaxLengthAction

MaxLengthIssue

MaxSizeAction

MaxSizeIssue

MaxValueAction

MaxValueIssue

MaxWordsAction

MaxWordsIssue

MaybePromise

MaybeReadonly

MetadataAction

MimeTypeAction

MimeTypeIssue

MinBytesAction

MinBytesIssue

MinEntriesAction

MinEntriesIssue

MinGraphemesAction

MinGraphemesIssue

MinLengthAction

MinLengthIssue

MinSizeAction

MinSizeIssue

MinValueAction

MinValueIssue

MinWordsAction

MinWordsIssue

MultipleOfAction

MultipleOfIssue

NanIssue

NanSchema

NeverIssue

NeverSchema

NonEmptyAction

NonEmptyIssue

NonNullable

NonNullableIssue

NonNullableSchema

NonNullableSchemaAsync

NonNullish

NonNullishIssue

NonNullishSchema

NonNullishSchemaAsync

NonOptional

NonOptionalIssue

NonOptionalSchema

NonOptionalSchemaAsync

NormalizeAction

NormalizeForm

NotBytesAction

NotBytesIssue

NotEntriesAction

NotEntriesIssue

NotGraphemesAction

NotGraphemesIssue

NotLengthAction

NotLengthIssue

NotSizeAction

NotSizeIssue

NotValueAction

NotValuesAction

NotValueIssue

NotValuesIssue

NotWordsAction

NotWordsIssue

NullableSchema

NullableSchemaAsync

NullishSchema

NullishSchemaAsync

NullIssue

NullSchema

NumberIssue

NumberSchema

ObjectEntries

ObjectEntriesAsync

ObjectIssue

ObjectKeys

ObjectPathItem

ObjectSchema

ObjectSchemaAsync

ObjectWithRestIssue

ObjectWithRestSchema

ObjectWithRestSchemaAsync

OctalAction

OctalIssue

OptionalSchema

OptionalSchemaAsync

OutputDataset

ParseBooleanAction

ParseBooleanConfig

ParseBooleanIssue

ParseJsonAction

ParseJsonConfig

ParseJsonIssue

Parser

ParserAsync

PartialCheckAction

PartialCheckActionAsync

PartialCheckIssue

PartialDataset

PartialInput

Path

PicklistOptions

PicklistIssue

PicklistSchema

PipeAction

PipeActionAsync

PipeItem

PipeItemAsync

PromiseIssue

PromiseSchema

RawCheckAction

RawCheckActionAsync

RawCheckAddIssue

RawCheckContext

RawCheckIssue

RawCheckIssueInfo

RawTransformAction

RawTransformActionAsync

RawTransformAddIssue

RawTransformContext

RawTransformIssue

RawTransformIssueInfo

ReadonlyAction

RecordIssue

RecordSchema

RecordSchemaAsync

ReduceItemsAction

RegexAction

RegexIssue

RequiredPath

RequiredPaths

ReturnsAction

ReturnsActionAsync

RfcEmailAction

RfcEmailIssue

SafeIntegerAction

SafeIntegerIssue

SafeParser

SafeParserAsync

SafeParseResult

SchemaWithCache

SchemaWithCacheAsync

SchemaWithFallback

SchemaWithFallbackAsync

SchemaWithoutPipe

SchemaWithPartial

SchemaWithPartialAsync

SchemaWithPipe

SchemaWithPipeAsync

SchemaWithRequired

SchemaWithRequiredAsync

SetPathItem

SetIssue

SetSchema

SetSchemaAsync

SizeAction

SizeInput

SizeIssue

SlugAction

SlugIssue

SomeItemAction

SomeItemIssue

SortItemsAction

StandardFailureResult

StandardIssue

StandardPathItem

StandardProps

StandardResult

StandardSuccessResult

StandardTypes

StartsWithAction

StartsWithIssue

StrictObjectIssue

StrictObjectSchema

StrictObjectSchemaAsync

StrictTupleIssue

StrictTupleSchema

StrictTupleSchemaAsync

StringIssue

StringSchema

StringifyJsonAction

StringifyJsonConfig

StringifyJsonIssue

SuccessDataset

SymbolIssue

SymbolSchema

TitleAction

ToBigintAction

ToBigintIssue

ToBooleanAction

ToCamelCaseAction

ToDateAction

ToDateIssue

ToKebabCaseAction

ToLowerCaseAction

ToMaxValueAction

ToMinValueAction

ToNumberAction

ToNumberIssue

ToPascalCaseAction

ToSnakeCaseAction

ToStringAction

ToStringIssue

ToUpperCaseAction

TransformAction

TransformActionAsync

TrimAction

TrimEndAction

TrimStartAction

TupleIssue

TupleItems

TupleItemsAsync

TupleSchema

TupleSchemaAsync

TupleWithRestIssue

TupleWithRestSchema

TupleWithRestSchemaAsync

UlidAction

UlidIssue

UndefinedableSchema

UndefinedableSchemaAsync

UndefinedIssue

UndefinedSchema

UnionOptions

UnionOptionsAsync

UnionIssue

UnionSchema

UnionSchemaAsync

UnknownDataset

UnknownPathItem

UnknownSchema

UrlAction

UrlIssue

UuidAction

UuidIssue

ValueAction

ValuesAction

ValueInput

ValueIssue

ValuesIssue

VariantIssue

VariantOptions

VariantOptionsAsync

VariantSchema

VariantSchemaAsync

VoidIssue

VoidSchema

WordsAction

WordsIssue

## What is Valibot's llms.txt?

Valibot publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Valibot offers and where to find details.

Issues

Spec

2

Sections

790

Links

45.5 KB

Size

~11.6k

Tokens

Sections: Guides · API reference

## Add Valibot Docs to Your AI Assistant

Select your tool to see how to add Valibot's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://valibot.dev/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about Valibot

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 12 errors

## Frequently Asked Questions

Where is Valibot's llms.txt file?

Valibot publishes its llms.txt at https://valibot.dev/llms.txt. This file provides a structured, markdown-formatted index of Valibot's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use Valibot's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Valibot's documentation so it can provide better code suggestions and answers about Valibot.

What does Valibot's llms.txt contain?

Valibot's llms.txt contains 2 sections and 790 documentation links in 45.5 KB (~11.6k tokens). Key sections include Guides, API reference.

How many tokens does Valibot's llms.txt use?

The concise llms.txt index is approximately 11.6k tokens (45.5 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

What is Valibot?

The modular and type safe schema library. Valibot's llms.txt file helps AI systems understand this by providing a structured overview of its documentation, making it easier for developers to get accurate AI-assisted help when working with Valibot.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Zustand Bear necessities for state management in React](https://mdream.dev/llms-txt/valibot/llms-txt/zustand) [Zod TypeScript-first schema validation](https://mdream.dev/llms-txt/valibot/llms-txt/zod) [SWR React Hooks for Data Fetching](https://mdream.dev/llms-txt/valibot/llms-txt/swr) [tRPC End-to-end typesafe APIs made easy](https://mdream.dev/llms-txt/valibot/llms-txt/trpc) [Apollo GraphQL The GraphQL developer platform](https://mdream.dev/llms-txt/valibot/llms-txt/apollo-graphql) [Prettier Opinionated code formatter](https://mdream.dev/llms-txt/valibot/llms-txt/prettier) [Kysely The type-safe SQL query builder for TypeScript](https://mdream.dev/llms-txt/valibot/llms-txt/kysely) [Deno The next-generation JavaScript runtime](https://mdream.dev/llms-txt/valibot/llms-txt/deno)

[View all 99 projects ](https://mdream.dev/llms-txt/valibot/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/valibot/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/valibot/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)