# Sql2json alternatives

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

24 products that do a similar job, closest first. 16 have pricing checked on their own site; 15 of those are free or have a free tier.

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

- [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, 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, 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, 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, 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, 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, github.com)
- [SPyQL](https://nowfound.app/launch/spyql-sql-with-python-in-the-middle): SPyQL (https://github.com/dcmoura/spyql) is SQL with Python in the middle, an open-source project fully written in Python for making command-line data processing more intuitive, readable and powerful… (2022-01-25, 105 votes, free, github.com)
- [jql](https://nowfound.app/launch/jql-easier-jq-alternative-with-a-lispy-syntax-written-in-go): Easy JSON Query Processor with a Lispy syntax in Go (2020-01-07, 217 votes, free, github.com)
- [sq](https://nowfound.app/launch/i-built-jq-like-scriptable-tool-to-query-csv-and-json-with-s): Convert and query JSON, JSONL, CSV, and SQLite with ease! (2024-02-24, 11 votes, free, github.com)
- [JQL](https://nowfound.app/launch/jql-a-json-query-language-cli-tool-built-with-rust): crates.io serves as a central registry for sharing crates, which are packages or libraries written in Rust that you can use to enhance your projects (2020-05-26, 25 votes, crates.io)
- [Jqview](https://nowfound.app/launch/jqview-a-simple-native-gui-for-inspecting-json-with-jq): simplest possible native GUI for inspecting JSON objects with jq (2020-06-05, 208 votes, free, github.com)
- [JSONsilo.com](https://nowfound.app/launch/jsonsilo-com): Convert your static JSON file to a REST API in minutes (2023-10-29, 107 votes, free tier, from $9/mo, jsonsilo.com)
- [SQLite query inside a Bash function](https://nowfound.app/launch/sqlite-query-inside-a-bash-function): This is a Bash scripting technique for automating data processing workflows. (2021-07-07, 134 votes)
- [SheetsDB](https://nowfound.app/launch/sheetsdb): Turn a public Google Sheet into JSON with one authenticated API request. Create a free API key, test the request, and track usage from your dashboard. (2024-06-27, 117 votes, free, sheetsdb.io)
- [JSON to CSV](https://nowfound.app/launch/json-to-csv): A fast, private JSON-to-CSV converter. Your data is never shared with our servers. (2014-06-24, 127 votes, konklone.io)
- [Trdsql](https://nowfound.app/launch/trdsql-cli-tool-that-can-execute-sql-queries-on-csv-ltsv-jso): CLI tool that can execute SQL queries on CSV, LTSV, JSON, YAML and TBLN. Can output to various formats. (2022-05-03, 9 votes, free, github.com)
- [OK JSON](https://nowfound.app/launch/ok-json-st309037): A fast, native way to inspect and query JSON — with jq, JSONPath, and scripting built in. Fully offline: no browser tab, no upload, no account. (2021-08-23, 113 votes, okjson.app)
- [Query your database using plain English, fully](https://nowfound.app/launch/query-your-database-using-plain-english-fully-on-premises): Vizly is a Mac application that lets users query their databases using plain English instead of SQL. (2023-08-29, 104 votes, vizly.fyi)
- [cq](https://nowfound.app/launch/cq-query-csvs-using-sql): Query CSVs using SQL. (2019-09-20, 80 votes, free, github.com)
- [gq](https://nowfound.app/launch/gq-like-jq-or-zq-but-you-use-go): gq is a JSON query tool similar to jq, but uses Go as its query language instead of jq's custom syntax. (2022-04-27, 107 votes, free, github.com)
- [PasteKit](https://nowfound.app/launch/pastekit-354): Format JSON, YAML & SQL privately (2026-10-08, 89 votes, free, pastekit.dev)
- [PyQL](https://nowfound.app/launch/pyql): A tool to run SQL queries on Python files built using GitQL (2024-12-03, 15 votes, free, github.com)
- [Automated Data Cleaning Toolkit](https://nowfound.app/launch/automated-data-cleaning-toolkit): Clean messy CSV, Excel, JSON with one Python script (2025-07-01, 7 votes, payhip.com)
- [sheet2dict](https://nowfound.app/launch/sheet2dict-simple-python-xlsx-csv-reader-to-dictionary-conve): Simple XLSX and CSV to dictionary converter. (2021-04-21, 59 votes, free, github.com)
