🍋 Developer Tools
SQL Formatter
Format and minify SQL queries
chars
words
sentences
lines
Opções
Type or paste something into the Input box to enable this button.
Resultados
None found.
Resultado
Sobre SQL Formatter
Format messy SQL queries into readable, indented code or minify formatted SQL into a single line. Supports keyword uppercasing.
Como funciona
Tokenizes the SQL string and inserts line breaks and indentation after major keywords (SELECT, FROM, WHERE, JOIN, etc.). Minify mode removes extra whitespace and joins everything to one line.
Passo a passo
- 1 ['Paste a SQL query in the input area', 'Choose action: Format or Minify', 'Set indentation (2 or 4 spaces)', 'Toggle keyword uppercasing', 'Click Format']
Dicas
- [
- '
- U
- p
- p
- e
- r
- c
- a
- s
- e
- d
- k
- e
- y
- w
- o
- r
- d
- s
- (
- S
- E
- L
- E
- C
- T
- ,
- F
- R
- O
- M
- ,
- W
- H
- E
- R
- E
- )
- a
- r
- e
- t
- h
- e
- i
- n
- d
- u
- s
- t
- r
- y
- c
- o
- n
- v
- e
- n
- t
- i
- o
- n
- f
- o
- r
- r
- e
- a
- d
- a
- b
- i
- l
- i
- t
- y
- '
- ,
- '
- U
- s
- e
- m
- i
- n
- i
- f
- y
- t
- o
- c
- o
- m
- p
- r
- e
- s
- s
- S
- Q
- L
- f
- o
- r
- U
- R
- L
- s
- o
- r
- c
- o
- n
- f
- i
- g
- u
- r
- a
- t
- i
- o
- n
- f
- i
- l
- e
- s
- '
- ,
- '
- T
- h
- e
- f
- o
- r
- m
- a
- t
- t
- e
- r
- h
- a
- n
- d
- l
- e
- s
- c
- o
- m
- m
- o
- n
- S
- Q
- L
- d
- i
- a
- l
- e
- c
- t
- s
- i
- n
- c
- l
- u
- d
- i
- n
- g
- M
- y
- S
- Q
- L
- ,
- P
- o
- s
- t
- g
- r
- e
- S
- Q
- L
- ,
- a
- n
- d
- S
- Q
- L
- i
- t
- e
- '
- ]