JSON Formatter
Format, minify, and validate JSON with optional key sorting.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Format, minify, and validate JSON with optional key sorting.
Format, minify, and validate XML with readable indentation.
Compare two JSON documents and instantly see added, removed, and changed values. JSON mode highlights changed keys with path hints.
Compare two XML documents and see tag, attribute, and text line changes.
Encode and decode text with Base64.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Compare source files such as JavaScript, TypeScript, Java, Python, HTML, CSS, and SQL.
Compare CSV or TSV files, match rows with an optional key column, and highlight changed cells.
Paste a SQL query to format it with readable indentation or minify it into a compact line. Choose a dialect, keyword case (upper, lower, or preserve), and indent style. Formatting works on your device and input is not stored.
1. Paste source text, code, or data into the SQL Formatter input panel. 2. Choose transform or validation options shown for SQL Formatter. 3. Run SQL Formatter or read automatic output. 4. Review errors or diff output carefully. 5. Copy the transformed result. Processing runs on your device; inputs are not uploaded to our server.
Example: paste a small sample input into SQL Formatter, run the transform or validation, and compare the output with the before text—fix any syntax errors reported before copying.
Paste a SQL query to format it with readable indentation or minify it into a compact line. Choose a dialect, keyword case, and indent style. Formatting works on your device and input is not stored.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
FAQ
You can format SQL with readable indentation or minify it into a compact line. Choose a dialect, keyword case, and indent style.
Standard SQL, MySQL, MariaDB, PostgreSQL, SQLite, BigQuery, Snowflake, SQL Server (T-SQL), Oracle (PL/SQL), and Redshift.
No. Your information stays on your device and is not saved.
Page last reviewed: