Launched this week

MockType.dev
Instant JSON to Type, Schema & Model for 20+ languages.
8 followers
Instant JSON to Type, Schema & Model for 20+ languages.
8 followers
MockType.dev is a blazing-fast tool that transforms JSON into production-ready type definitions, schemas, and models. No sign-up. No config. Paste JSON, get code. Key Features: 20+ Formats: TS, Zod, Go, Python, Rust, Prisma, and more. IDE-Grade: Monaco Editor with Multi-Tabs and Snapshot Diffing. Smart Inference: Auto-detect Dates, Enums, and optional fields. Dev-First: CLI integration, OpenAPI importer, VIM mode, and custom themes. Stop writing boilerplate code today!






Hey everyone! 👋
I’m the maker of MockType.dev. I built this tool because I was tired of manually writing boilerplate types and schemas every time I started a new project or integrated a new API.
The goal was simple: zero friction. No sign-up, no complex configuration—just a fast, reliable way to turn JSON into production-ready code.
Why use MockType?
Speed: It’s built for performance, handling even massive JSON payloads instantly.
Accuracy: Our smart inference engine detects dates, enums, and optional fields so you don't have to.
Developer Experience: With Monaco Editor, VIM mode, and multi-tab support, it feels like your local IDE.
Scale: Whether you need a TypeScript interface, a Zod schema, or a Prisma model, we support 20+ formats.
I’d love for you to take it for a spin at MockType.dev and let me know what you think! I’ll be here all day to answer your questions and hear your feedback.
What other languages or features should we add next? 🚀
What a useful tool! I’ve been looking for something like this. In many projects, we constantly need to convert JSON (like from Swagger/OpenAPI) into TypeScript types, so this is really helpful.
I did notice a small issue with the tabs: when there are more tabs than fit on the screen, there’s no scroll or easy way to navigate between them. Not a big problem, but it would be a nice improvement.
Congratulations on the launch! 🚀