# Configuration Files

Platformatic will automatically detect and load configuration files found in the current working directory. The supported file names include:

- `watt.json`
- `watt.json5`
- `platformatic.json`
- `platformatic.json5`
- `platformatic.yml` or `platformatic.yaml`
- `platformatic.tml` or `platformatic.toml`


# Supported File Formats

Platformatic supports the following file formats, their file extensions and the ability to include comments:

| Format | Extensions         | Comments Supported |
|--------|--------------------|--------------------|
| JSON   | `.json`            | No                 |
| JSON5  | `.json5`           | Yes                |
| YAML   | `.yml`, `.yaml`    | Yes                |
| TOML   | `.tml`, `.toml`    | Yes                |


#### [Back to docs](./reference/gateway/configuration.md#configuration-files)