SQL Formatter
Turn a one-line query into readable SQL, with the keywords lined up.
Tarayıcınızda çalışırÜcretsiz · kayıt gerekmez
SQL Formatter hakkında
Paste a query and get it back on sensible lines: each major clause starts a new line, joins and conditions are indented, and the keywords can be put in capitals. Strings and quoted names are left exactly as they were. Useful for a query pulled out of a log or an ORM.
Bu araç tarayıcınızda çalışır, bu yüzden dosyalarınız cihazınızdan hiç çıkmaz.
SQL Formatter nasıl kullanılır
- Paste your SQL.
- Choose whether keywords should be in capitals.
- Copy the formatted query.
Sorular
Which dialects work?
The common clauses of MySQL, PostgreSQL, SQLite and SQL Server all format fine. It lays the query out; it does not parse or validate it.
Will it change my query?
Only the spacing and the case of keywords. Text inside quotes is never touched.
Can it handle a very long query?
Yes, though deeply nested subqueries come out flatter than a hand-written layout would be.
İlgili araçlar
- Epoch Converter – Convert a Unix timestamp to a date and back, in your time, IST and UTC.
- Colour Contrast Checker – Check whether a text and background pair passes WCAG contrast rules.
- Lorem Ipsum Generator – Make placeholder text by paragraphs, sentences or words.
- JSON Biçimlendirici ve Doğrulayıcı – JSON'u düzenleyin, küçültün ve doğrulayın. Her hatanın tam satır ve sütununu gösterir.
- Kelime ve Karakter Sayacı – Kelimeleri, karakterleri, cümleleri ve paragrafları sayın; okuma süresi ve en çok geçen anahtar kelimelerle.
- Harf Büyüklüğü Dönüştürücü – Metni BÜYÜK HARF, küçük harf, Başlık Biçimi, Cümle biçimi, camelCase, snake_case ve daha fazlasına çevirin.
- Parola Oluşturucu – Güçlü rastgele parolalar oluşturun. Uzunluğu ve karakterleri seçin, ne kadar güçlü olduklarını görün.
- Hash ve UUID Oluşturucu – Metin ve dosyalar için UUID'ler ile MD5, SHA-1, SHA-256, SHA-384 veya SHA-512 hash'leri üretin.