.editorconfig Generator

Create an .editorconfig file with per-language overrides.

Support
Works Offline
Privacy First
No Login
No API

Defaults

These apply to every file via the [*] section

Stops EditorConfig looking in parent folders

Stack preset

Per-glob overrides

.editorconfig

Save this at the root of your repository as .editorconfig. Most editors support it natively; VS Code needs the EditorConfig extension.

About the .editorconfig Generator

Build an .editorconfig for your repository: indent style and size, line endings, charset, trailing whitespace, final newline and max line length, plus per-glob overrides for individual languages. Start from a web, Python, Android or Go preset and adjust.

Examples

Two-space web project

preset: web

Output

[*]
indent_style = space
indent_size = 2

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-24 · Runs entirely in your browser