Text Diff

Compare two SQL scripts

Original
Changed

What this does

Line-by-line comparison of two SQL files, with the changed words highlighted inside each edited line — so a switched column type or a dropped index is obvious rather than buried.

Use 'Ignore case' for keywords

SQL keywords are often written inconsistently: SELECT in one file and select in the other. Tick Ignore case and those stop counting as differences, leaving only the changes that actually matter. Ignore whitespace does the same for reformatted indentation.

Common uses

Reviewing a schema migration before running it, comparing a database dump taken before and after a deployment, checking that a stored procedure on staging matches production, and reading a colleague's changes before approving them.

Is it private?

Yes. The comparison happens in your browser. Nothing is sent to a server, so connection strings, table names and any data embedded in the script stay on your machine.