File and image storage
Where to keep user uploads, images, videos and large downloads without paying painful bandwidth bills when traffic grows.
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
| Tool | Pricing | Best for |
|---|---|---|
| Cloudflare R2 Start here | Free 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 Storage | Free 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 B2 | Pay 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.
Visit Cloudflare R2Mentioned in Cost control checklist, Monitoring and backups checklist
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.
Visit Backblaze B2Mentioned in Monitoring and backups checklist