📝

Miễn phí JSON to TypeScript Converter

Generate TypeScript interfaces or type aliases from any JSON object or array. Paste your JSON and get ready-to-use TypeScript types instantly.

Runs in your browserNo sign-up, no pop-upsKhông cần đăng nhậpMiễn phí mãi mãi
export interface User {
  id: number;
  name: string;
  email: string;
  isActive: boolean;
  score: number;
  tags: string[];
  address?: null;
}

export interface Root {
  user: User;
  createdAt: string;
  version: number;
}

Optimize for your platform

Cách hoạt động

1
Nhập liệu
Nhập văn bản hoặc dữ liệu của bạn.
2
Xử lý
Được xử lý ngay lập tức trong trình duyệt của bạn. Không có máy chủ, không chờ đợi.
3
Tải xuống
Lưu kết quả của bạn. Không có gì được lưu trữ.

Tại sao chọn của chúng tôi?

Completely free — no hidden costs, ever
No account, email, or login required
Runs entirely in your browser — no uploads
Works on any device — phone, tablet, desktop
Open and ad-supported, with no tracking
Loads fast, with no installation needed

Công cụ liên quan

Công cụ này có hữu ích không?

Câu hỏi thường gặp