io-ts
Functional-programming style TypeScript library that combines runtime type definitions with static type inference, so a codec both validates untrusted input at runtime and exposes its TypeScript type for compile-time checks.
io-ts at gcanti.github.io/io-ts is a free MIT functional-programming TypeScript validation library, npm io-ts 2.2.22 no declared Node engines, codec describes a type with composable constructors, decoding validates unknown input returning a value or per-path errors, static TypeScript type derived from the codec, functional composition and pipe-style decoding for FP data contracts, npm quiet since 2024-12 but repo unarchived, slow release cadence, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is io-ts free?
io-ts: io-ts is free open-source software released under the MIT License; the io-ts package latest 2.2.22 on npm does not declare a Node engines range. A codec describes a type using composable constructor functions, decoding validates unknown input against it and returns a value or a list of validation errors, and the static TypeScript type is derived from the codec. It is built around functional composition and pipe-style decoding, fitting projects that prefer FP patterns for data contracts. The npm release has not shipped a new version since 2024-12, and the GitHub repository remains unarchived; treat release cadence as slow when planning production tooling. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is io-ts free?
The code is free to self-host, but a hosted plan from the vendor may not be. io-ts publishes its source, so cost depends on where you run it.
How much does io-ts cost?
io-ts is free open-source software released under the MIT License; the io-ts package latest 2.2.22 on npm does not declare a Node engines range. A codec describes a type using composable constructor functions, decoding validates unknown input against it and returns a value or a list of validation errors, and the static TypeScript type is derived from the codec. It is built around functional composition and pipe-style decoding, fitting projects that prefer FP patterns for data contracts. The npm release has not shipped a new version since 2024-12, and the GitHub repository remains unarchived; treat release cadence as slow when planning production tooling. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check io-ts's current pricing?
On io-ts's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is io-ts?
A codec composes primitives and nested structures, decoding runs the codec over input, failures accumulate per-path errors, and the derived type keeps the decoded value statically typed.
How does pricing work?
The package installs free under MIT with no seat license; the TypeScript compiler and runtime follow their own terms, and commercial support would be outside the open-source project.
How does io-ts compare with other tools in Dev Workflow & Productivity?
io-ts is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| io-ts | Open source | io-ts is free open-source software released under the MIT License; the io-ts package latest 2.2.22 on npm does not declare a Node engines range. A codec describes a type using composable constructor functions, decoding validates unknown input against it and returns a value or a list of validation errors, and the static TypeScript type is derived from the codec. It is built around functional composition and pipe-style decoding, fitting projects that prefer FP patterns for data contracts. The npm release has not shipped a new version since 2024-12, and the GitHub repository remains unarchived; treat release cadence as slow when planning production tooling. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Zod | Open source | Zod is free open-source software released under the MIT License; the zod package latest 4.6.7 on npm does not declare a Node engines range. A schema is declared once in code, and Zod derives the matching TypeScript type from that definition so the same source describes both the runtime shape and the static type. Parsing returns either a typed value or structured validation issues covering required fields, type mismatches, string and number constraints and nested objects and arrays. It is widely used for API request bodies, form input, config files and external data where both runtime safety and TypeScript inference matter. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| TypeBox | Open source | TypeBox is free open-source software released under the MIT License; the @sinclair/typebox package latest 0.34.52 on npm does not declare a Node engines range. Code-level type builders generate standard JSON Schema documents, and static TypeScript types are resolved from those definitions so the schema and the inferred type stay aligned. The generated JSON Schema can be handed to validators such as AJV for runtime checking, which separates schema authoring from the validation engine. It targets systems that want a portable JSON Schema contract alongside static typing. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
io-ts's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: io-ts is free open-source software released under the MIT License; the io-ts package latest 2.2.22 on npm does not declare a Node engines range. A codec describes a type using composable constructor functions, decoding validates unknown input against it and returns a value or a list of validation errors, and the static TypeScript type is derived from the codec. It is built around functional composition and pipe-style decoding, fitting projects that prefer FP patterns for data contracts. The npm release has not shipped a new version since 2024-12, and the GitHub repository remains unarchived; treat release cadence as slow when planning production tooling. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Zod
TypeScript-first schema declaration and validation library that defines a schema once, infers the static TypeScript type from it, and parses or validates input at runtime with typed errors.
TypeBox
JSON Schema type builder for TypeScript that constructs standard JSON Schema definitions with static type resolution, producing schemas that other validators such as AJV can consume while keeping types aligned in code.
Tool Information
- Official Websitegcanti.github.io
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
