# cq

> Query CSVs using SQL.

Page: https://nowfound.app/launch/cq-query-csvs-using-sql

- Launched: 2019-09-20
- Launch-day votes: 80, 18 comments; #428 of 2,877 launches that month (top 15%)
- Website: [github.com](https://github.com/jolmg/cq), online when checked 2026-09-18
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Pricing: Free. Free and open source (checked 2026-11-24 on its site)
- Forecast: 85% chance its website is still online in November 2031 (97% in November 2027, 91% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2019: 80%. [Method](https://nowfound.app/forecast.md)
- Originality: 41/100 (familiar idea). More original than 41% of products launched in 2019. On its launch day the archive already held 3 similar products; 25 products like it have launched since.

## In plain words

cq is a command-line tool that lets developers query CSV files using SQL syntax instead of writing custom scripts. It's designed for anyone who needs to analyze or filter CSV data quickly without loading files into a database. The tool bridges the gap between flat CSV files and SQL's query capabilities, making data analysis more accessible from the terminal.

_Written by AI from its launch page and website, 2026-09-12._

## What it does, from its own words

Query CSVs using SQL. Contribute to jolmg/cq development by creating an account on GitHub.

## Does a similar job

- [Query CSV files using SQL](https://nowfound.app/launch/query-csv-files-using-sql): Query CSV files using SQL. (2015-07-05, 12 votes, free, forecast: 75% online in 2031, github.com)
- [TextQuery](https://nowfound.app/launch/textquery-query-csv-json-xlsx-files-with-sql): TextQuery is a developer tool that lets users query CSV, JSON, and XLSX files using SQL commands. (2025-05-05, 163 votes, free tier, forecast: 91% online in 2031, textquery.app)
- [FSQL](https://nowfound.app/launch/fsql-search-through-your-file-system-with-sql-esque-queries): Search for files using a fun query language. (2017-05-15, 341 votes, free, forecast: 86% online in 2031, github.com)
- [Csql](https://nowfound.app/launch/csql-python-lib-for-composeable-sql-queries): Csql is a Python library that helps developers build SQL queries through composition. (2020-10-23, 89 votes, free, forecast: 88% online in 2031, github.com)
- [SQL Workbench](https://nowfound.app/launch/sql-workbench): Free browser-based SQL editor powered by DuckDB. Query and visualize CSV, JSON, Parquet and Arrow files locally or from remote URLs. No installation required. (2024-06-19, 186 votes, forecast: 90% online in 2031, sql-workbench.com)
- [CSVFiddle](https://nowfound.app/launch/csvfiddle-query-csv-files-with-duckdb-in-the-browser): Import CSVs, write SQL, and instantly share it with anyone. Runs 100% in-browser, so you're in control of your data. (2022-07-01, 64 votes, forecast: 90% online in 2031, csvfiddle.io)

All alternatives: https://nowfound.app/alternatives/cq-query-csvs-using-sql.md

## For the maker of cq

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/cq-query-csvs-using-sql
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/cq-query-csvs-using-sql"><img src="https://nowfound.app/badge/cq-query-csvs-using-sql.svg" alt="cq on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=21028021)
