TypeORM Entity Generator
Generate a TypeORM entity class with decorators from any JSON sample.
Generated Entity
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn } from "typeorm";
@Entity()
export class Entity {
@PrimaryGeneratedColumn()
id: number;
@Column({ unique: true })
email: string;
@Column({ nullable: true })
firstName: string;
@Column({ nullable: true })
lastName: string;
@CreateDateColumn()
createdAt: Date;
@Column({ default: false })
isActive: boolean;
@Column({ type: "float", nullable: true })
score: number;
}
About TypeORM Entity Generator
Paste any JSON object and instantly generate a TypeORM entity class with the correct decorators, column types, and TypeScript property types. Supports @PrimaryGeneratedColumn, @Column, @CreateDateColumn, and @UpdateDateColumn out of the box. Customize the entity name, then copy or download the ready-to-use .ts file.
Private & free — this tool runs entirely in your browser.
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.