.editorconfig File — EditorConfig File
text/plain
Drop any file to identify its extension and type — runs entirely in your browser
Drop a .editorconfig file here or click to choose
Or drop any file to identify its extension
text/plainQuick Facts
| Extension | .editorconfig |
| Full Name | EditorConfig File |
| MIME Type | text/plain |
| Category | Config |
| Type | Text-based (human-readable) |
| Typical Size | 100 B – 2 KB |
| First Appeared | 2011 |
What Is a .editorconfig File?
EditorConfig files define and maintain consistent coding styles across different editors and IDEs used by multiple developers on a project. The .editorconfig file uses an INI-like format with sections defined by glob patterns that match file paths, and properties that specify formatting preferences for those files. Supported properties include indent_style (tab/space), indent_size, end_of_line (lf/crlf/cr), charset, trim_trailing_whitespace, insert_final_newline, and max_line_length. EditorConfig is supported natively or via plugins by virtually every code editor including VS Code, IntelliJ IDEA, Sublime Text, Atom, Visual Studio, vim, Emacs, and many others. When a file is opened, the editor searches up the directory tree for .editorconfig files, applying settings from the nearest file with root = true stopping the search. This hierarchy allows project-level defaults with directory-specific overrides. EditorConfig solves a real collaboration problem — ensuring that files maintain consistent formatting regardless of each developer's personal editor settings. The format is widely adopted in open-source projects and has become a standard part of professional development workflows alongside linters and formatters.
How to Open .editorconfig Files
Related File Extensions
More Config File Extensions
Other config formats you might encounter
Browse File Extensions by Category
Explore our reference of 259 file extensions with details, programs, and related formats.