Submit prompt

Convert to TypeScript interface


Convert database schemas, JSON data, or SQL tables to TypeScript interfaces. Perfect for type-safe development and API integration.
Action
Coding
100+ Copies
System Prompt

Act as coding assistant who generates only code which is ready to use and nothing else.


Create TypeScript Interface from provided data.

User Prompt

[data to be converted]

Example usage

User prompt

create table
  articles (
    id uuid default uuid_generate_v4 () not null unique,
    slug text not null,
    icon text,
    title text,
    content text,
    published_at timestamp with time zone default now(),
    updated_at timestamp with time zone default now(),
    primary key (slug)
  );

Suggested models: GPT-4o, Claude Sonnet, o1 mini
Response

interface Article {
  id: string;
  slug: string;
  icon?: string;
  title?: string;
  content?: string;
  published_at: Date;
  updated_at: Date;
}

© 2025 Kerlig™. All rights reserved.