Pro
sqlPopularIn-Browser

SQL Query & Schema Diff

Compare two SQL queries, DDL schemas, or migration scripts side by side with visual diff highlighting and AST normalization.

Left: 5 lines • Right: 6 lines
Original SQL Query (Version A)
Modified SQL Query (Version B)
AST Clause Normalization Active (Zero Database Connection Required)

Are you a happy user?

Forge DevTools is free, private, and runs 100% in your browser.

Want more features?Upgrade to Pro
Buy us Coffee
Sharing is caring
Come back!
Link to this tool
Send Feedback

Key Capabilities & Features

Side-by-side split diff and inline unified diff views.
Normalizes keywords and whitespace to highlight genuine logical differences.
Built-in watchdog protection against large script comparison freezes.
Supports MySQL, PostgreSQL, SQLite, and Microsoft SQL Server DDL.

How to Use This Tool in 3 Steps

1

Provide Input

Paste your raw code or data, choose options, or load a pre-configured sample.

2

Instant Client-Side Processing

The parser compiles your data instantly inside your browser without any network round-trip.

3

Copy or Export

Copy the result directly with one click or export to a local downloadable file.

Frequently Asked Questions

Yes! You can paste two DDL schema scripts side by side to quickly inspect table, column, and index migrations.