Free online SQL and database tools to format, validate, and convert SQL queries. Pretty print, minify, and convert between SQL dialects.
28 tools available
SQL Formatter
Free online SQL formatter — format and pretty-print SQL queries with proper indentation and keyword casing instantly in your browser. No data is stored. Supports SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, and complex JOIN queries.
SQL Minifier
Free online SQL minifier — compress SQL queries by removing whitespace, comments, and unnecessary formatting instantly in your browser. No data is stored. Preserves string literals and query semantics.
SQL Validator
Free online SQL validator — check SQL queries for syntax errors, missing clauses, and common issues like DELETE without WHERE instantly in your browser. No data is stored. Reports statement count, types, and warnings.
SQL to JSON
Free online SQL to JSON converter — parse SQL queries into detailed AST JSON representation with column references, table refs, binary expressions, and clause structure instantly in your browser. No data is stored.
SQL Parser
Free online SQL parser — parse SQL queries into structured AST-like JSON with columns, tables, conditions, and clauses instantly in your browser. No data is stored.
SQL Explainer
Free online SQL explainer — translate SQL queries into plain English descriptions with clause-by-clause breakdown instantly in your browser. No data is stored. Explains SELECT, JOIN, WHERE, GROUP BY, and subqueries.
SQL to NoSQL
Free online SQL to NoSQL converter — transform SQL SELECT queries into MongoDB-style find, sort, and limit query syntax instantly in your browser. No data is stored.
SQL Dialect Converter
Free online SQL dialect converter — convert SQL between MySQL, PostgreSQL, and SQLite syntax instantly in your browser. No data is stored. Handles AUTO_INCREMENT vs SERIAL, TINYINT vs BOOLEAN, engine clauses, and quoting differences.
SQL Query Builder
Free online SQL query builder — construct SELECT, INSERT, UPDATE, and DELETE queries from parameters with dialect support for MySQL, PostgreSQL, and SQLite instantly in your browser. No data is stored.
SQL Index Suggester
Free online SQL index suggester — analyze queries and recommend CREATE INDEX statements for WHERE, JOIN, and ORDER BY columns instantly in your browser. No data is stored.
JSON to SQL INSERT
Free online JSON to SQL INSERT converter — transform JSON arrays or objects into SQL INSERT statements instantly in your browser. No data is stored. Auto-detects column names from JSON keys and handles nested values.
CSV to SQL INSERT
Free online CSV to SQL INSERT converter — transform CSV data into SQL INSERT statements instantly in your browser. No data is stored. Handles quoted values, custom table names, and generates properly escaped SQL.
Connection String Builder
Free online database connection string builder — generate PostgreSQL, MySQL, MongoDB, Redis, SQLite, and MSSQL connection URIs from parameters instantly in your browser. No data is stored. Supports URI, key-value, and environment variable output formats.
DSN Parser
Free online DSN parser — parse PHP PDO, JDBC, ODBC, and ADO.NET data source name strings into structured components instantly in your browser. No data is stored. Extracts driver, host, port, database, and connection parameters.
Redis Command Builder
Free online Redis command builder — generate GET, SET, HSET, LPUSH, SADD, ZADD, and other Redis commands in CLI, Node.js, or Python format instantly in your browser. No data is stored.
MongoDB Query Builder
Free online MongoDB query builder — construct find, insert, update, delete, aggregate, count, and distinct queries in shell, Node.js, or Python format instantly in your browser. No data is stored.
Elasticsearch Query Builder
Free online Elasticsearch query builder — construct match, term, range, bool, and wildcard queries in JSON, cURL, or Python format instantly in your browser. No data is stored. Supports pagination, sorting, and complex boolean queries.
Database URL Converter
Free online database URL converter — transform database connection URLs into env, JSON, YAML, Prisma, Sequelize, TypeORM, Knex, Django, Laravel, and Spring configuration formats instantly in your browser. No data is stored.
ER Diagram Generator
Free online ER diagram generator — create entity-relationship diagrams from SQL CREATE TABLE statements instantly in your browser. No data is stored. Generates Mermaid diagram syntax with tables, columns, types, and relationships.
CREATE TABLE Generator
Free online CREATE TABLE generator — build SQL CREATE TABLE statements from column definitions with constraints instantly in your browser. No data is stored. Supports primary keys, unique constraints, NOT NULL, defaults, auto-increment, foreign keys, and check constraints.
SQL Diff
Free online SQL diff tool — compare two SQL queries side by side and detect structural differences in columns, tables, joins, and clauses instantly in your browser. No data is stored.
SQL Escape
Free online SQL escape tool — escape special characters in SQL strings to prevent syntax errors instantly in your browser. No data is stored. Supports MySQL, PostgreSQL, SQLite, and MSSQL escaping rules.
EXPLAIN Visualizer
Free online SQL EXPLAIN visualizer — parse and visualize PostgreSQL and MySQL query execution plans instantly in your browser. No data is stored. Shows scan types, costs, row estimates, and performance warnings.
Index Advisor
Free online SQL index advisor — analyze SQL queries and suggest optimal indexes for WHERE, JOIN, ORDER BY, and GROUP BY clauses instantly in your browser. No data is stored. Generates ready-to-use CREATE INDEX statements.
INSERT Generator
Free online SQL INSERT generator — build INSERT statements from table name, column definitions, and row data instantly in your browser. No data is stored. Supports multiple rows, batch inserts, and various SQL dialects.
Migration Generator
Free online SQL migration generator — create database migration scripts with up and down operations from structured actions instantly in your browser. No data is stored. Supports add/drop column, create/drop table, add/drop index, and rename operations.
Schema Diff
Free online SQL schema diff tool — compare two database schemas and generate ALTER TABLE migration statements for added, removed, and modified columns instantly in your browser. No data is stored.
SELECT Builder
Free online SQL SELECT builder — construct SELECT queries with joins, WHERE, GROUP BY, HAVING, ORDER BY, and LIMIT clauses from structured input instantly in your browser. No data is stored.