Natural Language SQL Query Tool: Ask Data in Plain English
You've got data in a CSV, an API response, or a database export. You need one number — total revenue last quarter, the top 5 customers by spend, how many orders shipped late. You know the answer is in there. But first you need to write SQL. And you need to remember whether it's GROUP BY before HAVING or after, whether your date column is a string or a timestamp, and why your LEFT JOIN just duplicated 40,000 rows. For a question that would take five seconds to ask a colleague, you're now 20 minutes deep in a query editor, debugging syntax.
This is exactly why natural language SQL query tools exist — and why they've exploded in popularity since 2024.
TL;DR: Which Natural Language SQL Tool Should You Use?
If you just need a quick answer: It depends on where your data lives.
- ChatGPT / GPT-4 — Best for generating SQL you'll paste somewhere else. No data connection.
- Perplexity — Great for questions about public data. Can't touch your private datasets.
- Mode Analytics — Solid BI platform with AI assist, but requires org setup and SQL knowledge.
- Harbinger Explorer — Best for querying your own data (APIs, CSVs, uploads) in plain English, directly in the browser. No server, no install.
Read on for the full breakdown.
What Is a Natural Language SQL Query Tool?
A natural language SQL query tool lets you type a question in plain English — like "What were the top 10 products by revenue in March?" — and get back a SQL query (and ideally, results) without writing the SQL yourself.
The core promise: ask questions about data the way you'd ask a human.
These tools use large language models to translate your intent into structured queries. The differences between them come down to three things:
- Where does the data live? (Can it access your actual data, or just generate SQL?)
- How accurate is the translation? (Does it understand your schema?)
- Can you iterate? (Follow-up questions, refinements, corrections?)
The Manual Way: Still Painful in 2026
Here's what "exploring data with a question" still looks like for most analysts:
Step 1: Open your SQL editor (DBeaver, DataGrip, VS Code with extensions).
Step 2: Connect to the database. Remember the host, port, credentials. Maybe VPN in first.
Step 3: Explore the schema. SHOW TABLES, DESCRIBE orders, figure out the column names and types.
Step 4: Write the query:
-- PostgreSQL
SELECT
p.product_name,
SUM(o.quantity * o.unit_price) AS total_revenue
FROM orders o
JOIN products p ON o.product_id = p.id
WHERE o.order_date >= '2026-01-01'
AND o.order_date < '2026-04-01'
GROUP BY p.product_name
ORDER BY total_revenue DESC
LIMIT 10;
Step 5: Debug. The date format was wrong. The join key was product_code, not id. Run it again.
Step 6: Get results. Realize you actually wanted it by month. Rewrite.
Total time: 30-60 minutes for what was a 10-second question.
The Alternatives: Compared Head-to-Head
ChatGPT / GPT-4
The most popular "natural language to SQL" tool is... a chatbot. Millions of analysts paste their schema into ChatGPT and ask it to write queries.
What it does well: Generates syntactically correct SQL across dialects (PostgreSQL, MySQL, BigQuery, Spark SQL). Handles complex joins, window functions, CTEs. You can paste error messages and it'll debug.
The catch: ChatGPT has no connection to your data. You paste a schema, it generates SQL, you paste that into your editor and run it. It's a translation layer, not a query tool. Every iteration requires copy-paste-run-copy-paste-ask.
When it works: You already have database access and just need help with SQL syntax. You're a developer who thinks faster in English than SQL.
When it doesn't: You want to actually see results. You don't have database access. Your schema is too large to paste into a chat window.
Perplexity
Perplexity positions itself as an "answer engine" and can pull data from public sources, research papers, and web content. Some users try to use it for data questions.
What it does well: Aggregates publicly available data with citations. Good for market research, industry statistics, benchmark comparisons.
The catch: It cannot access your private data — no CSV uploads, no API connections, no database queries. The "data analysis" is limited to what's already public on the internet. It also doesn't generate runnable SQL against your schema.
When it works: Your question is about public information — industry benchmarks, competitor pricing, market size.
When it doesn't: You have your own dataset and need to query it. Which is most of the time for analysts.
Mode Analytics
Mode is a full BI platform with a collaborative SQL editor, Python notebooks, and dashboards. In 2025, they added AI-assisted query generation.
What it does well: Direct database connections (Snowflake, BigQuery, PostgreSQL, Redshift). The AI assistant understands your actual schema because it's connected. Team collaboration with shared queries and reports.
The catch: Mode requires organizational setup — database connections configured by an admin, user provisioning, governance policies. The AI assist helps write SQL faster, but you still need to understand SQL to validate and edit the output. Pricing starts at $35/user/month for teams. It's a BI platform, not a quick exploration tool.
When it works: Your team already uses Mode. You have admin-configured database connections. You need dashboards and reports, not just ad-hoc queries.
When it doesn't: You're an individual analyst who just wants to query a CSV or API response. You don't want to set up a BI platform for a quick question.
Harbinger Explorer
Harbinger Explorer takes a different approach: instead of connecting to existing databases, it lets you bring data into the browser and query it there. Upload a CSV, crawl an API, or add a data source URL — then ask questions in plain English.
What it does well: The natural language query interface translates your question into SQL (powered by DuckDB WASM running entirely in your browser — no server roundtrips). The AI agent chat lets you have a conversation with your data: ask a question, see results, refine, drill down. The API crawling wizard lets you paste a documentation URL and it auto-discovers endpoints, so you can pull live API data and query it immediately.
The catch: No direct database connectors yet — you can't point it at your Snowflake or BigQuery instance. No real-time streaming. No team collaboration features. If your data lives exclusively in a cloud warehouse and you can't export it, HE isn't the right tool today.
When it works: You have CSVs, API data, or uploaded files you want to explore fast. You want to ask questions without writing SQL. You want results in your browser without any setup.
When it doesn't: Your data lives in a locked-down enterprise warehouse with no export path. You need real-time dashboards.
Feature Comparison Table
| Feature | Harbinger Explorer | ChatGPT / GPT-4 | Mode Analytics |
|---|---|---|---|
| Setup time | ~2 minutes (browser, no install) | Instant (just open chat) | Hours (admin setup, DB connections) |
| Learns your schema | ✅ Automatic from uploaded data | ❌ You paste it manually | ✅ From connected databases |
| Natural language queries | ✅ Built-in, returns results | ✅ Generates SQL only | ⚠️ AI assist, still needs SQL knowledge |
| Runs queries on your data | ✅ In-browser (DuckDB WASM) | ❌ No data access | ✅ Server-side on connected DBs |
| API data ingestion | ✅ Crawl wizard, auto-discover endpoints | ❌ | ❌ |
| CSV / file upload | ✅ | ❌ (Code Interpreter can, limited) | ⚠️ Limited |
| Data governance / PII detection | ✅ Column mapping with PII flags | ❌ | ✅ Admin-level governance |
| Export formats | CSV, Parquet, JSON | Copy-paste | CSV, PDF, dashboards |
| Team collaboration | ❌ Not yet | ❌ | ✅ Shared queries, dashboards |
| Database connectors | ❌ Not yet | N/A | ✅ Snowflake, BigQuery, PostgreSQL, etc. |
| Pricing | Free trial, then €8/mo Starter | $20/mo (Plus) or API costs | ~$35/user/mo (Team) |
| Best for | Individual exploration of APIs, CSVs, uploads | SQL generation assistance | Team BI with connected databases |
Pricing last verified: April 2026
When to Choose Each Tool
Choose ChatGPT if you already have database access, know enough SQL to validate output, and just want a faster way to write queries. It's a productivity booster for existing SQL users, not a replacement for data access.
Choose Perplexity if your questions are about publicly available data — market research, industry stats, competitor analysis. Don't try to use it for your private datasets.
Choose Mode Analytics if your team needs a full BI platform with shared dashboards, your admin has configured database connections, and you're okay with $35+/user/month. The AI assist is a nice addition to an already solid platform.
Choose Harbinger Explorer if you're an individual analyst or small team that wants to explore API data, CSVs, or uploaded files without any infrastructure setup. The natural language interface means you don't need SQL knowledge, and everything runs in your browser.
How It Works in Harbinger Explorer: Step by Step
Here's what the "natural language SQL query tool" experience looks like in practice:
1. Add your data source. Open Harbinger Explorer → Source Catalog → Add Source. Upload a CSV, paste an API docs URL (the crawl wizard extracts endpoints automatically), or enter a direct data URL.
2. Preview and map columns. HE scans your data and shows column names, types, and sample values. The PII detection flags sensitive columns (emails, phone numbers, IPs) so you can handle them before querying.
3. Ask your question. Open the AI agent chat and type: "What are the top 10 products by revenue in Q1?" — HE generates the SQL (DuckDB dialect), runs it in your browser via DuckDB WASM, and shows results in a table.
4. Refine. Ask follow-ups: "Break that down by month" or "Show me only products with revenue over 10,000." The AI maintains context from your conversation.
5. Export. One click to download as CSV, Parquet, or JSON. Done.
Total time: roughly 5 minutes from "I have a CSV" to "I have my answer exported." Compare that to the 30-60 minute manual workflow above.
Time Savings: Quantified
| Task | Manual (SQL + Editor) | With Harbinger Explorer |
|---|---|---|
| Schema exploration | 10-15 min | Automatic (column mapping) |
| Writing the query | 5-20 min | ~30 seconds (ask in English) |
| Debugging syntax | 5-15 min | 0 (AI handles SQL generation) |
| Iterating / refining | 10-20 min | ~2 min (conversational follow-ups) |
| Total per question | 30-60 min | ~5 min |
For an analyst asking 5-10 ad-hoc questions per week, that's 2-8 hours saved weekly. Over a month, that's a full work week back.
Honest Limitations
No tool is perfect. Here's where each falls short:
Harbinger Explorer doesn't connect to databases directly — no Snowflake, BigQuery, or PostgreSQL connectors (yet). No scheduled refreshes on the Starter plan. No team collaboration. No mobile app. If your data can't be exported as a file or accessed via API, HE can't reach it today.
ChatGPT hallucinates column names it hasn't seen, generates SQL for the wrong dialect, and has no way to verify its output against actual data. You need SQL knowledge to catch its mistakes.
Mode Analytics requires significant setup investment, has a learning curve for the platform itself (beyond just SQL), and the AI features are supplementary — you still need SQL fundamentals.
Perplexity simply can't access private data. It's not a data analysis tool, no matter how good the marketing looks.
Try It Yourself
If you're tired of writing boilerplate SQL for simple questions, give Harbinger Explorer a try. The natural language query interface works on any data you can upload or crawl — no database connections to configure, no SQL to debug.
Starter plan is €8/month after the trial. Cancel anytime.
Continue Reading
- Explore API Data Without Code — How to pull and query API data without writing a single line of code
- CSV Data Analysis Without Excel — Why analysts are ditching spreadsheets for SQL-in-the-browser
- Postman Alternative for Data Exploration — When you need more than API testing — you need API data analysis
[PRICING-CHECK] — Mode Analytics pricing ($35/user/mo) last verified April 2026. ChatGPT Plus at $20/mo confirmed. Perplexity Pro at $20/mo not mentioned but available.
Continue Reading
API Data Quality Check Tool: Automatic Profiling for Every Response
API data quality breaks silently. Harbinger Explorer profiles every response automatically — null rates, schema changes, PII detection — before bad data reaches your dashboards.
API Documentation Search Is Broken — Here's How to Fix It
API docs are scattered, inconsistent, and huge. Harbinger Explorer's AI Crawler reads them for you and extracts every endpoint automatically in seconds.
API Endpoint Discovery: Stop Mapping by Hand. Let AI Do It in 10 Seconds.
Manually mapping API endpoints from docs takes hours. Harbinger Explorer's AI Crawler does it in 10 seconds — structured, queryable, always current.
Try Harbinger Explorer for free
Connect any API, upload files, and explore with AI — all in your browser. No credit card required.
Start Free Trial