> For the complete documentation index, see [llms.txt](https://ai2sql.gitbook.io/ai2sql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai2sql.gitbook.io/ai2sql/5.-formatting-sql.md).

# 5. Formatting SQL

- [5.1. Accessing the SQL formatter](https://ai2sql.gitbook.io/ai2sql/5.-formatting-sql/5.1.-accessing-the-sql-formatter.md)
- [5.2. Customizing formatting options](https://ai2sql.gitbook.io/ai2sql/5.-formatting-sql/5.2.-customizing-formatting-options.md)
- [5.3. Applying formatting to your SQL queries](https://ai2sql.gitbook.io/ai2sql/5.-formatting-sql/5.3.-applying-formatting-to-your-sql-queries.md)
