---
title: Remote bindings public beta - Connect to remote resources (D1, KV, R2, etc.) during local development
description: You can now connect to R2 buckets, D1 databases, and other resources running on Cloudflare, while running your Worker's code locally, on your own machine.
image: https://developers.cloudflare.com/changelog-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/changelog/llms.txt  
> Use this file to discover all available pages before exploring further. 

[Skip to content](#%5Ftop) 

# Changelog

New updates and improvements at Cloudflare.

[ Subscribe to RSS ](https://developers.cloudflare.com/changelog/rss/index.xml) [ View RSS feeds ](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/) 

![hero image](https://developers.cloudflare.com/_astro/hero.CVYJHPAd_26AMqX.svg) 

[ ← Back to all posts ](https://developers.cloudflare.com/changelog/) 

## Remote bindings public beta - Connect to remote resources (D1, KV, R2, etc.) during local development

Jun 18, 2025 

[ Workers ](https://developers.cloudflare.com/workers/) 

Today [we announced the public beta ↗](https://github.com/cloudflare/workers-sdk/discussions/9660) of [remote bindings](https://developers.cloudflare.com/workers/local-development/#remote-bindings) for local development. With remote bindings, you can now connect to deployed resources like [R2 buckets](https://developers.cloudflare.com/r2/) and [D1 databases](https://developers.cloudflare.com/d1/) while running Worker code on your local machine. This means you can test your local code changes against real data and services, without the overhead of deploying for each iteration.

#### Example configuration

To enable remote mode, add `"experimental_remote" : true` to each binding that you want to rely on a remote resource running on Cloudflare:

* [  wrangler.jsonc ](#tab-panel-2745)
* [  wrangler.toml ](#tab-panel-2746)

JSONC

```
{  "name": "my-worker",  // Set this to today's date  "compatibility_date": "2026-07-01",
  "r2_buckets": [    {      "bucket_name": "screenshots-bucket",      "binding": "screenshots_bucket",      "experimental_remote": true,    },  ],}
```

TOML

```
name = "my-worker"# Set this to today's datecompatibility_date = "2026-07-01"
[[r2_buckets]]bucket_name = "screenshots-bucket"binding = "screenshots_bucket"experimental_remote = true
```

When remote bindings are configured, your Worker **still executes locally**, but all binding calls are proxied to the deployed resource that runs on Cloudflare's network.

**You can try out remote bindings for local development today with:**

* [Wrangler v4.20.3](https://developers.cloudflare.com/workers/local-development/#remote-bindings): Use the `wrangler dev --x-remote-bindings` command.
* The [Cloudflare Vite Plugin](https://developers.cloudflare.com/workers/local-development/#remote-bindings): Refer to the documentation for how to enable in your Vite config.
* The [Cloudflare Vitest Plugin](https://developers.cloudflare.com/workers/local-development/#remote-bindings): Refer to the documentation for how to enable in your Vitest config.

**Have feedback?**Join the discussion in our [beta announcement ↗](https://github.com/cloudflare/workers-sdk/discussions/9660) to share feedback or report any issues.

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/post/2025-06-18-remote-bindings-beta/#page","headline":"Remote bindings public beta - Connect to remote resources (D1, KV, R2, etc.) during local development · Changelog","description":"You can now connect to R2 buckets, D1 databases, and other resources running on Cloudflare, while running your Worker's code locally, on your own machine.","url":"https://developers.cloudflare.com/changelog/post/2025-06-18-remote-bindings-beta/","inLanguage":"en","image":"https://developers.cloudflare.com/changelog-preview.png","dateModified":"2025-06-18","datePublished":"2025-06-18","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
