๐Ÿš€ SchemaLens is free forever. Upgrade to Lifetime Pro for $39 โ€” or get Pro free by sharing โ†’
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 forever โ€” unlimited tables.

โšก Schema diff in every PR

Add SchemaLens to GitHub Actions, GitLab CI, Jenkins, CircleCI, or Bitbucket and catch breaking schema changes before they merge. Free tier included.

โšก CI/CD Setup Wizard Add GitHub Action โ†’ View All CI/CD Templates

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.

Add to Pipeline โ†’

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 โ†’

Schema Drift Alerts

Hosted webhook sends Slack/Teams alerts and shareable alert pages. Build a team dashboard from alert links.

Team Dashboard โ†’

Slack App

Run /schemalens in any channel and get CI/CD breaking-change alerts directly in your workspace.

Add to Slack โ†’

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 forever โ€” unlimited 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.

  • GitHub Action for automatic PR comments
  • Slack/Teams drift alerts on breaking changes
  • Team workspace with shared history
  • Shareable alert pages for Jira / on-call
  • PDF reports for audit trails
  • Admin dashboard with usage analytics
Start Team Plan โ€” $29/mo โ†’

Get a manager-ready business case โ†’

๐Ÿค– 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
  • Smart skip โ€” only runs when .sql files change
  • Supports Prisma, Drizzle, TypeORM, Sequelize, raw SQL
  • Team alerts via Slack/Teams webhooks
  • Self-hosted CLI for private pipelines
Add to Pipeline โ†’
# .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 unlimited visual schema diff, full migration SQL generation, rollback scripts, breaking change detection, and risk scoring. No signup required. Pro adds export formats (Markdown, PDF, JSON), unlimited saved diff history, shareable links, and access to all 80+ micro-tools.
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.

Built for teams that ship schema changes every week

The web diff is free forever. The Team plan adds the alerts, dashboards, and admin controls engineering orgs need to move fast without breaking production.

๐Ÿ›ก๏ธ Prevent incidents before they reach production
โฑ๏ธ Cut review time with auto-generated diff reports
๐Ÿ”” Alert Slack/Teams on every breaking change
๐Ÿ“Š Track risk trends across every pipeline run
Start Team Plan โ€” $29/mo โ†’ Book a Setup Call

Team plan: $29/mo or $290/yr ยท unlimited members ยท one prevented incident pays for a year

Stop diffing schemas by hand

SchemaLens helps developers catch breaking changes, generate migrations, and ship schema updates with confidence. Your SQL never leaves your browser.

Free forever โ€” unlimited tables. Team plan from $29/mo.