BarSQL is a free, open-source desktop SQL client for PostgreSQL, MySQL, MariaDB, SQL Server, ClickHouse, Turso/libSQL and SQLite. It's a native app written in Rust and drawn on the GPU, with no account, no cloud and no telemetry. Everything it keeps lives in one portable folder next to the app.
Features include schema-aware autocomplete, multiple cursors, an editable results grid, quick charts, a query plan viewer, ER diagrams, a table structure editor, schema compare with sync scripts, CSV import, export, SSH tunnels, a read-only mode, and an MCP server so AI assistants can query the databases you allow.
Features
- Multi-Database Support
- SQL Editor with Syntax Highlighting
- Intelligent SQL Autocomplete
- Database Schema Explorer
- Interactive ER Diagrams
- Visual Table Structure Editor
- Editable Query Results Grid
- SQL Query Execution and History
- Query Plan Visualization (EXPLAIN)
- Schema Comparison and Synchronization
- CSV Import and Export
- Multiple Data Export Formats
- SSH Tunnel Support
- SSL/TLS Encrypted Connections
- Read-Only Database Connections
- Multi-Statement Query Execution
- SQL Query Library
- JSON and JSONB Viewer
- Interactive Data Charts
- AI Assistant Integration via MCP
- Cross-Platform Desktop Application
- Native Rust Performance
- Local-First Architecture
- Portable Application Storage
- Automatic Application Updates
- Dark and Light Themes
- Customizable Keyboard Shortcuts
- Multi-Language Interface
License
GNU General Public License version 3.0 (GPLv3)Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of BarSQL!