Skip to main content

Build in a weekend,
scale to millions

Supabase is an open source Firebase alternative. Start your project with a Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, and Storage.

Trusted by fast-growing companies worldwide

Mozilla GitHub 1Password Resend Langchain

Everything you need to build scalable products

Use one or all. Best of breed products. Integrated as a platform.

Postgres Database

Every project is a full Postgres database, the world's most trusted relational database.

  • 100% portable
  • Built-in Auth with RLS
  • Easy to extend

Authentication

Add user sign ups and logins, securing your data with Row Level Security.

  • Multiple auth providers
  • Row Level Security
  • Secure by default

Storage

Store, organize, and serve large files. Handle videos, images, and documents.

  • Large file support
  • CDN integration
  • Security rules

Postgres Database

Every project is a full Postgres database, the world's most trusted relational database. No restrictions or limitations.

Database Backups

Automated backups with point-in-time recovery

Database Functions

Write custom SQL functions and triggers

Native PG Extensions

Use popular Postgres extensions out of the box


// Create tables and insert data
CREATE TABLE products (
  id serial PRIMARY KEY,
  name text,
  price decimal
);

// Query your data
SELECT * FROM products
WHERE price > 100
ORDER BY name;

// Real-time subscriptions
supabase
  .from('products')
  .select('*')
  .subscribe()

            

Built-in Authentication

Add user sign ups and logins, securing your data with Row Level Security. Multiple auth providers supported out of the box.

Row Level Security

Postgres policies protect your data at the database level

Multiple Auth Providers

Social logins, phone auth, and magic links

Enterprise SSO

SAML 2.0 and custom SSO compatibility


// Sign up a new user
const { user, error } = await supabase.auth
  .signUp({
    email: 'example@email.com',
    password: 'example-password'
  })

// Sign in with social provider
const { user, error } = await supabase.auth
  .signIn({
    provider: 'github'
  })

// Access control with RLS
CREATE POLICY "Users can only access their own data"
ON todos FOR ALL
USING (auth.uid() = user_id);

            

Simple, predictable pricing

Start for free, pay as you grow. No hidden fees.

Free

Perfect for side projects

$0 /month
  • Up to 500MB database
  • 1GB file storage
  • 50MB file uploads
Get Started
Popular

Pro

For production applications

$25 /month
  • Up to 8GB database
  • 100GB file storage
  • 5GB file uploads
  • Daily backups
Get Started

Enterprise

For large-scale applications

Custom
  • Unlimited database
  • Unlimited storage
  • 24/7 support
Contact Sales

Built for Developers

Powerful tools and APIs for modern application development


// Initialize the Supabase client
const supabase = createClient(
  'YOUR_SUPABASE_URL',
  'YOUR_SUPABASE_ANON_KEY'
)

// Fetch data from your database
const { data, error } = await supabase
  .from('posts')
  .select('*')
  .order('created_at', { ascending: false })

// Real-time subscriptions
const subscription = supabase
  .from('comments')
  .on('INSERT', payload => {
    console.log('New comment:', payload)
  })
  .subscribe()

            

First-class TypeScript Support

Auto-generated types for your database schema and real-time subscriptions.

Instant APIs

Auto-generated REST and GraphQL APIs based on your database schema.

Built-in Security

Row Level Security and JWT authentication out of the box.

Loved by Developers Worldwide

Join the community and see what developers are saying about Supabase

@thatguy_tex

Working with @supabase has been one of the best dev experiences I've had lately. Incredibly easy to set up, great documentation, and so many fewer hoops to jump through than the competition.

@KenTheRogers

Holy crap. @supabase is absolutely incredible. Most elegant backend as a service I've ever used. This is a dream.

@michaelcdever

I'm not sure what magic @supabase is using but we've migrated @happyteamsdotio database to @supabase from @heroku and it's much much faster at half the cost.

@swyx

There are a lot of indie hackers building in public, but it's rare to see a startup shipping as consistently and transparently as Supabase.

@damlakoksal

Contributing to open-source projects and seeing merged PRs gives enormous happiness! Special thanks to @supabase, for giving this opportunity by staying open-source and being junior-friendly✌🏼

@PaoloRicciuti

Using @supabase I'm really pleased on the power of postgres (and sql in general). Despite being a bit dubious about the whole backend as a service thing I have to say I really don't miss anything.

Start Building with Supabase Today

Join thousands of developers building scalable applications with Supabase. Start for free, scale as you grow.

GitHub Mozilla 1Password Langchain