Database Build

In-browser Postgres sandbox with AI assistance (formerly postgres.new)

Last verified:

Visit Database Build

What is Database Build?

database.build is an in-browser Postgres sandbox with AI assistance, formerly known as postgres.new. It is a Supabase experiment that allows users to instantly spin up an unlimited number of PostgreSQL databases that run directly in their browser using PGlite, a WASM version of Postgres. Each database is paired with a large language model (LLM) that enables AI-assisted database building through natural language prompts.

Key features include drag-and-drop CSV import that generates tables on the fly, AI-powered schema generation from natural language prompts, the ability to generate and export reports, generate charts, and build database diagrams. The tool also supports bringing your own LLM (BYO-LLM) via any OpenAI-compatible provider, Live Share for connecting external PostgreSQL clients to in-browser databases, one-click deployment to Supabase, drag-and-drop SQL file loading, and downloading databases as SQL files via WASM pg_dump.

database.build is designed for developers, data enthusiasts, full-stack developers, indie hackers, and anyone learning SQL or prototyping database schemas. It eliminates the need for installation or setup, making it ideal for快速 database prototyping, SQL learning, testing database designs before production deployment, and experimenting with AI-assisted database development.

All queries run directly in the browser with no remote Postgres container or WebSocket proxy. Data persists in IndexedDB after refresh. The tool is open source under Apache 2.0 license and has 2.8k stars on GitHub.

Database Build pricing

Pricing model: Freemium

database.build is free to use with no paid tiers. The tool is freely accessible to everyone as a Supabase experiment. When using the default LLM, users must sign in with GitHub and are subject to modest rate limits to ensure fair access. When bringing your own LLM (BYO-LLM), there is no login required and no rate limits—your usage is only limited by your chosen LLM provider's pricing. You pay only for the LLM API calls to your provider (such as OpenAI's gpt-4o or gpt-4o-mini). Deployments to Supabase can use Supabase's Free plan at no cost.

Database Build pros

  • Runs entirely in browser with no installation required
  • Unlimited number of Postgres databases you can create
  • AI-assisted schema generation from natural language prompts
  • Drag-and-drop CSV import that auto-generates tables
  • Bring your own LLM via any OpenAI-compatible provider
  • No login required when using your own LLM
  • No rate limits when bringing your own LLM
  • Live Share lets external PostgreSQL clients connect
  • One-click deployment to Supabase cloud
  • Generate charts directly from database queries
  • Build interactive database ER diagrams
  • Generate and export reports automatically
  • Drag-and-drop SQL file loading for existing schemas
  • Download databases as standard SQL files via pg_dump
  • Mobile support for building databases on the go
  • Data persists in IndexedDB after browser refresh
  • Open source under Apache 2.0 license
  • Privacy-first with API keys stored locally in browser

Database Build cons

  • Requires sign-in with GitHub when not using own LLM
  • Modest rate limits on AI usage with default LLM
  • Local models via Ollama have poor tool calling support
  • Requires LLM with tool calling capability to work
  • Model needs SQL understanding to be useful
  • PGlite memory usage high in multi-tenant environments
  • Single connection limit per PGlite instance
  • Serverless PGlite deployment still not available
  • Chart generation requires model with Chart.js knowledge
  • s3fs storage for serverless was unreliable

Categories

Use cases

Browse all AI tools on NeedAnAI