Skip to main content
Back to Tools
CLI

EditorConfig Generator

Visual .editorconfig file builder with presets for JavaScript, Python, Go, PHP, and Ruby projects. Configure indent styles, line endings, and encoding per file pattern. Runs entirely in your browser — your data never leaves your machine.

editorconfig code-style formatting indent config lint

Published May 29, 2026

All interactive tools run entirely in your browser. Your data never leaves your device.

How It Works

Select a preset or build your own configuration from scratch. Each rule maps to a file glob pattern (e.g. *, *.py, Makefile) and a set of editor properties. The tool generates a complete, valid .editorconfig file ready to drop into any project root. You can also paste an existing .editorconfig to parse it back into the visual editor.

Features

  • 6 presets: Universal, JavaScript/TypeScript, Python, Go, PHP, Ruby
  • Per-pattern rules: configure different settings for different file types in the same project
  • All standard properties: indent_style, indent_size, tab_width, end_of_line, charset, trim_trailing_whitespace, insert_final_newline, max_line_length
  • Tri-state boolean toggles: set true, false, or leave unset (inherit) for each boolean property
  • Validation: empty patterns, duplicate patterns, invalid numeric values
  • Import/parse: paste an existing .editorconfig to load it into the visual editor
  • Copy output: one-click copy of the generated file
  • Private: runs entirely in the browser — no data transmitted

Use Cases

  • Bootstrapping a new project with a consistent coding style
  • Enforcing cross-editor formatting rules across a team (VS Code, JetBrains, Vim, Emacs, etc.)
  • Configuring language-specific overrides — 4-space Python, tab-indented Go, Markdown with preserved trailing spaces
  • Migrating an existing .editorconfig by importing it and adding new rules visually
  • Learning what each EditorConfig property does through interactive feedback