Developer · .editorconfig studio

EditorConfig Generator

Build a multi-section .editorconfig, test which rules apply to any file path, and watch a messy file snap to the rules: tabs, spaces, line endings and the final newline shown as visible markers.

  • Live whitespace preview
  • Per-file rule tester
  • Language presets
  • Import .editorconfig
  • Prettier & VS Code export
  • GIF / video
Rules for –
0lines snap into place
Matched sections: –
  • Sections–
  • Properties set–
  • Sections matching file–
  • Whitespace issues fixed–

Start from

Language presets (adds a section)

Sections (later sections win)

    Selected section

    * any name · ** any folders · ? one char · {js,ts} choices · [abc] set · {1..9} numbers

    Which rules apply to this file?

    Whitespace preview → tab · space trailing ↵ LF / ␍␊ CRLF

    Messy file
    After the rules
    Edit the sample file

    Messy → tidy animation

    .editorconfig

    Try the example or enter your own input.

    Export everything

    Prettier and VS Code settings come from the rules that apply to the tested file plus per-language overrides.

    How it works

    1. Pick a preset or edit sections; each section is a glob plus the rules for files it matches.
    2. Type any path in the tester: matching sections are combined top to bottom, later ones win.
    3. Check the before/after preview, then copy or download the file and place it at your repository root.

    Generates a configuration file without modifying your editor. Some editors need an EditorConfig plugin; max_line_length is not supported everywhere. Related: text compare.

    Using EditorConfig Generator

    Create consistent indentation, line endings and final-newline settings with a Markdown whitespace exception.

    1. Pick a preset or edit sections; each section is a glob plus the rules for files it matches.
    2. Type any path in the tester: matching sections are combined top to bottom, later ones win.
    3. Check the before/after preview, then copy or download the file and place it at your repository root.

    Example

    *

    Questions & answers

    What does this tool do?

    Create consistent indentation, line endings and final-newline settings with a Markdown whitespace exception.

    What should I check before using the result?

    Generates a configuration file without modifying your editor. The Markdown section intentionally preserves trailing whitespace.

    Is there an upload or installation?

    Processing runs in a local browser worker with no processing upload. No account or installation is required. Website ads and analytics follow the site privacy policy.

    What input sizes are supported?

    Each input supports 250,000 UTF-16 units and UTF-8 files up to 500 KB. Jobs stop after 15 seconds. Report previews show 200 rows; downloaded reports include all computed rows.

    Will my work be saved?

    No automatic storage is used. Download the result and report before leaving. Changing input invalidates previous output.

    What can I download or copy?

    From the page: Report JSON, .prettierrc.json, VS Code settings.json, Config JSON, Markdown, PNG preview, PDF, Animated GIF, WebM video, MP4 video, ZIP of all. Everything is created in your browser.

    Help improve this tool

    Report a problem or suggest an improvement

    Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

    Find another tool · Read practical guides