Browse SQL Server
from your terminal.
A fast, lightweight database browser for Microsoft SQL Server. Browse tables, run T-SQL queries, export data — all from a single compiled binary. No SSMS, no Azure Data Studio, no Electron. Perfect for remote support, quick database checks, and engineering workflows. Built with Rust for speed.
01 — The Problem
You're opening SSMS just to check a few rows.
SSMS takes 15 seconds to open and uses 1.5 GB. Azure Data Studio needs installation. sqlcmd is fine for queries but terrible for browsing. When you're SSH'd into a server or doing remote support, you just need to peek at a table — fast.
GUI Bloat
SSMS, Azure Data Studio, DataGrip — they load driver plugins, render UI frameworks, and cache schemas. Opening them feels slower than the query itself. SSMS alone is 1.5 GB.
Remote Support Pain
When troubleshooting a customer's SQL Server over SSH, you can't run a GUI. You're stuck with sqlcmd and manual SELECT * queries. No table browsing, no pagination.
Large Table Lag
sqlcmd prints rows and your terminal scrolls forever. GUI tools page correctly but need installation and don't work over SSH. Neither is ideal for quick data checks.
Export Hassle
Need a quick CSV of a query result? With SSMS it's right-click → Save Results As → wizard. With sqlcmd it's -o with formatting flags. Both are slow when you just want the data.
02 — Features
Everything you'd open SSMS for. In 7 MB.
A zero-dependency TUI that starts in milliseconds. Browse tables, run T-SQL queries, export data — all without leaving your terminal. Built-in Web UI for when you want a graphical view.
Table & View Browser
Sidebar with schema-qualified table names (dbo.Orders, sales.Invoices). Live row counts. Type / to filter the list. Vim-style keyboard navigation throughout.
Paginated Data View
500 rows per page with Prev/Next navigation. Real-time scrollbar shows your position in the full table. Copy TSV or JSON to clipboard with one keypress.
T-SQL Query Editor
Interactive editor with autocomplete for T-SQL keywords, table names, and column names. Ctrl+S to execute. Syntax highlighting with SQL Server-specific keywords (TOP, NOLOCK, EXEC, etc.). Supports multi-statement scripts with per-statement error reporting.
Schema Inspector
View table structures. Column names and types from INFORMATION_SCHEMA.COLUMNS. Row counts pre-loaded for every table and view.
Multi-Format Export
Export tables as CSV, JSON, or SQL INSERT statements with proper [schema].[name] quoting. Download from Web UI or export from TUI.
Resilient Connections
Auto-retry on connection failure. The Web UI automatically reconnects on each API call if the database was restarted. Perfect for spotty network environments.
03 — Two Modes
Terminal or Browser. Same binary.
Terminal Interface
Vim-style keybindings (i/k/j/l for scroll). Paginated data with horizontal scroll for wide tables. SQL editor with T-SQL autocomplete. Copy menus for TSV/JSON export. Perfect for daily database work on remote servers.
Dark-Theme Web Interface
Launch with --ui. Full sidebar, paginated data, SQL editor with autocomplete and syntax highlighting. Export CSV/JSON/SQL with one click.
04 — Quick Start
Two commands. That's it.
# Install in one command
sudo curl -L -o /usr/local/bin/mssqltui https://dl-mssqltui.voltrus.id/latest && sudo chmod +x /usr/local/bin/mssqltui
# Connect to SQL Server (TUI)
mssqltui -s localhost -p 1433 -d MyDatabase -u sa -P MyPass123
# Launch Web UI on localhost:5000
mssqltui -s localhost -d master -u sa -P 'YourPass123!' --ui
Pre-built binary $4.99 one-time · Build from source free on GitHub · macOS aarch64, Linux x86_64, Windows x86_64.
05 — FAQ
Common questions
cargo build --release. If you prefer a ready-to-use binary without compiling, it's $4.99 one-time from Polar. No subscriptions, no feature gates — just a convenience fee for the pre-built download.--no-encrypt for local/Docker SQL Server instances. Use --trust-cert for self-signed certificates.Open Source · GPL-3.0
Get MSSQLTui.
Build from source or buy the binary.
Build from Source
Free — forever. GPL-3.0
Clone the repo, run cargo build --release, and you're done. Modify, share, redistribute.
Pre-built Binary
One-time — no subscription
Ready-to-use binary for macOS, Linux, or Windows. Download and run immediately — no Rust toolchain needed.
Buy & DownloadAlso from Voltrus