Format and Validate SQL Formatter Run Sample Copy Clear SQL input Paste or edit select id,name from users where active=1 order by name Formatted SQL Local output SELECT id, name FROM users WHERE active = 1 ORDER BY name