Supabase Codegen

Generate type-safe Dart models from your Supabase database in seconds.

Welcome to the official Supabase Codegen documentation! This tool helps you generate type-safe Dart models from your Supabase database in seconds.

Features

  • Type Safety: Automatically matches your Postgres types with Dart's type system.
  • Support for Multi-Environments: Dedicated packages for core Dart, Flutter, and Serverpod.
  • Easy Initialization: Interactive CLI tools for seamless project setup.

Use Cases

Build stunning Flutter applications with full type safety for your database models and RPC calls.