I Help You

SQL Case Converter

Convert SQL keywords to UPPERCASE or lowercase while leaving column names, table names, and string values unchanged. Free, and it runs entirely in your browser — nothing you enter is uploaded.

How to use the SQL Case Converter

1. Select the conversion direction: keywords to UPPERCASE or lowercase.

2. Paste your SQL query in the input area.

3. Click Convert — only SQL reserved words are changed; identifiers and string values are untouched.

What is it?

SQL is case-insensitive for keywords, but most style guides recommend writing keywords in UPPERCASE for readability. This converter uses whole-word matching so it only changes actual SQL keywords — your column names, table names, and string values inside quotes are left unchanged.

Example

Lowercase SQL
select id, name from users where active = 1 order by name asc;
↓
Uppercase keywords
SELECT id, name FROM users WHERE active = 1 ORDER BY name ASC;

Only SQL keywords are changed — column names, table names, and string values are left untouched.

Benefits

Generate INSERT and CREATE TABLE statements instantly

Convert JSON, CSV, or a field list into ready-to-run SQL in seconds — no manual quoting, no counting columns, no copy-paste errors from spreadsheet data.

Build SELECT queries without memorising syntax

The visual query builder constructs WHERE conditions, ORDER BY, LIMIT, and DISTINCT clauses interactively — useful for anyone who writes SQL occasionally rather than daily.

Migrate between MongoDB and relational databases

Convert MongoDB find, insert, update, and delete operations directly to SQL equivalents — speed up data migration planning or schema exploration.

All your data stays in the browser

No SQL query, schema definition, or database content is ever uploaded to a server. Everything runs entirely client-side, making these tools safe to use with sensitive data.

Frequently asked questions

Will this change column names or string values?

No — the converter uses word-boundary matching and operates on a predefined list of SQL keywords. Identifiers and quoted strings are not affected.

Why is UPPERCASE for keywords recommended?

It visually separates the SQL structure (keywords) from the data (identifiers and values), making queries much easier to read at a glance.