---
slug: supabase-cli-config-jsonc-default
published: 2026-11-23
change_type: improvement
affected_products:
  - CLI
page: https://supabase.com/changelog/supabase-cli-config-jsonc-default
---

# supabase init creates config.jsonc for new projects

Since Supabase CLI v3.4.0, released on 2026-11-24, `supabase init` creates `supabase/config.jsonc` for new projects instead of `supabase/config.toml`. It holds the same settings, written as JSON with comments, and a `$schema` line points at the hosted config schema, so editors that support JSON Schema validate and autocomplete it with no extension to install. The same schema lets coding agents and `supabase config validate` catch config mistakes before they reach `supabase start` or a deploy.

Existing projects keep `config.toml`, and it stays fully supported. The CLI never converts a project unless you ask it to, and `supabase config convert` moves a project between the two formats whenever you like. Supabase CLI 3.1.0 and later and Branching preview branches already read `config.jsonc`.

### A heads-up for tools that read config.toml

Most projects don't need to do anything. The one thing to check is anything outside the CLI that reads `supabase/config.toml` directly, for example a third-party tool, script, CI step or Dockerfile that looks up `project_id` or a port. On a project created with CLI v3.4.0 or later, that file doesn't exist.

- If you maintain a tool that reads the Supabase config, also look for `supabase/config.jsonc` and `supabase/config.json`. A JSON file takes precedence over `config.toml`, and having both `config.json` and `config.jsonc` is an error. Parse `config.jsonc` as JSON with comments and trailing commas. The keys are the same as in `config.toml`.
- Use Supabase CLI 3.1.0 or later wherever a new project runs, including `supabase/setup-cli` in CI. Older versions don't read `config.jsonc` and run with default settings.
- To keep TOML for a new project, run `supabase config convert --to toml` (CLI 3.3.0 or later) after `supabase init`. It writes `config.toml` and moves `config.jsonc` to `config.jsonc.bak`.

### Timeline

| Date                 | Release                                                                 |
| -------------------- | ----------------------------------------------------------------------- |
| 2026-11-09           | CLI 3.1.0 reads `config.json` and `config.jsonc`                        |
| 2026-11-16           | CLI 3.2.0 adds `supabase config validate` and `supabase config convert` |
| 2026-11-23           | CLI 3.3.0 adds `supabase config convert --to toml`                      |
| 2026-11-24           | CLI 3.4.0: `supabase init` creates `config.jsonc` for new projects      |

We're working on more guides and support content for `config.jsonc`, and more guidance will follow. Until then, the [Config file formats](https://supabase.com/docs/guides/local-development/cli/config-formats) guide covers both formats.

If something stops working, especially a tool, script or CI step that only reads `config.toml`, tell us by running `supabase issue bug` or [opening an issue](https://github.com/supabase/cli/issues). Your reports show us which tools still need updating.
