Overview
DB Fiddle is an online SQL playground. The page has a panel for schema SQL (your CREATE TABLE and INSERT statements) and a panel for queries; you pick a database engine and version, run it, and the results appear underneath. Each saved fiddle gets a link, which makes it a common way to share a reproducible example when asking or answering a SQL question.
The engine menu covers MySQL, MariaDB, PostgreSQL and SQLite, each in several versions, including old releases that are useful for checking how a query behaves on a legacy server. Extras include a Text to DDL helper that turns a pasted text table into CREATE and INSERT statements, a button that copies the schema, query and results as Markdown tables, and a live collaboration mode for working on a fiddle with someone else.
The site is free and shows a small advert. A paid PRO account removes adverts and adds private fiddles; fiddles saved without it are public, and the terms give the site a licence to use public content. It is aimed at developers, students and database administrators who want to test a query without installing a database.
Categories
Features
- Separate schema and query panels with results shown as tables
- MySQL, MariaDB, PostgreSQL and SQLite, each in several versions
- Saved fiddles get a shareable link
- Text to DDL helper that builds tables from pasted text
- Copy schema, query and results as Markdown
- Live collaboration on a fiddle with other people
- Private fiddles and advert removal with a PRO account
Privacy
The terms say fiddles are public unless you subscribe and mark them private, and that the site has a licence to use public content. The cookie notice mentions third-party advertising and analytics cookies.
Pros & Cons
Pros
- Nothing to install and no account needed for public fiddles
- Wide choice of engine versions, including older ones
- Markdown export is handy for forum posts and bug reports
- Queries run on real database engines rather than an emulation
Cons
- Fiddles are public unless you pay for PRO
- No SQL Server or Oracle in the engine list
- Shows adverts on the free version
- Your schema and data are sent to the site's servers to run, so it is not for confidential data
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Sandboxes · SQL Fiddle
Tests and shares SQL queries in the browser across database engines.
Free 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