SQLite
Paste a SQLite query below.
Paste a SQLite query and get tidy formatting with uppercase keywords and indented subqueries. Recognizes SQLite specifics like GLOB, AUTOINCREMENT, WITHOUT ROWID and PRAGMA statements.
Paste a SQLite query below.
Strings, quoted identifiers and comments are masked first, then SQLite keywords such as GLOB, AUTOINCREMENT, PRAGMA and WITHOUT ROWID are uppercased. Clauses break onto separate lines, AND and OR stack vertically, and subqueries indent by parenthesis depth.
SQLite powers mobile apps, desktop tools and embedded devices. Formatted queries make on-device SQL easier to read in code reviews and simpler to debug when a query built with string concatenation misbehaves.