EditorConfig Generator
Generate a .editorconfig file from indent style, indent size, end-of-line, charset, and trailing-whitespace settings, plus optional per-language override blocks for Markdown, YAML, JSON, Python, Go, PHP, and more.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Indent Style
space, tab, Indent Size
1 <= x <= 8Tab Width
1 <= x <= 16End of Line
lf, crlf, cr, Charset
utf-8, utf-8-bom, latin1, utf-16be, utf-16le, Max Line Length
0 <= x <= 1000Trim trailing whitespace
Insert final newline
Include descriptive header comment
[*.md] — preserve trailing whitespace, no max line length
[*.{yml,yaml}] — 2-space indent
[*.json] — 2-space indent
[*.{js,jsx,ts,tsx,mjs,cjs}] — 2-space indent
[*.{css,scss,sass,less}] — 2-space indent
[*.{html,htm,xml,svg}] — 2-space indent
[*.py] — 4-space indent (PEP 8)
[*.go] — tab indent (gofmt)
[*.php] — 4-space indent (PSR-12)
[*.rb] — 2-space indent
[{Makefile,makefile,GNUmakefile}] — tab indent (required by make)
[*.{bat,cmd}] — CRLF line endings
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.