🍋 Developer Tools

SQL Formatter

Format and minify SQL queries

Free 브라우저 전용 No sign-up
chars words sentences lines

옵션

Type or paste something into the Input box to enable this button.

결과

결과

SQL Formatter 소개

Format messy SQL queries into readable, indented code or minify formatted SQL into a single line. Supports keyword uppercasing.

작동 방식

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.

단계별 사용법

  1. 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']

팁

  • [
  • '
  • 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
  • '
  • ]

자주 묻는 질문