Example
Input
{"id": 1, "name": "Asha", "email": "asha@example.in", "tags": ["dev"], "address": {"city": "Pune", "pin": "411001"}, "manager": null}Result
export interface Address {
city: string;
pin: string;
}
export interface User {
id: number;
name: string;
email: string;
tags: string[];
address: Address;
manager?: null;
}How to use the JSON to TypeScript tool
- Paste or type your text in the box (or open a file).
- Pick the options you need. The result updates as you type.
- Copy or download the result.
Why SaralKit?
- Free forever: no "credits", no trial, no premium tier, no watermark and no daily limit.
- No account, ever: nothing to sign up for. Just open the page and use it.
- No data stored: your files and the numbers you type are processed by your own browser. We never upload, store or see them.
- Works offline: once the page has loaded, most tools keep working without internet.
- Check it yourself: open your browser's Network tab while you use a tool. Your file is never sent.
Frequently asked questions
Is my text sent anywhere?
No. It is processed by your browser on your own device and never uploaded or stored.