Skip to content
SPECIFICTION
Get listed

JSQLFormatter vs SQL Pretty Printer

JSQLFormatter

manticore-projects.com

SQL Pretty Printer

dpriver.com

Side by side

FigureJSQLFormatterSQL Pretty Printer
Price fromFree—
Free planYes—
Free trial—Yes
Open source——
Web—Yes
WindowsYesYes
macOSYes—
LinuxYes—
Self-hostedYes—
Plans published11
Spec score · SQL Linters and Formatters8.3 (#5)7.6 (#15)
Founded20112002
MakerManticore Projects describes itself as a consulting company for financial valuation, reporting and credit risk management.Gudu Software describes itself as a privately held database-tools company founded in 2002.
Output formatsIt supports ANSI terminal highlighting and HTML and RTF output for documents and wikis.The desktop version outputs text, colorful HTML, and RTF.

Plans

JSQLFormatter

  • JSQLFormatterFree

JSQLFormatter pricing →

SQL Pretty Printer

  • SQL Pretty Printer$50, paid once

SQL Pretty Printer pricing →

In their own words

JSQLFormatter

JSQLFormatter formats SQL for terminal output, documents, and wikis, and is available as a Java library or command-line executable. It parses SQL with a grammar into an abstract syntax tree rather than relying on regular expressions. Supported statements include SELECT, INSERT, MERGE, UPDATE, DELETE, CREATE, and ALTER, including WITH clauses and nested sub-selects. The listed dialects cover Oracle, SQL Server, MySQL, MariaDB, PostgreSQL, H2, DuckDB, BigQuery, Redshift, Databricks, and Snowflake. Formatting can preserve comments between keywords or within join conditions, while leaving comment-like string literals unchanged. Users can configure indentation, comma placement, and the casing of keywords, functions, and objects, with settings applied per invocation, file, or statement. Output options include ANSI terminal highlighting, HTML, and RTF. A Java-source feature imports SQL strings while retaining variables and can export them as String, StringBuilder, or MessageFormat. JSQLFormatter is free. Its license is Apache 2.0 from version 5.4 onward; releases through 5.3 were AGPL. A NetBeans plugin is a platform target, while Eclipse, JEdit, Squirrel SQL, and DBeaver are listed as planned.

Visit manticore-projects.com

SQL Pretty Printer

SQL Pretty Printer has no write-up on Specifiction yet; its figures are above.

Visit dpriver.com