Skip to content
benchline
ToolsMCPAbout
benchline

82 tools for people who ship the web. 70 run entirely in your browser. No account, no upload.

All tools operational

Tools

All toolsllms.txt generatorAI SEO checkerOG image generatorJWT decoder

Categories

All categoriesDeveloperData & FormatsSEO & AI SearchImage & MediaPDF & Documents

For agents

MCP setupAI accessllms.txtllms-full.txtOpenAPI

Benchline

AboutFounderPrivacyGitHubSitemap

benchline

© 2026 Benchline. Built by Waseem Anjum. MIT licensed.Built for the browser, callable over MCP.
  1. Tools
  2. Data & Formats
  3. SQL
  4. SQL formatter

SQL formatter

Format SQL for PostgreSQL, MySQL, BigQuery, Snowflake, and other dialects.

Runs in your browser
Use via MCP

MCP

Use this tool from your agent

Add the server once, then ask for the job in plain words. No key.

Setup guideAll MCP tools

Tool name

format_sql

Endpoint

https://benchline.fabwaseem.com/mcp
Auth
None
Rate
60 / min
  1. 1Add the server config for your client.
  2. 2Ask your agent to run format_sql, or describe the job.
  3. 3Or send the tools/call request yourself.
~/.cursor/mcp.jsonjson
1{
2 "mcpServers": {
3 "benchline": {
4 "url": "https://benchline.fabwaseem.com/mcp"
5 }
6 }
7}
tools/call requestjson
1{
2 "jsonrpc": "2.0",
3 "id": 1,
4 "method": "tools/call",
5 "params": {
6 "name": "format_sql",
7 "arguments": {
8 "sql": "example",
9 "dialect": "postgresql",
10 "keywordCase": "upper",
11 "indent": 2
12 }
13 }
14}

Next

Related tools

  • JSON formatterPretty-print, minify, and validate JSON, with the exact line and column when it fails.JSONMCPNew
  • Regex testerTest a JavaScript pattern, read the groups, and preview a replacement.RegexMCPNew
  • JSON YAML converterConvert JSON, YAML, TOML, and XML in the browser, and keep the line number when a document fails.JSONMCPNew
  • CSV JSON converterConvert CSV to JSON and JSON back to CSV, with a delimiter and a header row you choose.TablesMCPNew

Guide

How it works

Free SQL formatter. Pick a dialect, choose upper, lower, or preserved keywords, and indent with 2 or 4 spaces. Formatting runs in the browser.
  1. 1Paste a queryDrop a SELECT, an INSERT, or a longer script into the editor.
  2. 2Pick a dialectKeyword rules differ. PostgreSQL and BigQuery are both in the list.
  3. 3Copy the formatted SQLChoose keyword case and indent, then copy or download the result.

FAQ

Questions people ask

SQL

SQL querysql
1
select id, name from users where active = true and created_at > '2026-01-01' order by name

Formatted

SQLsql
1SELECT
2 id,
3 name
4FROM
5 users
6WHERE
7 active = TRUE
8 AND created_at > '2026-01-01'
9ORDER BY
10 name
PostgreSQL · upper keywords