dbForge Studio for MySQL provides a powerful SQL formatting tool that helps you clean up and organize your code for better readability and consistency. You can format entire scripts or selected fragments with just a click, apply predefined formatting profiles, or create your own. The built-in Formatting Wizard also allows batch formatting of multiple files or folders, making it easy to maintain clean and standardized SQL code across your projects.
With dbForge Studio, you can do the following:

Note
You can also use dbForge AI Assistant to automatically format your SQL code.