EditorConfig Generator
Pick your indentation, line endings, charset and whitespace rules and get a ready-to-use .editorconfig file for the [*] section, plus optional overrides for Markdown (keep trailing whitespace) and Makefiles (tabs). EditorConfig keeps coding styles consistent across editors and IDEs for everyone on a project. Everything runs locally in your browser — nothing is uploaded.
How to use
- Choose the indent style and size, end of line, and charset.
- Toggle root, trailing-whitespace, final-newline and the optional overrides.
- Copy the generated file and save it as .editorconfig in your project root.
Frequently asked questions
- What does root = true do?
- It marks this as the top-most EditorConfig file, so editors stop looking in parent directories. Put it in your project root and leave it on unless you nest config files.
- Why the [*.md] override?
- Markdown uses two trailing spaces for hard line breaks, so trimming trailing whitespace would break them. The override disables trimming for .md files only.
- Do editors support this out of the box?
- Many do (for example JetBrains IDEs and VS Code with the EditorConfig extension). The file is plain INI-style text that any EditorConfig-aware tool reads.
- Is anything uploaded?
- No. The file is generated entirely in your browser; nothing is uploaded.
Related tools
SQL Formatter
Format and beautify SQL across 10 dialects (PostgreSQL, MySQL, BigQuery, Snowflake, T-SQL …).
CSS to JS Style Object Converter
Convert a CSS declaration block into a React/JS inline style object, in your browser.
HTML → JSX Converter
Paste an HTML snippet and get React-ready JSX — `class` becomes `className`, `onclick` becomes `onClick`, void tags self-close, inline styles can be object-ified.
Hex Dump Viewer
Inspect text or a small file as offset + hex bytes + printable ASCII, like `xxd` or `hexdump -C`.
MIME Type Lookup
Find the MIME type for a file extension (or the other way around) and learn what each type is for.
Chmod Calculator
Convert Unix file permissions between octal (755), symbolic (rwxr-xr-x), and checkbox grid. Includes setuid/setgid/sticky, chmod & find commands, and umask hint.