60+ free tools ยท 5 SQL dialects ยท Zero setup

Everything you need to diff schemas, generate migrations, and ship safely

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.

See the diff in seconds

Paste two schema dumps. Get a visual diff, breaking-change warnings, and a migration script instantly.

users.sql โ€” Added Table

Before

-- No users table yet

After

CREATE TABLE users ( id SERIAL PRIMARY KEY, email VARCHAR(255) NOT NULL UNIQUE, created_at TIMESTAMP DEFAULT now() );
Add Table users (3 columns)
๐Ÿ“Š 1 table added โšก 0 breaking changes ๐ŸŸข Low Risk
Run This Diff Yourself โ†’

Built for real-world schema workflows

From side projects to enterprise teams, SchemaLens handles the edge cases so you don't have to.

๐Ÿ”

Visual Schema Diff

Side-by-side comparison of tables, columns, indexes, constraints, views, triggers, and functions. See exactly what changed at a glance.

5 dialects
โšก

Migration Script Generation

Generate ready-to-run ALTER TABLE scripts for PostgreSQL, MySQL, SQLite, SQL Server, and Oracle. Copy and execute in seconds.

Pro feature
๐Ÿ›ก๏ธ

Breaking Change Detection

Automatically flags dangerous changes โ€” dropped columns, type narrowing, NOT NULL additions, dropped tables โ€” before they hit production.

14 warning types
๐Ÿ“Š

Risk Scoring

Every 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-time
โ†ฉ๏ธ

Rollback Generation

Generate reverse migration scripts to undo any change. Safely experiment with schema changes knowing you can revert instantly.

Pro feature
๐Ÿ“‹

PR Summaries & Reports

Copy a markdown summary for PR descriptions, generate a branded PDF report for Jira/Linear, or send results to Slack in one click.

Pro feature

Works where you work

SchemaLens fits into every step of your development workflow โ€” from local editing to production CI.

GitHub Action

Auto-diff schema files on every pull request with risk scores and breaking-change comments.

Setup Guide โ†’

VS Code

Diff schemas without leaving your editor. Right-click any two SQL files and compare instantly.

Install โ†’

Chrome Extension

Diff SQL you find on any webpage. One-click "Diff in SchemaLens" button on GitHub PRs.

Get Extension โ†’

CLI

Run schema diffs from your terminal. Perfect for CI pipelines and automation scripts.

Docs โ†’

REST API

Programmatic access to the diff engine. Free tier available for open-source projects.

API Docs โ†’

Built for every role

Whether you're a solo developer or running platform engineering for a team, SchemaLens has you covered.

Ship schema changes with confidence

Stop eyeballing schema dumps. Paste your old and new schema, see the diff instantly, and get a migration script you can run immediately.

  • Free for schemas up to 15 tables
  • No account or signup required
  • Works in your browser โ€” no install needed
  • Copy-ready migration scripts
  • Breaking change warnings before you deploy
Open Web App โ†’
AddColumn users.avatar_url VARCHAR(512)
ModColumn posts.status VARCHAR(20) โ†’ VARCHAR(50)
DelColumn orders.legacy_id (breaking)
๐ŸŸก Medium Risk โ€” 1 breaking change

Review schema changes as a team

Catch breaking changes during code review, not during deploy. Every PR gets an automatic schema diff with risk scoring and migration warnings.

  • Shareable diff links for Slack/Discord
  • GitHub Action for automatic PR comments
  • Team workspace with shared history
  • PDF reports for audit trails
  • Admin dashboard with usage analytics
Book a Team Demo โ†’
๐Ÿค– SchemaLens Bot commented 2 minutes ago
Schema Diff Report ยท Risk Score: 42/100

โš ๏ธ Breaking: users.phone dropped
โœ… 2 tables added ยท 1 modified ยท 0 removed
ALTER TABLE users DROP COLUMN phone;

Automate schema validation in CI

Add the SchemaLens GitHub Action to your repo and catch schema drift before it reaches production. Works with any migration framework.

  • Zero-config GitHub Action setup
  • Fails builds on high-risk schema changes
  • Supports Prisma, Drizzle, TypeORM, Sequelize, raw SQL
  • Free diff API for open-source projects
  • Self-hosted CLI for private pipelines
View Action Setup โ†’
# .github/workflows/schema.yml
- name: Schema Diff
  uses: aimadetools/race-kimi@v1
  with:
    schema-old: base.sql
    schema-new: head.sql
    dialect: postgres
    fail-on-breaking: true

SchemaLens vs. doing it manually

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
5
SQL Dialects
60+
Free Micro-Tools
200+
SEO Pages
$39
Lifetime Pro

Frequently asked questions

What is included in the free tier? โ–ผ
The free tier includes visual schema diff, breaking change detection, and risk scoring for schemas up to 15 tables. No signup required. Pro unlocks unlimited tables, migration script generation, rollback scripts, PDF reports, PR summaries, and all CI integrations.
Which databases are supported? โ–ผ
SchemaLens supports PostgreSQL (including Supabase, Neon, TimescaleDB), MySQL (including MariaDB, PlanetScale), SQLite, SQL Server (including Azure SQL), and Oracle.
Do I need to install anything? โ–ผ
Nope. The web app works entirely in your browser โ€” your schema data never leaves your machine. Optional integrations include the VS Code extension, Chrome extension, CLI, and GitHub Action.
Is my schema data private? โ–ผ
Yes. The core diff engine runs entirely client-side in your browser. We never see your schema unless you explicitly choose to save it to your account (optional).
What does "Lifetime Pro" mean? โ–ผ
One payment of $39 gets you unlimited access to all Pro features forever โ€” no subscriptions, no renewal fees. Includes all future updates and new integrations.
Can I use SchemaLens in my CI/CD pipeline? โ–ผ
Yes. The SchemaLens GitHub Action automatically diffs schema files on every pull request. We also offer a free REST API and a CLI for custom pipelines.

Stop diffing schemas by hand

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.