Overview
SQL Fiddle is a browser-based playground for writing and running SQL. You pick a database engine, type your schema and queries into the editor, run them, and see the results on the same page. It is aimed at people learning SQL and at developers who want to test a query quickly or show a problem to someone else, for example when asking or answering a question on Stack Overflow.
The current site supports SQL Server, SQLite, PostgreSQL, MySQL, MariaDB and Oracle, including Oracle PL/SQL. A fiddle can be shared with a link so another person sees the same code. The site also has AI helpers: a chat panel in the sidebar and an AI SQL generator that can write or edit queries from a description. These AI features need you to log in with a Google or GitHub account and are limited by a daily token allowance.
This is a rebuilt version of the original SQL Fiddle. The old version was shut down at the end of 2023 and its code archived; the site is now maintained by Jonathan Magnan of ZZZ Projects, who describes it as a hobby project. The site says it is free to use and ad-free, though it does promote its owner's own products.
Categories
Features
- Runs SQL in the browser against a real database engine
- Supports SQL Server, SQLite, PostgreSQL, MySQL, MariaDB and Oracle
- Oracle PL/SQL mode
- Shareable links to a fiddle
- AI chat panel with quick actions such as explain and clarify
- AI SQL generator for writing or editing queries
- Login with Google or GitHub for the AI features
Privacy
See the official privacy policy. The page loads Google Tag Manager and Cloudflare analytics, and its cookie banner offers only "accept all" or leaving the site. Queries are run on the site's servers, so do not paste confidential data.
Pros & Cons
Pros
- Nothing to install: no local database server needed
- Covers the most widely used database engines in one place
- The site states it is free and ad-free
- Shared links make it easy to show a query problem to others
Cons
- AI chat and AI editor need a login and have a daily token limit
- The history feature was still listed as under development when checked
- The cookie banner offers only accepting all cookies or leaving the site
- A hobby-run service, so availability is not guaranteed
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Tests and shares SQL queries in the browser.
Freemium No Signup Web -
Sandboxes · SQLite Online
Runs SQLite queries in the browser.
Free Web -
Sandboxes · TutorialsPoint Coding Ground
Runs code online in 90+ languages.
Freemium Web -
Sandboxes · PythonAnywhere
Runs Python code in the cloud.
Freemium Web API