.editorconfig generator

Build a root .editorconfig — indent style, size, line endings, charset, and whitespace rules.

Generates a root .editorconfig covering [*] with your chosen style. charset utf-8-bom writes a BOM mark many tools dislike — prefer utf-8 unless a toolchain requires it.

Everything runs in this browser.

How to use

  1. Pick indent style and size.
  2. Choose line endings, charset, and whitespace options.
  3. Generate, copy, or download the file.

What it supports

One root file covering [*] with the standard keys (indent_style/size, end_of_line, charset, trim_trailing_whitespace, insert_final_newline, optional max_line_length), plus optional [*.md] and Makefile exception sections. Indent size 1–8. Other per-filetype sections ([*.py]) are not generated — add them by hand.

Related tools

Related guides