Read the Vercel Storage announcement

Serverless storage designed for the web

Accelerate your Vercel Workflow with databases optimized for the fastest frontends

Serverless SQL for the frontend cloud

Vercel Postgres is a serverless, fully-managed relational database built on open standards and designed to work with your favorite frontend frameworks.

A whimsical illustration of an elephant's head sits inside a square with rounded edges and a dashed border.A whimsical illustration of an elephant's head sits inside a square with rounded edges and a dashed border.

Built for modern web frameworks

Designed for the evolution of JavaScript and TypeScript frameworks, Vercel Postgres allows developers to store and retrieve any value with an intuitive, promise-based API.
app/page.tsx
import { sql } from '@vercel/postgres';
import { redirect } from 'next/navigation';
async function create(formData: FormData) {
'use server';
const { rows } = await sql`
INSERT INTO products (name)
VALUES (${formData.get('name')})
`;
redirect(`/product/${rows[0].slug}`);
}
export default function Page() {
return (
<form action={create}>
<input type="text" name="name" />
<button type="submit">Submit</button>
</form>
);
}

Get started with Postgres on Vercel

Deploy a template that uses Vercel Postgres and start reading and writing data in minutes.

Vercel Postgres Next.js Starter

Simple Next.js template that uses Vercel Postgres as the database.

Logo for Next.js

Built with Next.js

Vercel Postgres + Prisma Starter

Next.js template with Vercel Postgres as the database and Prisma as the ORM.

Logo for Next.js

Built with Next.js

Vercel Postgres Sveltekit Starter

Simple Sveltekit template that uses Vercel Postgres as the database.

Logo for Svelte

Built with Svelte

Vercel Postgres Nuxt Starter

Simple Nuxt template that uses Vercel Postgres as the database.

Logo for Nuxt

Built with Nuxt

Vercel Postgres + Kysely Starter

Next.js template with Vercel Postgres as the database and Kysely as the ORM.

Logo for Next.js

Built with Next.js