File storage

Supabase Storage makes it simple to store and serve files.

Stage:
General Availability
Available on self-hosted:
Yes

Supabase Storage provides a scalable solution for storing and serving files in your applications, allowing easy management of user-generated content and assets within your Supabase project. Storage supports files up to 500GB on paid plans, offers S3 protocol compatibility for any S3-compatible client, and includes three specialized bucket types: File buckets for traditional storage, Analytics buckets for data warehousing, and Vector buckets for AI embeddings with similarity search.

Key features

  1. 500GB file support: Upload files up to 500GB using the new storage-specific hostname on paid plans.
  2. Three bucket types: File buckets for traditional storage, Analytics buckets (Iceberg format) for data lakes, and Vector buckets for AI embeddings with similarity search.
  3. S3 compatibility: Use any S3-compatible client to interact with Storage—upload with TUS, manage with S3, serve with REST API.
  4. Global CDN: Serve files quickly from over 285 cities worldwide.
  5. Smart CDN: Automatic cache revalidation with changes propagating globally within 60 seconds.
  6. Image optimization: Resize and compress media files on the fly with automatic WebP conversion.
  7. Flexible file types: Store images, videos, documents, and any other file type.
  8. Access control: Implement fine-grained access using Postgres RLS policies.
  9. Resumable uploads: Support for protocols like TUS for reliable file transfers.
  10. Organization: Structure files into buckets and folders for efficient management.

Benefits:

  • Seamless integration: Use the same Supabase client for both database and storage operations.
  • Scalability: Handle large numbers of files and high traffic loads without infrastructure management.
  • Performance: Quick file serving with global CDN support and Smart CDN optimization.
  • Cost-effectiveness: Pay only for the storage you use, with no upfront costs.
  • Massive file support: Handle files up to 500GB with reliable multipart upload protocols.

File storage is valuable for:

  • Social media platforms storing user-uploaded media
  • E-commerce sites managing product images and documents
  • Content management systems handling various file types
  • Collaborative tools storing shared assets
  • Mobile apps needing to sync user data and media
  • Data teams requiring SQL-accessible data lakes
  • AI applications storing and searching vector embeddings

Supabase Storage simplifies adding robust file management to your applications, allowing you to focus on building unique features while relying on Supabase for secure, scalable file storage and serving.

Read Documentation
Share

Build in a weekend, scale to millions