Skip to content
masterclass Buddy

Zod · Type Alias

ZodEffects

ZodTransform is Zod 4's schema for standalone input transformations. Use z.transform() to create one, or use .transform() to build a ZodPipe from an existing schema.

Last updated

Since
4.0.0

Syntax

z.transform(fn)
schema.transform(fn)

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

Subscribe
  • ZodPipe
  • .transform()
  • z.preprocess()
  • z.check()
  • z.toLowerCase()

Source: Migration guide | Zod 💎. Checked 2026-11-03.