AZ Tools

EditorConfig Generator

Developer

Pick your indentation, line endings, charset and whitespace rules and get a ready-to-use .editorconfig file for the [*] section, plus optional overrides for Markdown (keep trailing whitespace) and Makefiles (tabs). EditorConfig keeps coding styles consistent across editors and IDEs for everyone on a project. Everything runs locally in your browser — nothing is uploaded.

.editorconfig

How to use

  1. Choose the indent style and size, end of line, and charset.
  2. Toggle root, trailing-whitespace, final-newline and the optional overrides.
  3. Copy the generated file and save it as .editorconfig in your project root.

Frequently asked questions

What does root = true do?
It marks this as the top-most EditorConfig file, so editors stop looking in parent directories. Put it in your project root and leave it on unless you nest config files.
Why the [*.md] override?
Markdown uses two trailing spaces for hard line breaks, so trimming trailing whitespace would break them. The override disables trimming for .md files only.
Do editors support this out of the box?
Many do (for example JetBrains IDEs and VS Code with the EditorConfig extension). The file is plain INI-style text that any EditorConfig-aware tool reads.
Is anything uploaded?
No. The file is generated entirely in your browser; nothing is uploaded.

Related tools