What I Built
A dead-simple JSON to TypeScript Interface Converter that you can use right now:
Live: bshes.github.io/json2ts
Paste any JSON on the left, get clean TypeScript interfaces on the right. Handles nested objects, arrays, custom root names, and lets you toggle between interface and type.
Features
- Instant conversion - Paste JSON, get TypeScript
- Nested objects - Generates separate interfaces for each level
- Array support - Detects array item types automatically
- Custom root name - Name your root type
- interface / type toggle - Choose your preference
- Copy to clipboard - One click
- Dark theme - Easy on the eyes
Pro Version - One-Time
Pro features include export as .ts file, custom naming conventions, batch conversion, optional field detection, and priority support.
Hire Me
I am a developer from Nepal available for freelance work. I build tools, APIs, and full-stack applications.
- Payoneer: bishes.gr@gmail.com
- Khalti: 9825755275
- GitHub: github.com/Bshes
Check it out: bshes.github.io/json2ts
Built by @bshes - Drop me a line if you need a custom tool
Top comments (0)