.editorconfig Generator Online

Build a clean .editorconfig from indent, charset and newline options with per-language overrides, in your browser.

The .editorconfig Generator runs entirely in your browser. The indent, charset and section settings you choose never leave your device and nothing is uploaded to ArrayKit.

Open the .gitignore Generator

About .editorconfig Generator

The .editorconfig Generator builds a complete .editorconfig file from a handful of toggles so every editor on a team applies the same indent style, indent size, charset, line ending and trailing-whitespace rules. Start from a preset like 2-space/LF/UTF-8, tweak the default [*] section, then add per-language overrides for Makefiles, YAML, Python or any other glob that needs its own indent width or tab style. The generated output is a plain, copy-ready .editorconfig block plus a one-click download, so you can drop it straight into a repository root. It is built for developers and team leads who want consistent formatting across VS Code, JetBrains IDEs, Vim and every other editor with EditorConfig support, without arguing about tabs versus spaces in code review. Everything runs locally in your browser — nothing you configure is uploaded anywhere.

Features

How to use the .editorconfig Generator

  1. Pick a starting preset or leave the default [*] section as-is
  2. Adjust indent style, indent size, charset, end of line and whitespace toggles
  3. Add per-language sections for any glob that needs different indent rules
  4. Copy the generated .editorconfig or download it straight into your repo root

Example

Input

2 spaces, LF, utf-8

Output

root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
insert_final_newline = true

The default preset produces a minimal, portable .editorconfig section.

Common errors & troubleshooting

Frequently asked questions

What does the .editorconfig Generator actually produce?
A plain-text .editorconfig file: a root = true line, a default [*] section with your indent, charset and newline choices, and any extra per-glob sections you add — ready to copy or download.
Which editors read the file this .editorconfig Generator creates?
Any editor with EditorConfig support, including VS Code (built-in since 2021), JetBrains IDEs (built-in), Vim, Sublime Text and Emacs with the EditorConfig plugin — the file format is a shared open standard.
Can the .editorconfig Generator set different indent rules per file type?
Yes. Add a glob like *.py or Makefile in the extra sections list and give it its own indent style and size — those override the default [*] section for matching files only.
Does the .editorconfig Generator upload my project settings anywhere?
No. Every option you choose stays in your browser tab; the file is assembled locally and only leaves your device when you copy or download it yourself.
What is the difference between indent_size and tab_width in an .editorconfig file?
indent_size controls how many spaces one indent level uses (or how wide a tab displays when indent_style is tab); tab_width is a separate, rarely-needed key for display width when it differs from indent_size.
Why does the .editorconfig Generator emit insert_final_newline = false instead of omitting the line?
When you explicitly turn a toggle off, the tool writes the literal false so the setting is enforced rather than left to each editor's own default — omitted keys are only left out when you never touched them.

Related tools

All ArrayKit tools