A bilingual dictionary for humans and relational databases
It bridges human language and database queries so you don't have to be the interpreter.

What it does SQL Translator is a web-based, bidirectional converter: type a request in plain English and get SQL, or paste SQL and get a human-readable explanation. It wraps this in a simple interface with syntax highlighting, query history, and a dark mode toggle. The project is open source and free to use, though it leans on the OpenAI API for the actual translation.
The interesting bit The tool is essentially a polished frontend for OpenAI’s API, but the bidirectional flow keeps it from being just another one-way prompt generator. Schema awareness, currently in beta, hints at an attempt to ground the model in your actual table structures rather than hoping it guesses column names correctly.
Key highlights
- Translates both ways: natural language to SQL, and SQL back to plain English
- Schema awareness (beta) to tailor queries to your actual database structure
- Query history, dark mode, and SQL syntax highlighting built in
- Open-source web interface released under the MIT license
Caveats
- Requires your own OpenAI API key; translations are not local or self-hosted
- Schema awareness is still in beta, and the README is vague on how it works
- Functions and stored procedures are on the roadmap but not yet supported
Verdict Worth a look if you want a quick, shareable interface for ad-hoc SQL generation or explanation, but skip it if you need offline, self-hosted intelligence or deep database integration.
Frequently asked
- What is whoiskatrin/sql-translator?
- It bridges human language and database queries so you don't have to be the interpreter.
- Is sql-translator open source?
- Yes — whoiskatrin/sql-translator is open source, released under the MIT license.
- What language is sql-translator written in?
- whoiskatrin/sql-translator is primarily written in TypeScript.
- How popular is sql-translator?
- whoiskatrin/sql-translator has 4.3k stars on GitHub.
- Where can I find sql-translator?
- whoiskatrin/sql-translator is on GitHub at https://github.com/whoiskatrin/sql-translator.