
db<>fiddle
db<>fiddle is a free online SQL playground that runs SQL against a real database engine and provides a permanent link to each result.
What db<>fiddle is
db<>fiddle is a free online SQL playground that runs SQL against a real database engine and provides a permanent link to each result. It works without an account and supports MySQL, SQL Server, PostgreSQL, Oracle, SQLite, MariaDB, Db2, DuckDB, DocumentDB, YugabyteDB, Firebird, and TimescaleDB. The live engine list includes multiple versions for supported databases, and some versions offer sample schemas. Its HTTP API accepts SQL batches through a POST request, runs them in order against the same fresh database, and returns the new fiddle code as plain text. This lets a later batch use objects created earlier. An optional sample parameter selects a preloaded schema when one is offered for the chosen engine version. A fiddle URL can return SQL and results in Markdown when requested with the text/markdown Accept header. The maker says each run executes on a real disposable VM. Fiddles are not enumerable, so a fiddle without a shared link is not visible to others. The site says it logs only the first three octets of IP addresses and uses no cookies, tracking scripts, or fingerprinting. Submitted content is covered by Creative Commons CC0.
Good
- Supports twelve listed database engines
- No account is needed
- SQL batches can run in sequence through the API
- Fiddle URLs can return results in Markdown
Watch out
- Submitted content is covered by Creative Commons CC0
- A fiddle without its shared link is not visible to others
Who it suits
It suits people who want to run SQL online across a range of database engines without creating an account. The project describes the editor as useful for markdown-based Q&A sites and longer, multi-step code.
Verdict
db<>fiddle offers a broad choice of database engines and supports both linked results and API-based SQL batches. Keep in mind that submitted content is covered by CC0 when deciding what to share.
Plans and prices
From db<>fiddle's own pricing page, checked 7 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Free | Free | No account needed · online SQL playground |
The facts
Each one read from db<>fiddle's own pages, with the date it was checked.
What it does
- Accounts
- The service is free to use and does not require an account.checked 7 Oct 2026
- API
- The API accepts SQL batches through a POST request and returns the new fiddle code as plain text.checked 7 Oct 2026
- Database engines
- It supports MySQL, SQL Server, PostgreSQL, Oracle, SQLite, MariaDB, Db2, DuckDB, DocumentDB, YugabyteDB, Firebird and TimescaleDB.checked 7 Oct 2026
- Engine versions
- The live engine list includes multiple versions for supported databases, with some versions offering sample schemas.checked 7 Oct 2026
- Execution isolation
- The maker says every run executes on a real disposable VM.checked 7 Oct 2026
- Fiddle visibility
- Fiddles are not enumerable, so the maker says a fiddle without a shared link is not visible to others.checked 7 Oct 2026
- Intended audience
- The project describes the editor as suited to markdown-based Q&A sites and longer, multi-step code.checked 7 Oct 2026
- Markdown output
- A fiddle URL returns SQL and results in Markdown when requested with the text/markdown Accept header.checked 7 Oct 2026
- Privacy
- The site says it logs only the first three octets of IP addresses and uses no cookies, tracking scripts or fingerprinting.checked 7 Oct 2026
- Private projects
- Yeschecked 20 Sep 2026
- Purpose
- db<>fiddle runs SQL against a real database engine and provides a permanent link to the result.checked 7 Oct 2026
- Sample schemas
- An optional sample parameter selects a preloaded schema when the chosen engine version offers one.checked 7 Oct 2026
- SQL batches
- The HTTP API runs batches in order against the same fresh database, so later batches can use objects created earlier.checked 7 Oct 2026
- Submitted content
- Everything submitted is covered by Creative Commons CC0.checked 7 Oct 2026
The company
- Founded
- 2017checked 28 Sep 2026
- Maker
- The site credits Jack Douglas and displays a 2017–2026 copyright.checked 7 Oct 2026
Money
- Free plan
- Yeschecked 20 Sep 2026
Alternatives to db<>fiddle
- 1

Replit
Free planAndroidiOSWebLinux8.4From $18 a month - 2

Playcode
Free planAndroidiOSWebAPI8.2From $25 a month - 3

StackBlitz
Free planAndroidiOSWebAPI8.2Free plan - 4

JDoodle
Free planAndroidiOSWebAPI8.0From $4 a month - 5

CodeHS
Free planAndroidiOSWeb7.6From $990 a year - 6

Google Colab
Free planWebAPIExtensionSelf-hosted7.6Free plan
