Skip to content
masterclass Buddy

T3 Stack · Concept

Zod

T3 Env supports any validator that implements Standard Schema v1. This lets you validate server and client environment variables with libraries such as Zod, Valibot, or ArkType.

Last updated

Syntax

createEnv({ server, clientPrefix, client, runtimeEnv, extends? })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Standard Schema
  • Zod
  • Valibot
  • ArkType
  • createEnv
  • presets-zod
  • presets-valibot
  • presets-arktype

Source: Standard Schema. Checked 2026-11-03.