SQL Workbench Embedded - Browser-based SQL execution with DuckDB WASM

1 min read Original article ↗

Open Source • MIT Licensed

Run SQL queries directly on your website

A lightweight JavaScript library that turns SQL code blocks into browser-based database environments.
Powered by DuckDB WASM. No backend required.

Get StartedView on GitHub

Try it now

Click on the run button of interactive SQL example below. All processing happens in your browser!

Features

Zero Backend

No backend - everything runs in your browser

Lightweight

Only 9.49 kB gzipped for fast loading

Interactive

Real-time SQL editing with syntax highlighting

Privacy-Focused

All data stays in your browser, period!

Framework Agnostic

Works with React, Vue, vanilla JS, and more

Theme Support

Light and dark themes included

Lazy Loading

Optimized loading for better performance

DuckDB WASM

Powered by DuckDB WebAssembly for fast queries

Usage Examples

See how easy it is to integrate SQL Workbench Embedded into your frontend projects. There's a React component, as well as a Vue 3 component.