• data_object Format SQL Format SQL

  • menu_book Guides Guides
  • tune Option docs Option docs
  • help FAQ FAQ

  • info About About
  • mail Contact Contact
  • policy Privacy Privacy
  • gavel Terms of use Terms of use
  • calculate calcular.online open_in_new calcular.online
SQL Format
sell Version 2.4.5 visibility Visits 3603
  • Português
  • Español
  • English
  • Français
  • العربية
  • Русский
  • हिन्दी
  • తెలుగు
  • தமிழ்
  • ಕನ್ನಡ
  • मराठी
  • 日本語
  • 한국어
  • 中文
  • Deutsch
  • Italiano
login Sign in
  1. Home
  2. Formatter option docs

Formatter option docs

One page per formatting option: what it changes, its allowed values and default, real before/after output from the engine, and when each setting makes sense.

  • format_indent_increase Indent spaces option How many spaces each nesting level gets (default 4), and how tabs in your input are handled.
  • wrap_text Maximum columns option The line width the formatter aims for (default 120), and how 0 turns wrapping off.
  • format_list_bulleted Comma placement option Trailing commas (default) or leading commas in SELECT lists and other comma-separated items.
  • text_fields Keyword case option Uppercase (default) or lowercase keywords, what is left untouched, and identifiers that are also keywords.
  • data_array Parentheses on new line option Whether an opening parenthesis that starts a block stays on the same line (default) or moves to its own line.

For broader advice on SQL style and readability, browse the guides.

Have a query that needs cleaning up? Paste it into the formatter and pick your options.

auto_fix_high Format your SQL now →
About Guides Option docs FAQ Changelog Contact Privacy Terms of use
data_object Format SQL
  • menu_book Guides
  • tune Option docs
  • help FAQ
  • info About
  • mail Contact
  • policy Privacy
  • gavel Terms of use
  • calculate calcular.online open_in_new

Leaving SQL Format

You will be redirected to a different site:

open_in_new Continue

cookie We use essential cookies to run the site and remember your preferences and, with your consent, Google Analytics and advertising cookies to measure the audience and show personalized ads. With "Essential only", no analytics cookies are set and you will see only non-personalized ads. Privacy information