We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Online SQL Editor – Compiler, IDE, and Playground

Edit, run, and debug SQL code online for free! Powered by SQLite that runs on our server.

Edit the SQL script above or write your own schema and queries, then press Run. Boot.dev executes the script with SQLite and displays the final result set below the editor.

Use it to practice table creation, inserts, joins, filters, grouping, and other SQLite queries without setting up a database.

How to use the online SQL editor

  1. Write the schema, sample data, and query you want to test in main.sql.
  2. Press Run to execute the complete script in a fresh SQLite environment.
  3. Inspect the result table or error, revise the SQL, and run it again.

What this SQL playground supports

  • SQLite syntax. Run a complete SQLite script from top to bottom.
  • Schema and sample data. Create tables and insert rows before running a query.
  • Tabular results. See the final query's columns and rows in the output pane.
  • Local autosave. Keep the SQL script in this browser between visits.

Learn SQL by querying real data

Build durable SQL skills with hands-on lessons covering relational data, joins, aggregation, subqueries, and database design.

Learn SQL course

(it takes 2 minutes)

Online SQL editor FAQ

Yes. You can edit and run SQL without installing a database or creating an account. An account is only needed to create a share link.