HA

Harlequin

The SQL IDE for your terminal

IDEs & Code Editors ★ 6.5k stars Easy setup MIT

Harlequin is a terminal-based SQL IDE supporting DuckDB, SQLite, PostgreSQL and other databases with autocompletion and a data catalog. It is self-hosted as a local Python application.

Key features

  • Terminal SQL IDE
  • DuckDB and SQLite support
  • Autocomplete
  • Data catalog sidebar

Strengths

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

Is Harlequin secure?

OSV.dev has no published security advisories for Harlequin'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.

Harlequin replaces

Health badge

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

SelfHostIndex: 91 · excellent

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

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

Similar ides & code editors apps