HomeDeveloper toolsSQL Text Comparator

SQL Text Comparator

Compare formatted SQL text and show changed lines.

Processing stays in your browser. Normalizes formatting using the selected SQL formatter. Equal formatted text is not proof of semantic equivalence; queries are not executed.

How to use the sql text comparator

Compare formatted SQL text and show changed lines. Complete the first sql, second sql, dialect fields above, or upload a UTF-8 text file for first sql. Choose Run tool, review the output, then copy or download the result.

Example

Changing true to false appears in the line diff.

Good to know

Normalizes formatting using the selected SQL formatter. Equal formatted text is not proof of semantic equivalence; queries are not executed.