# Sql2json

> Python CLI tool to run queries against sqltatabases and convert the results to json, csv, excel in the command line or python program. Easy to use for Humans, automations, LLMS/Agents

Page: https://nowfound.app/launch/sql2json-python-package-to-run-sql-query-and-get-json-result

- Launched: 2020-01-17
- Launch-day votes: 9, 3 comments; #826 of 3,098 launches that month (top 27%)
- Website: [github.com](https://github.com/fsistemas/sql2json), 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: 83% 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 2020: 80%. [Method](https://nowfound.app/forecast.md)
- Originality: 38/100 (crowded field). More original than 38% of products launched in 2020. On its launch day the archive already held 4 similar products; 23 products like it have launched since.

## What it does, from its own words

Python CLI tool to run queries against sqltatabases and convert the results to json, csv, excel in the command line or python program. Easy to use for Humans, automations, LLMS/Agents - fsistemas/sql2json

## Does a similar job

- [JSON Query](https://nowfound.app/launch/json-query): JSON Query is a tool for querying JSON documents that addresses the challenge of writing complex jq syntax. (2025-10-27, 154 votes, forecast: 91% online in 2031, jsonquerylang.org)
- [My LLM CLI tool can run tools now, from Python](https://nowfound.app/launch/my-llm-cli-tool-can-run-tools-now-from-python-code-or-plugin): My LLM CLI tool is a command-line interface for working with large language models that now supports running tools from Python code or plugins. (2025-05-27, 529 votes, from $10/mo, forecast: 98% online in 2031, simonwillison.net)
- [ExcelJSON](https://nowfound.app/launch/exceljson-convert-json-to-from-csv-tsv-easily): ExcelJSON is a tool that converts data between JSON and spreadsheet formats like CSV and TSV. (2017-01-17, 50 votes, forecast: 85% online in 2031, exceljson.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)
- [Turn a Google Spreadsheet into an API](https://nowfound.app/launch/turn-a-google-spreadsheet-into-an-api): Use your Google Sheets as a JSON API. Connect Google Spreadsheets with your CRM or any other tool using JSON API and RESTful requests. (2015-09-21, 357 votes, free tier, from $29.99/mo, forecast: 84% online in 2031, sheetsu.com)
- [Querying JSON documents using SQL-like language](https://nowfound.app/launch/querying-json-documents-using-sql-like-language-in-scala): SQL micro-dialect implementation for querying JSON objects. Written purely in Scala. (2020-02-25, 70 votes, free, forecast: 93% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/sql2json-python-package-to-run-sql-query-and-get-json-result.md

## For the maker of Sql2json

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/sql2json-python-package-to-run-sql-query-and-get-json-result
- 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/sql2json-python-package-to-run-sql-query-and-get-json-result"><img src="https://nowfound.app/badge/sql2json-python-package-to-run-sql-query-and-get-json-result.svg" alt="Sql2json on NowFound" height="32"></a>`

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