Apex and SOQL Formatter

Pulsagi Developer Toolbox

Paste Apex classes, triggers, anonymous Apex, or SOQL queries to clean up indentation, line breaks, and readability in one browser-based formatter built for Salesforce workflows.

Apex formatting SOQL formatting Syntax highlighting Upload .cls / .trigger / .apex / .soql Browser-based

Input

Paste code, drop a file, or try a sample.
Drag and drop an Apex or SOQL file here
Detected: -

Formatted Output

Color coded, readable, and ready to copy.
Formatted code will appear here.
Mode
-
Input lines
0
Output lines
0
Characters
0
What this formatter doesNormalizes indentation, spacing, braces, keywords, and line breaks for common Apex and SOQL patterns.
Important noteThis is a smart browser formatter, not a full Salesforce parser. Extremely unusual or malformed code can still need manual review.