Formats SQL queries with proper keyword capitalization, indentation, and clause alignment for readable database operations.
Format and prettify GraphQL queries with proper indentation. Makes complex nested queries readable and maintainable.
Indents and structures HTML markup with proper nesting, attribute alignment, and readable indentation for templates and email designs.
Formats JSX/React component code with proper indentation, prop alignment, and JSX expression structure for readable component definitions.
Converts CSV files to SQL format — spreadsheets, database exports, and data imports to relational database operations, data analysis, and reporting. All conversion happens locally in your browser with no file size limits.
Import CSV data directly into a SQLite database. Run SQL queries, filter rows, and export results.
MySQL, PostgreSQL, SQL Server, BigQuery, SQLite, Oracle, and Standard SQL. Each dialect applies the correct keyword syntax and function formatting.
Yes. Choose between uppercase keywords (SELECT, WHERE, JOIN), lowercase (select, where, join), or original case. Uppercase is the most common convention.
Yes. CTEs, subqueries, window functions, CASE expressions, JOINs, and nested queries are all formatted correctly with proper indentation and alignment.
Some formatters support minification. Check if this tool has a minify toggle — the primary function is pretty-printing for readability.
No. All formatting happens locally in your browser using the sql-formatter library. No SQL is sent to any server.
Code Formatter
Auto-formats source code across 15+ languages — JavaScript, Python, HTML, CSS, SQL, YAML — with language-aware indentation and syntax rules.
JSON Formatter
Pretty-prints raw JSON with configurable indent width, key sorting, and bracket collapsing options while flagging syntax errors with exact.
CSV to SQL INSERT
Converts CSV files to SQL format — spreadsheets, database exports, and data imports to relational database operations, data analysis, and reporting. All conversion happens locally in your browser with no file size limits.