US

usql

Universal command-line client for many SQL databases

Developer Tools & Git ★ 10.1k stars Easy setup MIT

usql is a universal SQL command-line interface that connects to PostgreSQL, MySQL, SQLite, Oracle and dozens of other databases with a single tool. It runs as a self-contained binary.

Key features

  • Connects to many databases
  • psql-like interface
  • Single binary
  • Cross-platform

Strengths

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • Mature project with 10.1k GitHub stars
  • Written in Go

Is usql secure?

OSV.dev has no published security advisories for usql's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

usql replaces

Health badge

Maintain usql? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 93 · excellent

Markdown
[![SelfHostIndex health score for usql](https://selfhostindex.com/badge/usql.svg)](https://selfhostindex.com/app/usql/)
HTML
<a href="https://selfhostindex.com/app/usql/"><img src="https://selfhostindex.com/badge/usql.svg" alt="SelfHostIndex health score for usql"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/usql.svg
   :alt: SelfHostIndex health score for usql
   :target: https://selfhostindex.com/app/usql/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Similar developer tools & git apps