Public Tools SQL Formatter
public.tools
Spec sheet
- Purpose
- Formats SQL queries by changing whitespace and keyword casing.Read 8 Oct 2026 · public.tools
- Audience
- The page describes copying formatted queries back into an editor or migration, making it suitable for people working with SQL queries and migrations.Read 8 Oct 2026 · public.tools
- Dialect support
- Supports 20 dialects, including PostgreSQL, MySQL, SQL Server, Oracle PL/SQL, BigQuery, Snowflake, Redshift, Spark, Trino, DuckDB, ClickHouse, Db2, N1QL, SingleStore and TiDB.Read 8 Oct 2026 · public.tools
- Formatting options
- Users can choose uppercase, lowercase or as-typed casing, and two-space, four-space or tab indentation.Read 8 Oct 2026 · public.tools
- Limitations
- It does not validate query correctness, understand the user's schema, optimize queries or lint them; stored procedure bodies and vendor-specific scripting blocks are a known weak spot.Read 8 Oct 2026 · public.tools
- Multiple statements
- Semicolon-separated statements are formatted one after another with a blank line between them.Read 8 Oct 2026 · public.tools
- Offline use
- The page says users can disconnect after it loads and continue formatting queries.Read 8 Oct 2026 · public.tools
- Parsing errors
- The formatter parses the statement and reports the line and column when it encounters an unbalanced parenthesis or unclosed quote.Read 8 Oct 2026 · public.tools
- Private processing
- The formatter runs in the browser and the page says it makes no network requests after loading, so queries stay on the user's machine.Read 8 Oct 2026 · public.tools
- Supported use
- The page says it is safe for production queries and requires no sign-up or email address.Read 8 Oct 2026 · public.tools
Plans and prices
Free Free No sign up · no limit on query length · no daily limit Read 8 Oct 2026 · public.tools
Where Specifiction places it
- SQL Linters and Formatters#18 of 267.4