<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo" -->

---
title: Zod 4 is CRAZY | daily.dev
description: Zod 4, a popular schema validation library, introduces significant improvements including enhanced performance in TypeScript, faster string, array, and object...
canonical: https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Zod 4 is CRAZY | daily.dev
og:description: Zod 4, a popular schema validation library, introduces significant improvements including enhanced performance in TypeScript, faster string, array, and object...
og:url: https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo
og:image: https://api.daily.dev/og/posts/jDlq7wyYO.png
og:image:alt: Zod 4 is CRAZY
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Zod 4 is CRAZY

**[Matt Pocock](https://daily.dev/sources/mattpocock)** · 11 min read · 461 upvotes · 14 comments

## Summary

Zod 4, a popular schema validation library, introduces significant improvements including enhanced performance in TypeScript, faster string, array, and object parsing, and reduced bundle size. New features include Zod Mini for front-end optimization, JSON schema conversion, a schema registry, and an interface for defining object types. Additionally, it provides validation for file instances, a global translation API for error messages, and prettier error printing.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=xcm53k0ePmY>

## Community discussion

Top comments from developers on daily.dev.

**@devashish2024** · 3 upvotes

> Didn't we listen that there's a better rust-based zod alternative, just a few weeks ago?

**@petecapecod** · 2 upvotes

> Nice looks like some great wins from Zod, and Zod mini looks great too 🙌🏻

**@wahidrahim** · 0 upvotes

> I found valibot to be more compatible with react-hook-form last time I was trying out both valibot and zod. I found I preferred the DX of valibot over zod too. I wonder how this stacks up against valibot now.

**@mheob** · 0 upvotes

> Nice and important update. Thanks.

**@yayza** · 0 upvotes

> Vscode started lagging just in time... awesome

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#webdev](https://daily.dev/tags/webdev), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Zod 4 is CRAZY","url":"https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo"},"datePublished":"2025-04-11T17:54:30.401Z","dateModified":"2025-04-11T17:54:43.383Z","description":"Zod 4, a popular schema validation library, introduces significant improvements including enhanced performance in TypeScript, faster string, array, and object...","image":"https://i.ytimg.com/vi/xcm53k0ePmY/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/xcm53k0ePmY/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Matt Pocock","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Matt Pocock","logo":"https://media.daily.dev/image/upload/s--9QIam1r2--/f_auto/v1726499589/logos/mattpocock","url":"https://daily.dev/sources/mattpocock"},"commentCount":14,"discussionUrl":"https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":461},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":14}],"keywords":"ai,webdev,typescript","timeRequired":"PT11M","video":{"@type":"VideoObject","name":"Zod 4 is CRAZY","description":"Zod 4, a popular schema validation library, introduces significant improvements including enhanced performance in TypeScript, faster string, array, and object...","thumbnailUrl":"https://i.ytimg.com/vi/xcm53k0ePmY/sddefault.jpg","uploadDate":"2025-04-11T17:54:30.401Z","duration":"PT11M","url":"https://api.daily.dev/r/jDlq7wyYO","embedUrl":"https://www.youtube.com/embed/xcm53k0ePmY"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Matt Pocock","item":"https://daily.dev/sources/mattpocock"},{"@type":"ListItem","position":3,"name":"Zod 4 is CRAZY"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/zod-4-is-crazy-jdlq7wyyo","comment":[{"@type":"Comment","text":"Didn’t we listen that there’s a better rust-based zod alternative, just a few weeks ago?","datePublished":"2025-04-11T18:07:02.720Z","url":"https://daily.dev/posts/jDlq7wyYO#c-orn9i9Kvs","author":{"@type":"Person","name":"Ashish Agarwal","url":"https://daily.dev/devashish2024","image":"https://media.daily.dev/image/upload/s--3FV5ETL---/f_auto/v1735125939/avatars/avatar_XLZc7M8MmTf4WLSXLj3RR"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Nice looks like some great wins from Zod, and Zod mini looks great too 🙌🏻","datePublished":"2025-04-14T14:05:37.783Z","url":"https://daily.dev/posts/jDlq7wyYO#c-WDPuUARIZ","author":{"@type":"Person","name":"Peter Cruckshank","url":"https://daily.dev/petecapecod","image":"https://media.daily.dev/image/upload/s--ZJhQyKws--/f_auto/v1721235024/avatars/avatar_A9xh33q0QoxtkGoJRCosp"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I found valibot to be more compatible with react-hook-form last time I was trying out both valibot and zod. I found I preferred the DX of valibot over zod too. I wonder how this stacks up against valibot now.","datePublished":"2025-05-06T13:50:26.730Z","url":"https://daily.dev/posts/jDlq7wyYO#c-Qc3rsnilU","author":{"@type":"Person","name":"Wahid Rahim","url":"https://daily.dev/wahidrahim","image":"https://media.daily.dev/image/upload/s--DD5mkj1F--/f_auto/v1775926903/avatars/avatar_tPc4OZtx5xAPcmsrKaM32?_a=BAMAMiWQ0"}},{"@type":"Comment","text":"Nice and important update. Thanks.","datePublished":"2025-04-16T05:29:46.757Z","url":"https://daily.dev/posts/jDlq7wyYO#c-AAGifw1Ol","author":{"@type":"Person","name":"Alex Böhm","url":"https://daily.dev/mheob","image":"https://avatars3.githubusercontent.com/u/3983539?v=4"}},{"@type":"Comment","text":"Vscode started lagging just in time… awesome","datePublished":"2025-04-23T02:49:39.548Z","url":"https://daily.dev/posts/jDlq7wyYO#c-nk09Aoh5i","author":{"@type":"Person","name":"Yousef","url":"https://daily.dev/yayza","image":"https://lh3.googleusercontent.com/a/AEdFTp4BNjYRR1p2XGcj-MC-0_1pTzhyWhmftOQqCpVWsQ=s96-c"}}]}
```

