Clean, beautify, and standardize your SQL queries instantly. Format SQL with uppercase keywords, adjustable indentation, and multiple SQL dialect options including PostgreSQL, MySQL, SQLite, and MariaDB.
SQL (Structured Query Language) statements can quickly grow into complex, nested walls of text involving multiple joins, common table expressions (CTEs), and window functions. Consistent indentation and keyword capitalization turn confusing queries into clear, maintainable code.
select users.id, orders.total from users join orders on users.id = orders.user_id where users.active = 1 order by orders.total desc limit 10;
SELECT users.id, orders.total FROM users JOIN orders ON users.id = orders.user_id WHERE users.active = 1 ORDER BY orders.total DESC LIMIT 10;
Test regular expressions in real-time with match highlighting and preset cheatsheets.
Compare two text files side-by-side or inline to find added, deleted, and changed lines.
Convert Unix epoch timestamps to human-readable UTC and local dates and vice versa.