JSON Formatter
Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open toolBeautify SQL queries with consistent indentation and keyword case for 16 database dialects.
Not yet professionally reviewed. This tool’s formulas and wording have not been checked by a qualified professional. Use the results as an estimate and verify anything important.
Formatting only changes layout; it doesn't validate, optimise or secure a query. Review queries yourself, and use parameterised queries rather than pasting user input into SQL.
Formats one or many SQL statements using the open-source sql-formatter library, which understands the syntax of PostgreSQL, MySQL, SQL Server, Oracle, BigQuery, Snowflake and other dialects. Choose upper, lower or preserved keyword case and your indentation. The formatter loads only when you open this tool.
Everything runs in your browser. Your data is never uploaded, logged or stored.
Your code or text
Standard SQL, PostgreSQL, MySQL, SQLite, T-SQL
Processed in this browser
In-browser. Nothing is uploaded.
Your result
Ready to download or copy
Pick your database dialect.
Paste the SQL.
Adjust keyword case and indentation, then copy the result.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Paste the SQL.
Adjust keyword case and indentation, then copy the result.
Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open toolConvert YAML to JSON and JSON to YAML, including multi-document YAML files.
Open toolOpen large CSV and TSV files as a sortable, searchable table without Excel.
Open toolTurn CSV or JSON into INSERT statements, or a CREATE TABLE with inferred column types, for PostgreSQL, MySQL, SQLite or SQL Server.
Open tool