# Editing an app's bitrise.yml file

Your Bitrise configuration is defined in YAML files. All Bitrise projects have a root `bitrise.yml` file which defines Pipelines, Workflows, app-level Environment Variables, the trigger map, and stack types and machine types for your project. You can edit this file in three different ways:

- Using the graphical UI of the Workflow Editor. Whenever you make a change in the Workflow Editor, it automatically updates your `bitrise.yml` file.
- [Editing the bitrise.yml file in the Workflow Editor](#editing-the-bitriseyml-file-online). You can do so even if you [store your configuration file in your repository](/bitrise-ci/configure-builds/configuration-yaml/storing-an-apps-configuration-yaml#storing-the-bitriseyml-file-in-your-repository). The Workflow Editor can push your changes directly your repository. 
- [Editing the bitrise.yml file locally](#editing-the-bitriseyml-file-locally) in an editor of your choice. You can copy the content to the online editor or push it to your repository if you store your configuration file there.

:::note[Modular configurations]

If your configuration is split across several files with the `include` keyword, the Workflow Editor loads every module and lets you edit them one file at a time. See [Editing a modular configuration in the Workflow Editor](/bitrise-ci/configure-builds/configuration-yaml/editing-a-modular-configuration-in-the-workflow-editor).

:::

:::important

This requires some familiarity with the structure of a Bitrise configuration YAML file. Read more: [Configuration YAML reference](/bitrise-ci/references/configuration-yaml-reference).

:::

## Editing the bitrise.yml file online

You can edit your build config in yml format in the **bitrise.yml editor**. To do so, open the Workflow Editor and switch to **YAML** at the top.

![The Visual and YAML toggle in the Workflow Editor](/img/2026-06-05-workflow-editor-visual-yaml-toggle.png)

You can edit the file directly here. Bitrise validates your configuration: if your `bitrise.yml` file is not valid, you won't be able to save the file.

To download the current `bitrise.yml` file, click **Download**. Alternatively, you can simply select certain sections of the file and copy those into either a local `bitrise.yml` file or into another project's `bitrise.yml` file.

## Editing the bitrise.yml file locally

:::tip[Work on your configuration locally]

The [offline Workflow Editor](/bitrise-ci/bitrise-cli/installing-and-upgrading-the-offline-workflow-editor) runs on your own computer: you can edit your project's configuration YAML file without logging in to [bitrise.io](https://www.bitrise.io/), and your configuration never leaves your network. It offers most features of the Workflow Editor.

:::

You can also edit the file with the Bitrise CLI: [download the `bitrise.yml`](/bitrise-ci/bitrise-cli/working-with-bitrise-yml-via-the-bitrise-cli#downloading-the-bitriseyml-file), [validate it](/bitrise-ci/bitrise-cli/working-with-bitrise-yml-via-the-bitrise-cli#validating-a-bitriseyml-file), and [upload it](/bitrise-ci/bitrise-cli/working-with-bitrise-yml-via-the-bitrise-cli#uploading-a-bitriseyml-file) back to Bitrise. These commands need Bitrise CLI 3.0.0 or newer.

Our YAML scheme is shared on [schemastore](https://www.schemastore.org/bitrise.json). This means that syntax highlight and auto-completion is available for the following files if you edit them locally:

- `bitrise.yml`
- `step.yml`
- `bitrise.json`

The following editors support the auto-complete feature:

- IntelliJ IDEA
- PhpStorm
- PyCharm
- Rider
- RubyMine
- Visual Studio 2013+
- Visual Studio Code
- Visual Studio for Mac
- WebStorm
- JSONBuddy

  ![autocomplete.png](/img/_paligo/uuid-949123a0-1356-b913-0a17-cd7270ba78c3.png)

After editing your file locally, you can copy its contents to the online `bitrise.yml` file, or [store it in your own repository](/bitrise-ci/configure-builds/configuration-yaml/storing-an-apps-configuration-yaml#storing-the-bitriseyml-file-in-your-repository) and use the Workflow Editor to push future changes directly from the browser.
