SchemaLens is the complete toolkit for comparing SQL schemas, catching breaking changes, and generating ready-to-run migration scripts โ right in your browser, CLI, or CI pipeline.
No signup required. Free tier includes 15 tables.
Paste two schema dumps. Get a visual diff, breaking-change warnings, and a migration script instantly.
From side projects to enterprise teams, SchemaLens handles the edge cases so you don't have to.
Side-by-side comparison of tables, columns, indexes, constraints, views, triggers, and functions. See exactly what changed at a glance.
5 dialectsGenerate ready-to-run ALTER TABLE scripts for PostgreSQL, MySQL, SQLite, SQL Server, and Oracle. Copy and execute in seconds.
Pro featureAutomatically flags dangerous changes โ dropped columns, type narrowing, NOT NULL additions, dropped tables โ before they hit production.
14 warning typesEvery diff gets a 0-100 risk score based on the number and severity of changes. Know at a glance if a migration needs extra review.
Real-timeGenerate reverse migration scripts to undo any change. Safely experiment with schema changes knowing you can revert instantly.
Pro featureCopy a markdown summary for PR descriptions, generate a branded PDF report for Jira/Linear, or send results to Slack in one click.
Pro featureSchemaLens fits into every step of your development workflow โ from local editing to production CI.
Auto-diff schema files on every pull request with risk scores and breaking-change comments.
Setup Guide โDiff schemas without leaving your editor. Right-click any two SQL files and compare instantly.
Install โDiff SQL you find on any webpage. One-click "Diff in SchemaLens" button on GitHub PRs.
Get Extension โRun schema diffs from your terminal. Perfect for CI pipelines and automation scripts.
Docs โProgrammatic access to the diff engine. Free tier available for open-source projects.
API Docs โWhether you're a solo developer or running platform engineering for a team, SchemaLens has you covered.
Stop eyeballing schema dumps. Paste your old and new schema, see the diff instantly, and get a migration script you can run immediately.
Catch breaking changes during code review, not during deploy. Every PR gets an automatic schema diff with risk scoring and migration warnings.
users.phone droppedALTER TABLE users DROP COLUMN phone;
Add the SchemaLens GitHub Action to your repo and catch schema drift before it reaches production. Works with any migration framework.
See how SchemaLens compares to the workflows developers use today.
| Manual diff | pg_dump / mysqldiff | SchemaLens | |
|---|---|---|---|
| Visual side-by-side diff | โ | โ | โ |
| Breaking change detection | โ | โ | โ Auto-detect 14 types |
| Migration script generation | โ | โ | โ All 5 dialects |
| Risk scoring | โ | โ | โ 0-100 score |
| Rollback scripts | โ | โ | โ One-click |
| PR comment generation | โ | โ | โ Markdown copy |
| CI / GitHub Action | โ | โ | โ Native |
| Browser-based (no install) | โ | โ | โ |
| Cost | Hours of engineering time | Free + maintenance | $39 one-time |
Join thousands of developers who use SchemaLens to catch breaking changes, generate migrations, and ship schema updates with confidence.
Free for schemas up to 15 tables. Lifetime Pro $39 โ one-time payment.