File and image storage

Where to keep user uploads, images, videos and large downloads without paying painful bandwidth bills when traffic grows.

3 tools Prices change. Each tool shows the month its facts were checked.

Never store user uploads inside your web server or your Git repository. Use object storage, keep buckets private by default, and hand out short-lived links when someone needs a file. Bandwidth (egress) is usually the cost that surprises people, so compare that first.

At a glance

File and image storage compared
ToolPricingBest for
Cloudflare R2 Start hereFree tier Free each month for 10 GB of storage, 1 million write operations and 10 million reads. Egress to the internet is free.Images, videos, downloads and backups that many people will fetch.
Supabase StorageFree tier 1 GB of storage on the free plan, shared with the project's 5 GB egress allowance.Apps already on Supabase that store user avatars and documents.
Backblaze B2Pay as you go Pay per GB stored each month, with a free starting allowance.Cheap backups of your database and files.

Cloudflare R2

Start hereFree tier

S3-compatible object storage with no charge for data downloaded from it.

Best for
Images, videos, downloads and backups that many people will fetch.
Pricing
Free each month for 10 GB of storage, 1 million write operations and 10 million reads. Egress to the internet is free. Pricing page for Cloudflare R2
Facts checked

Strengths

  • Free egress removes the classic surprise bill.
  • Works with any tool that speaks the S3 API.

Trade-offs

  • Needs a card on file to enable, even for free use.
  • Image resizing is a separate product.

Supabase Storage

Free tier

File storage tied to your Supabase users and permissions, with image transformations on paid plans.

Best for
Apps already on Supabase that store user avatars and documents.
Pricing
1 GB of storage on the free plan, shared with the project's 5 GB egress allowance. Pricing page for Supabase Storage
Facts checked

Strengths

  • Access rules use the same policies as your database.

Trade-offs

  • Small free allowance for media-heavy apps.

Backblaze B2

Pay as you go

Low-cost S3-compatible storage, often used for backups and archives.

Best for
Cheap backups of your database and files.
Pricing
Pay per GB stored each month, with a free starting allowance. Pricing page for Backblaze B2
Facts checked

Strengths

  • Simple, low prices.
  • Good for off-site copies of backups.

Trade-offs

  • Fewer extra features than the big clouds.