EditorConfig Generator
Set your indentation and line ending rules per file type and build a .editorconfig file.
Build an .editorconfig
Sections: 1
Rules: 0
How to use the EditorConfig Generator
- Choose the indent style, size, line endings and charset you want.
- Tick the file type sections that need their own overrides.
- Click Build .editorconfig, then download the file or copy the text.
Features
- Indent style, size, line endings and charset
- Per file type overrides for Python, web, Java, Go and more
- Correct root equals true header for the project root
- Copy or download the .editorconfig file
Advertisement
Frequently Asked Questions
Common questions about the free online editorconfig generator.
It is a small text file that tells editors and IDEs which indentation, line endings and
charset to use, so everyone formats code the same way.
Pick your settings, tick the file type sections you need, then click Build .editorconfig and
download or copy the text.
Put it next to the .git folder and set root to true, and an editor stops looking for parent
.editorconfig files.
Most do, including VS Code, JetBrains IDEs, Visual Studio, Sublime Text, Vim and Emacs,
either built in or through a small plugin.
It marks this file as the top of the tree, so an editor stops looking for further
.editorconfig files in parent directories.
Tick that language section and set its indent style to tabs. The override applies only to the
glob pattern for that section.
When set to true the editor removes spaces at the end of a line on save. Markdown often sets
it to false so hard line breaks survive.
No. The file is generated from the form inside your browser and is never sent to a server.
Yes. Download the file and add another section with your own glob pattern and properties in
any text editor.
Yes. The generator is responsive and the output can be copied into a mobile editor or a
remote terminal session.
Last updated: October 10, 2026