---
title: Migrate to Vercel Blob
description: Move files to Vercel Blob from Cloudflare R2, Netlify Blobs, Supabase Storage, or Upstash Blob with a migration guide for each provider.
url: "https://vercel.com/docs/vercel-blob/migrate"
last_updated: 2018-10-20
related:
  - /docs/vercel-blob/using-blob-sdk
  - /docs/vercel-blob/python-sdk-reference
  - /docs/vercel-blob
  - /docs/vercel-blob/private-storage
  - /docs/vercel-blob/vercel-signed-urls
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest docs search "<query>"
search_kb_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Migrate to Vercel Blob

To move files to Vercel Blob, create a Blob store, replace your current provider's storage calls with the [JS](/docs/vercel-blob/using-blob-sdk) or [Python](/docs/vercel-blob/python-sdk-reference) SDK, then copy your existing files and update the URLs your application stores.

Your application doesn't have to move to Vercel. A backend on any host can read and write blobs with a [read-write token](/docs/vercel-blob#when-to-use-a-read-write-token).

## What changes when you migrate

These behaviors apply whichever provider you migrate from:

- **Access and region are fixed at creation**: Each store is [private or public](/docs/vercel-blob#private-and-public-storage) and lives in one [region](/docs/vercel-blob#choosing-your-blob-store-region). You can't change either later, so create a separate store for each access mode you need.
- **Uploads don't overwrite by default**: `put()` fails when the pathname already exists. If your current provider replaces files on every write, pass [`allowOverwrite: true`](/docs/vercel-blob#overwriting-blobs), or add a random suffix so each upload gets its own pathname.
- **Blobs are cached for one month by default**: An overwrite or delete can take up to 60 seconds to leave Vercel's [CDN cache](/docs/vercel-blob#caching), and browsers keep their copy until it expires. Set `cacheControlMaxAge` for files that change, or upload each version to a new pathname.
- **Your code authorizes private files**: Every read from a private store needs authentication. Check the user's permissions in a [Function that streams the blob](/docs/vercel-blob/private-storage#delivering-private-blobs), or before you issue a [signed URL](/docs/vercel-blob/vercel-signed-urls).
- **Server uploads on Vercel have a size limit**: Vercel Functions accept request bodies of up to [4.5 MB](/docs/functions/limitations#request-body-size) by default. For larger files, use a [client upload](/docs/vercel-blob/client-upload), which sends the file from the browser directly to Vercel Blob.
- **Custom metadata lives in your database**: `put()` has no option for custom metadata. Store those fields in your database, keyed by pathname.

## Migration guides by provider

Each guide maps the provider's features to Vercel Blob, lists the features that need a different design, and walks through copying your existing files and a staged cutover. Each guide also includes a prompt that has your coding agent prepare the migration.

### Cloudflare R2

Cloudflare R2 exposes an S3-compatible API and Workers bindings, and it replaces an existing object on every write. [Migrate from Cloudflare R2 to Vercel Blob](/kb/guide/migrate-from-cloudflare-r2-to-vercel-blob) replaces S3 commands and binding calls with SDK calls, maps presigned URLs to signed URLs and client uploads, and covers alternatives for custom domains on public buckets, lifecycle rules, and event notifications.

### Netlify Blobs

Netlify Blobs has no public URLs, so your functions read and return each file. [Migrate from Netlify Blobs to Vercel Blob](/kb/guide/migrate-from-netlify-blobs-to-vercel-blob) maps site-wide stores to pathname prefixes and `onlyIfMatch` writes to `ifMatch`, and covers alternatives for deploy-specific stores and file-based uploads.

### Supabase Storage

Supabase Storage applies Row Level Security (RLS) policies to user-authorized storage operations, and a bucket can switch between public and private. [Migrate from Supabase Storage to Vercel Blob](/kb/guide/migrate-from-supabase-storage-to-vercel-blob) maps buckets to Blob stores and RLS policies to checks in your application code, and covers alternatives for image transformations, resumable uploads, and S3 protocol clients.

### Upstash Blob

Upstash Blob replaces an existing path on every `put()`, and its `onUploadComplete` callback runs in your own route during the upload. [Migrate from Upstash Blob to Vercel Blob](/kb/guide/migrate-from-upstash-blob-to-vercel-blob) maps buckets to Blob stores and the upload handler to client uploads, and covers alternatives for S3-compatible access and the Go SDK.

If your provider isn't listed, start with the [server upload](/docs/vercel-blob/server-upload) or [client upload](/docs/vercel-blob/client-upload) quickstart and the [JS SDK](/docs/vercel-blob/using-blob-sdk) or [Python SDK](/docs/vercel-blob/python-sdk-reference) reference.

## Search the docs from your terminal

Search the Vercel docs and read pages as Markdown with the Vercel CLI. No login required.

```bash
# Find docs pages by keyword
npx vercel@latest docs search "environment variables"
npx vercel@latest docs search "function timeout"

# Print a docs page as Markdown, by path or URL
npx vercel@latest docs inspect <page>
```

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```

---

[View full sitemap](/docs/sitemap)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
