# Free alternatives to Py-SQL-cleaner

Py-SQL-cleaner: Find, format, and safely extract embedded SQL from Python files.

Py-SQL-cleaner itself: Free (its own site, checked 2026-11-20).

24 products that do a similar job and cost nothing to start: 24 free outright, 0 with a free plan. Closest in meaning first. Each price was read from the product's own site on the date shown.

Page: https://nowfound.app/free-alternatives/py-sql-cleaner-format-sql-embedded-in-python-strings
All alternatives, paid too: https://nowfound.app/alternatives/py-sql-cleaner-format-sql-embedded-in-python-strings.md
About Py-SQL-cleaner: https://nowfound.app/launch/py-sql-cleaner-format-sql-embedded-in-python-strings.md

| # | Product | Price | Checked | What it does |
|---|---|---|---|---|
| 1 | [learndb-py](https://nowfound.app/launch/i-wrote-a-rdbms-sqlite-clone-from-scratch-in-pure-python) | Free | 2026-11-21 | This is a relational database management system written entirely in Python that functions similarly to SQLite. |
| 2 | [SPyQL](https://nowfound.app/launch/spyql-sql-with-python-in-the-middle) | Free | 2026-11-23 | 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 processi… |
| 3 | [Csql](https://nowfound.app/launch/csql-python-lib-for-composeable-sql-queries) | Free | 2026-11-24 | Csql is a Python library that helps developers build SQL queries through composition. |
| 4 | [Python lib for rich text, markdown, tables](https://nowfound.app/launch/python-lib-for-rich-text-markdown-tables-etc-in-the-terminal) | Free | 2026-11-24 | Rich is a Python library for rich text and beautiful formatting in the terminal. |
| 5 | [PyQL](https://nowfound.app/launch/pyql) | Free | 2026-11-21 | A tool to run SQL queries on Python files built using GitQL |
| 6 | [PasteKit](https://nowfound.app/launch/pastekit-354) | Free | 2026-11-20 | Format JSON, YAML & SQL privately |
| 7 | [Pydb](https://nowfound.app/launch/pydb-a-lightweight-database-with-python-syntax-queries-using) | Free | 2026-11-24 | A lightweight database with Python syntax queries, using ZeroMQ |
| 8 | [Sqlit](https://nowfound.app/launch/sqlit-a-lazygit-style-tui-for-sql-databases) | Free | 2026-11-21 | Sqlit is a terminal user interface for browsing and querying SQL databases, designed for developers who work primarily in the command line. |
| 9 | [GritQL](https://nowfound.app/launch/gritql-a-rust-cli-for-rewriting-source-code) | Free | 2026-11-21 | GritQL is a Rust command-line tool for searching and transforming source code at scale. |
| 10 | [SQLite Plugin for Jekyll](https://nowfound.app/launch/sqlite-plugin-for-jekyll) | Free | 2026-11-21 | SQLite Plugin for Jekyll lets users query SQLite databases directly within Jekyll's static site generator using Liquid templating. |
| 11 | [Py-spy](https://nowfound.app/launch/py-spy-a-new-sampling-profiler-for-python-programs) | Free | 2026-11-24 | Sampling profiler for Python programs. |
| 12 | [FSQL](https://nowfound.app/launch/fsql-search-through-your-file-system-with-sql-esque-queries) | Free | 2026-11-24 | Search for files using a fun query language. |
| 13 | [Tidy Viewer](https://nowfound.app/launch/tidy-viewer-a-cross-platform-csv-pretty-printer-for-viewer-e) | Free | 2026-11-23 | 📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment. |
| 14 | [PyCParser, C parser and interpreter in Python](https://nowfound.app/launch/pycparser-c-parser-and-interpreter-in-python) | Free | 2026-11-24 | C parser and interpreter written in Python with automatic ctypes interface generation - PyCParser/README.md at master · albertz/PyCParser |
| 15 | [Jq-Like Tool for Markdown](https://nowfound.app/launch/jq-like-tool-for-markdown) | Free | 2026-11-21 | mdq is a command-line tool for extracting and querying text from Markdown documents using a pipe-based syntax similar to jq. |
| 16 | [PRQL 0.2](https://nowfound.app/launch/prql-0-2-a-better-sql) | Free | 2026-11-22 | PRQL is a query language that offers an alternative to SQL. |
| 17 | [Adding some syntactic sugar to Python](https://nowfound.app/launch/adding-some-syntactic-sugar-to-python) | Free | 2026-11-24 | A library adding some anti-Pythonic syntatic sugar to Python |
| 18 | [cq](https://nowfound.app/launch/cq-query-csvs-using-sql) | Free | 2026-11-24 | Query CSVs using SQL. |
| 19 | [PgQueuer](https://nowfound.app/launch/pgqueuer-transform-postgresql-into-a-job-queue) | Free | 2026-11-21 | PgQueuer is a Python job queue that uses PostgreSQL for everything — queue storage, locking, notifications. No Redis, no RabbitMQ, no separate broker to operat… |
| 20 | [Bsed](https://nowfound.app/launch/bsed-simple-english-syntax-on-top-of-perl-text-processing) | Free | 2026-11-24 | Simple SQL-like syntax on top of Perl text processing. |
| 21 | [Gsubpy](https://nowfound.app/launch/gsubpy-an-interpreter-for-subset-of-python-written-in-go) | Free | 2026-11-21 | Gsubpy is an interpreter that executes a subset of Python code, built from scratch in Go. |
| 22 | [I am building a new Python library to](https://nowfound.app/launch/i-am-building-a-new-python-library-to-read-write-pdf-files) | Free | 2026-11-22 | This is a Python library for reading and writing PDF files, built from scratch by a developer focused on learning and simplicity. |
| 23 | [Refurb](https://nowfound.app/launch/refurb-a-tool-for-refurbishing-and-modernizing-python-codeba) | Free | 2026-11-22 | A tool for refurbishing and modernizing Python codebases |
| 24 | [SQLGlot](https://nowfound.app/launch/sqlglot-customizable-python-sql-transpiler) | Free | 2026-11-23 | Python SQL Parser and Transpiler. |
