.editorconfig
🔧 ConfigText-based

.editorconfig File — EditorConfig File

text/plain

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

EDITORCONFIG

Drop a .editorconfig file here or click to choose

Or drop any file to identify its extension

Expected MIME type:text/plain

Quick Facts

Extension.editorconfig
Full NameEditorConfig File
MIME Typetext/plain
CategoryConfig
TypeText-based (human-readable)
Typical Size100 B – 2 KB
First Appeared2011

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

VS Code
any text editor
IntelliJ IDEA
vim
Sublime Text

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.