Loading tool...
Format, validate XML with XPath queries, interactive tree view, XML-to-JSON conversion, and multiple color themes
Format, validate, and convert between YAML and JSON formats. Live validation, syntax highlighting, and bidirectional conversion.
Minify or beautify code in 7 languages: JavaScript, TypeScript, CSS, HTML, JSON, XML, SQL with compression visualization
Paste a SQL query — however tangled — and get a neatly formatted version with proper indentation, keyword capitalization, and line breaks. Supports SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, and complex joins across common SQL dialects.
Format machine-generated or ORM-produced queries into readable SQL for debugging and review.
Standardize SQL formatting before committing to version control so diffs are meaningful and reviews are easier.
Format complex queries cleanly for inclusion in runbooks, wiki pages, or onboarding documents.
See how a complex query is structured by formatting it with clear indentation — useful for understanding unfamiliar queries.
The formatter handles standard SQL and common dialects including PostgreSQL, MySQL, SQLite, and Microsoft SQL Server syntax.
No. Formatting only affects whitespace and capitalization. The query logic and results remain identical.
Basic procedural SQL (BEGIN/END blocks, IF statements) is supported, though very complex dialect-specific syntax may not format perfectly.
All processing happens directly in your browser. Your files never leave your device and are never uploaded to any server.