DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

EditorConfig Rule Preview

Preview which .editorconfig rules apply to a file path. See nested overrides, unset values, and the exact winning line without uploading your configs.

Loading tool...

How to check which EditorConfig rules apply

  1. Set the target path

    Enter a project-relative file path, for example packages/web/src/main.ts.

  2. Paste each config separately

    Use . for the project root and packages/web for that child config. The preview only considers supplied ancestors and honors root = true.

  3. Find the override

    In the nested example, indent_size = 2 beats 4 from the root, and trim_trailing_whitespace = unset removes the root setting. Each result points to its source line.

Use cases

  • Find why a file uses different indentation than the rest of a project.
  • Check whether a nested override removes a declared setting.
  • Review where a declared line-ending or encoding setting comes from.

Limits and privacy

  • Checks explicit declarations only. It does not read your repository, include editor defaults or infer tab widths.
  • Supports case-sensitive paths, *, **, ?, escaped characters and simple brace lists. Character classes, nested or numeric brace rules, escaped slashes, and runs of three or more stars are reported as partial results, not guessed.
  • Supply up to eight entries totaling 64 KiB. The active chain is limited to 256 sections and 512 declarations; pattern matching also has a work limit.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

Does EditorConfig match paths the same way as .gitattributes?

No. Use Git Attributes Rule Preview separately to inspect Git path attributes such as text and eol. EditorConfig declarations affect participating editors instead.

Which file wins if .editorconfig rules disagree?

Within one file, a matching section later in the file wins for a repeated key. An applicable config closer to the target file can override an ancestor. A root = true preamble stops the parent search.

Does unset set the value to false?

No. An unset declaration removes the inherited property. An editor may then use its own default.

Can this read my repository or upload my config?

No. It receives only the paths and rules you enter, then runs the preview in this browser.

Related tools