editorconfig

EditorConfig helps maintain consistent coding styles across different text editors through a shared file format.

editorconfig.org
editorconfig homepage screenshot

About editorconfig

EditorConfig is a file format and a collection of text editor and IDE plugins for keeping coding styles consistent when multiple developers work on the same project. Style rules live in an .editorconfig file written in an INI format compatible with Python's configparser, using section names that are case-sensitive filepath globs similar to gitignore patterns. When a file is opened, plugins search the file's directory and every parent directory for .editorconfig files, stopping at the filesystem root or at a file containing root = true. Rules are read top to bottom, so properties in closer files take precedence. Files are meant to be human-readable and work well with version control. Support is not uniform: not all properties are supported by every plugin, and where a property is not specified, the editor's own settings apply.

Key features

  • INI-style .editorconfig files compatible with Python configparser
  • Case-sensitive filepath glob section names using , *, ?, [], {} patterns
  • Plugins search the file's directory and parent directories for .editorconfig
  • Properties for indent style and size, tab width, end-of-line, charset
  • Properties for trimming trailing whitespace and inserting a final newline
  • Rules read top to bottom with closer files taking precedence
Best for: Development teams who work across different editors and IDEs and want one shared set of coding style rules per project.
Good for
  • Files are easily readable and work nicely with version control systems.
  • Rules in closer files and later sections take precedence, allowing per-directory overrides.
  • Wildcard patterns match multiple files, directories and brace-expanded name sets.
Watch out for
  • Not all properties are supported by every plugin.
  • If a property is not specified, the editor's own settings apply and EditorConfig has no effect on that part.

editorconfig at a glance

Type
Online tool
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Good for
Developers
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

editorconfig alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

editorconfig FAQ

Where are .editorconfig files stored?
When a file is opened, plugins look for a file named .editorconfig in the directory of the opened file and in every parent directory, stopping at the root filepath or at a file with root=true.
Which rules win when several EditorConfig files apply?
Files are read top to bottom and properties from matching sections are applied in the order read, so rules in closer files and later sections take precedence.
How do Windows users create a .editorconfig file in Explorer?
Create a file named .editorconfig. (note the trailing dot), which Windows Explorer automatically renames to .editorconfig.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing