About sqllint
What it does
sqllint reads SQL token by token and lays it out again for PostgreSQL, MySQL or SQLite. Keyword case, indent width and comma placement are yours to choose, while comments, string literals and semicolons are preserved. A minifier keeps the same tokens and drops only whitespace and comments.
The linter reports unbalanced brackets, quotes and block comments, UPDATE or DELETE without WHERE, SELECT *, a leading wildcard in LIKE, a function or arithmetic wrapped around a column in a condition, implicit casts, chains of OR, the NULL trap in NOT IN, repeated single-row lookups, and syntax that belongs to another dialect, each with its line.
CREATE TABLE and CREATE INDEX become a summary of columns, types, NULL, defaults, PK, FK, UNIQUE, CHECK and indexes, with warnings when a foreign key has no index or a table carries too many.
Every calculation runs in the page's own JavaScript. There is no server, database or external API.
Who runs it
Built and operated by OPYEB. No account or installation is needed, and the site is deployed as static files only.
What it does not do
It does not execute SQL. Because it never connects to a database it cannot measure a real execution plan or index usage; what you see is a text analysis, and each diagnostic is a suggestion for review.
It does not rewrite your SQL. The original text stays as it is and only the position and the direction of a fix are reported.
Contact
Feature requests, bug reports and privacy questions go to https://opyeb.com/contact/. Please do not include production queries or real table names.