Tool Hub

SQL प्रारूपक

15+ बोली समर्थन के साथ SQL फॉर्मेटर

Formatted SQL
select
  id,
  name,
  email
from
  users
where
  created_at > '2025-01-01'
  and (
    status = 'active'
    or last_login_at > now() - interval '7 days'
  )
order by
  created_at desc
limit
  100;

कैसे उपयोग करें

  1. Paste your SQL query or statement into the input.
  2. Pick the dialect that matches your database (PostgreSQL, MySQL, SQLite, and 12+ others).
  3. Choose an indent width and keyword case (upper or lower).
  4. The formatted, readable SQL appears instantly — copy it back into your editor.

उदाहरण

  • A one-line query like select id,name from users where age>18 order by name becomes a multi-line statement with SELECT, FROM, WHERE, and ORDER BY each on their own line and the columns indented.
  • Switching the dialect to PostgreSQL keeps double-quoted identifiers intact, while MySQL mode preserves backticks.

उत्पादन में उपयोग से पहले आउटपुट सत्यापित करें। कोई वारंटी नहीं — देखें शर्तें.