Modern web GUI for Cloudflare D1 databases featuring Zero Trust authentication.
Run D1 Database Manager in Docker for development, testing, or self-hosted deployments. Get full visual control over schemas, data migrations, SQL execution, and portable database export/import via Cloudflare Access.
Create, rename, clone, delete, and optimize databases
Export Database - SQL/JSON/CSV formats with portable schema + data
Import Database - SQL/JSON/CSV/ZIP with create new or update existing
Quick Actions - Icon buttons on each database card for instant access to all operations
Bulk Operations - Multi-select for batch export (SQL/JSON/CSV), optimize, and delete
Clone Database - Multi-step wizard with selective table cloning and granular options
Grid/List View Toggle - Switch between card grid and compact sortable table view
Copyable Database IDs - Click to copy database IDs with visual feedback
Expanded Color Picker - 27 colors organized by hue family for visual organization
R2 Backup/Restore + Unified Hub(Cloudflare Workers only) - Manual backups, undo history, and R2 snapshots in one dialog with multi-select, backup counts, and orphaned-backup visibility
Scheduled R2 Backups(Cloudflare Workers only) - Per-database daily/weekly/monthly schedules with cron triggers, next-run tracking, and enable/disable controls
Safety Backups(Cloudflare Workers only) - Delete, rename, and STRICT mode operations automatically create R2 backups before proceeding
Automated Migration System - Auto-detects and applies schema upgrades with one-click "Upgrade Now" banner
Database search filter & job history - Quickly find databases and audit all operations with full date/time and duration tracking
NEW! Schema Comparison with Migration Script Generation - Compare two databases and generate executable SQL migration scripts with risk classification, copy/download, and apply-to-target functionality
NEW! AI Search Integration(Cloudflare Workers only) - Semantic search over database schemas and data using Cloudflare AI Search (AutoRAG). Export databases to R2 for indexing, then query with natural language or get AI-generated SQL suggestions
Unified Backup & Restore Hub(Cloudflare Workers only) - Undo history and R2 backups in one dialog with bulk restore/download/delete, backup counts, source tags, and orphaned-backup visibility
Scheduled R2 Backups(Cloudflare Workers only) - Daily/weekly/monthly schedules with per-database controls, next-run previews, last-run status, and job history integration
Foreign Key Visualizer & ER Diagram - Interactive graphs with fullscreen mode, export (PNG/SVG/JSON), alphabetized dropdowns, and dual layouts (hierarchical/force-directed)
Cascade Impact Simulator - Preview DELETE cascades before execution with optimized dependency checks and multi-format export (CSV/JSON/Text/PDF)
Circular Dependency Detector - DFS-based cycle detection with severity classification and breaking suggestions
Undo/Rollback with safeguards - Automatic undo snapshots for destructive operations (R2 backups available on Cloudflare Workers deployments)
FTS5 Full-Text Search - Manage virtual tables, convert to/from regular tables, dedicated FTS5 search mode in main Search tab, and quick actions on FTS5 table cards
Index Analyzer - Smart index recommendations plus "Create All Indexes" one-click apply with progress tracking
Metrics Dashboard - Query volume (reads/writes), P90 latency, rows read, and storage trends via GraphQL Analytics with time range selector (24h/7d/30d)
NEW! Query Insights Tab for slow query analysis with performance badges and sortable table
NEW! Health Dashboard - System health score, backup coverage alerts, failed backup tracking, and replication status overview
Time Travel - View bookmarks, checkpoint history, manual checkpoint capture, and CLI restore commands
Read Replication - Enable/disable global read replicas with D1 Sessions API info
Constraint Validator - Validate foreign key, NOT NULL, and UNIQUE constraints across database with guided fix workflow
Docker deployments do not require Durable Object configuration. The Durable Object binding (used for R2 backups in Cloudflare Workers deployments) is not applicable to Docker containers.
Feature
Docker
Cloudflare Workers
Database management
ā
ā
Query console
ā
ā
Download/Import backups
ā
ā
R2 cloud backups
ā
ā (requires Durable Object)
Scheduled R2 backups
ā
ā (requires Durable Object + cron)
Backup before delete/rename
ā
ā (requires Durable Object)
If you see documentation about Durable Objects or BACKUP_DO bindings, those apply only to Cloudflare Workers deployments. Docker users can safely ignore those sections.
For R2 backup features, deploy to Cloudflare Workers instead. See the main README.mdā for Workers deployment instructions.
Note: R2 Backup/Restore is only available when deploying to Cloudflare Workers (not Docker). Docker deployments can still use the Download/Import functionality for local backups.