What is SOQL?

Salesforce Object Query Language (SOQL) queries Salesforce objects much like SQL queries tables — with relationship fields, parent-child subqueries, and date literals such as THIS_MONTH.

What SQLStudio supports

  • SOQL dialect in SQL Formatter — pick SOQL (Salesforce) from the dialect list
  • SOQL Playground — browse thousands of standard objects/fields, then format, minify, validate syntax, and inspect the parsed AST

How to use the playground

  1. Open SOQL Playground.
  2. Search the standard schema browser for an object (e.g. Account), pick fields, and click Use SELECT.
  3. Or paste a query / load a sample (subquery, aggregate, semi-join).
  4. Switch between Format, Minify, and AST modes.
  5. Copy the result into Developer Console, VS Code, or your API client.

The catalog covers Salesforce standard objects and fields only (no custom __c metadata). It does not connect to your org.

Privacy

Parsing and formatting run entirely in your browser. Queries never upload to a server — useful when SOQL contains customer filters or internal field names.

Try SOQL tools

Open SQLStudio and format Salesforce queries privately.

Open SOQL Playground

← All SQLStudio guides