SQL Playground

Runs entirely in your browser — your SQL never leaves this page.

Loading the analysis engine…

npx migrationpilot analyze migration.sql --pg-version 17

Results
Fetching the rule engine and PostgreSQL parser…

Your SQL never leaves this page

The rule engine and the PostgreSQL parser are downloaded once as WebAssembly and run on your machine. There is no analysis request to send, so there is nothing to log, store, or leak. Open DevTools and watch the network tab.

How it works

Your SQL is parsed by the real PostgreSQL grammar (libpg-query), not a regex. Each statement gets a lock classification, then the full rule set runs over the parse tree — the same code path the CLI uses.

Same results in CI

Copy the command above to check the file on disk, or add the GitHub Action to block unsafe migrations before merge. Read the docs →