Skip to content
Cloudflare D1

Cloudflare D1 Client

The Cloudflare D1 GUI Client for Mac.

A fast, native Cloudflare D1 GUI client for Mac. Connect with an API token, browse all databases in your account, edit rows in a real grid, run SQL with autocomplete. No wrangler CLI required. Free and open source.

TablePro connected to a Cloudflare D1 database showing the data grid and SQL editor

Features

Built for Cloudflare D1.

API Token Auth

Cloudflare API token with D1:Edit. Stored in the macOS Keychain. Never written to disk.

Inline Cell Editing

Edit D1 rows in a real spreadsheet. INSERT, UPDATE, DELETE generated and sent over the D1 REST API.

Multi-Database Browser

All D1 databases in your Cloudflare account, in one sidebar. Cmd+K to switch.

Query Cost Insight

Every query shows rows_read, rows_written, and duration_ms returned by the D1 API.

SQLite-Compatible Editor

Tree-sitter SQLite highlighting. Autocomplete catches D1 incompatibilities before you run.

AI Query Assistant

Ask in English, get D1-compatible SQL. Catch full-SQLite features that D1 doesn't support.

Data Grid

Browse and edit data.

Sort, filter, and edit Cloudflare D1 data in a spreadsheet-like grid. Click any cell to edit. Insert and delete rows. Review changes before saving.

TablePro data grid showing Cloudflare D1 table rows with inline editing

SQL Editor

Write queries faster.

Tree-sitter syntax highlighting, schema-aware autocomplete, multi-tab, Vim mode, and full-text query history. AI assistant can write, explain, or optimize your SQL.

TablePro SQL editor with Cloudflare D1 query and autocomplete

Capabilities

What you can do.

  • Browse all D1 databases in a Cloudflare account
  • Run SELECT, INSERT, UPDATE, DELETE, DDL
  • View rows_read, rows_written, duration_ms per query
  • Edit rows inline with change tracking
  • Switch between D1 databases with Cmd+K
  • Export results to CSV, JSON, SQL
  • Full-text search across query history
  • Safe mode for production D1 databases

Connect

Get connected in seconds.

# Connect with TablePro Account ID: abc123def456... API Token: <token with D1:Edit scope> Database: my-d1-database # Or via wrangler wrangler d1 execute my-d1-database --command "SELECT * FROM users"

Supported versions

Cloudflare D1 (REST API v4)

Connection types

  • HTTPS API (Account ID + API Token)

How to

Connect to Cloudflare D1 in four steps.

  1. 1

    Install TablePro

    brew install --cask tablepro, or grab the DMG from tablepro.app/download.

  2. 2

    Create a Cloudflare API Token

    Visit dash.cloudflare.com/profile/api-tokens. Create a token with D1:Edit.

  3. 3

    Add a D1 Connection

    Click New Connection. Pick Cloudflare D1. Paste Account ID and API Token.

  4. 4

    Connect

    Click Connect. D1 databases appear in the sidebar.

FAQ

Common Cloudflare D1 questions.

Do I need wrangler installed?

No. TablePro talks to the D1 REST API directly with a Cloudflare API token.

What permissions does the API token need?

D1:Edit, scoped to the account that owns your D1 databases.

Can I see query cost?

Yes. Every query returns rows_read, rows_written, duration_ms from the D1 API.

Is the API token stored safely?

Yes. macOS Keychain. Never on disk in plaintext.

Does TablePro use D1 sessions?

Yes. Sessions API is used for read-after-write consistency across multiple statements.

Try TablePro for free.

Free and open-source. macOS 14+. Apple Silicon and Intel.