# Format query (beautify/minify/uglify)

In TablePlus, you can reformat the query to make it more readable using either the built-in Beautify feature, or install the SQL Formatter Plugin.

## **Beautify**

You can reformat the queries in SQL query editor:

* Select the queries in the Query Editor.
* Click **Beautify** or use shortcut key **`⌘ + I`** to beautify the queries.
* Click the dropdown next to **Beautify** button and choose **Uglify**, or use shortcut key **`⌘ + ⇧ + I`** to uglify the queries.

![](https://2743975646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LriZ7WXXZykpg6_MQsw%2F-LrtXG4_4-yupXPS_pdN%2F-LruAcf85juooMrpk78i%2Fbeautify.gif?alt=media\&token=4d32fe2c-cb9b-4d7e-8d35-7670843c2d77)

## **SQL Formatter Plugin**

This plugin helps reformat the SQL statements.

To install it:

* Navigate to menu **Plugin** > **Manage Plugins...**, or press **`⌘ + L`**
* Select **SQL Formatter Plugin** and install

To use it:

* Select the SQL statements
* Navigate to menu **`Plugin`** > **`SQL Format`**, or press **`⌃ + I`**
