SQL Formatter
Format any SQL query into clean, readable, indented output instantly

SELECT u.id, u.email, count(o.id) AS orders FROM users u LEFT JOIN orders o ON o.user_id = u.id WHERE u.active = 1 GROUP BY u.id ORDER BY orders DESC LIMIT 10;
Paste any SQL query — no matter how compressed or messy — and get back clean, properly indented SQL with highlighted keywords. Supports all major dialects: MySQL, PostgreSQL, SQLite, MS SQL Server, and BigQuery.
Why Format SQL?
Raw SQL from query builders, ORMs, or database exports is often unreadable. Formatted SQL:
- Makes logic errors easier to spot
- Speeds up code review
- Documents complex queries for future maintainers
- Helps debug slow queries by making JOINs and subqueries visible
What Good SQL Formatting Looks Like
-- Unformatted
SELECT u.id, u.name, o.total FROM users u LEFT JOIN orders o ON u.id = o.user_id WHERE o.total > 100 ORDER BY o.total DESC;
-- Formatted
SELECT
u.id,
u.name,
o.total
FROM users u
LEFT JOIN orders o
ON u.id = o.user_id
WHERE o.total > 100
ORDER BY o.total DESC;SQL in Automation
SQL is used directly in automation workflows:

- Make/Zapier — database modules use raw SQL
- n8n — Postgres, MySQL nodes accept SQL queries
- Python scripts — SQLAlchemy, psycopg2
- Reporting tools — Metabase, Redash, Superset all use SQL
Building Database-Driven Automations
If your automation workflows need to read or write to a database, proper SQL is essential for performance and security. Always use parameterised queries to prevent SQL injection. Python + FastAPI Webhook Automation covers a real example of this pattern in a backend. Book a consultation if you're building a data pipeline or automation that involves a database.

Want this built against your real numbers?
A 30-minute call to scope the workflow, agent, or automation you actually need.
More developer tools
All tools
.env Manager
Validate, compare, and generate templates for your .env files — without exposing secrets

.gitignore Generator
Build a .gitignore for your stack in seconds. Covers dependencies, build output, IDE files and the .env patterns that keep secrets out of a public repository.

API Mock Server
Create a live mock REST endpoint with your own path, method, status code, headers, delay and JSON body — so you can build and test a frontend or automation before the real API is ready.

API Request Tester
Send REST API requests from your browser with custom headers, auth and a JSON body, and inspect the status, headers and response. Includes a guide to reading status codes and diagnosing CORS.

Base64 Encoder/Decoder
Encode or decode any Base64 string instantly — no install, no login

Cron Expression Generator
Build cron expressions visually and get the correct string for crontab, GitHub Actions, EventBridge, Kubernetes, Make or n8n — with a field reference and the common gotchas explained.
Have a workflow that's burning hours every week?
Bring me one real bottleneck. I'll tell you whether it's worth automating, and what it would take.