# SQL formatter

> Make SQL easier to read in your chosen dialect.

[Open tool](https://www.toolcabana.com/av/sql-formatter) · [Developer and data](https://www.toolcabana.com/av/category/developer-and-data)

Tool ID: sql-formatter. Requested language: av. Description language: en. Complete guide translation: no; untranslated sections use English.

## Supported tasks (en)

Make SQL easier to read in your chosen dialect.

## Steps (en)

1. Paste the source into the input editor, or load the built-in example.
2. Set sql dialect.
3. Run sql formatter, review the output, then use the available copy or download controls.

## Settings

- SQL dialect (en; key: dialect; type: select): sql [en], postgresql [en], mysql [en], sqlite [en], transactsql [en]

## Limitations (en)

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Example input

```text
select id, name from people where active=true order by name
```

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### What does sql formatter do?

Make SQL easier to read in your chosen dialect.

### Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

### What are the input limits?

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Related tools

- [HTML beautifier](https://www.toolcabana.com/av/html-formatter)
- [XML formatter](https://www.toolcabana.com/av/xml-formatter)
- [CSS beautifier minifier](https://www.toolcabana.com/av/css-formatter)
- [JavaScript formatter](https://www.toolcabana.com/av/js-formatter)
