Prettier Config Generator

Generate Prettier configuration files with all formatting options. Export as JSON, YAML, or JS.

8.4Kuses
8.5/10(230)
.prettierrc
{
  "printWidth": 80,
  "tabWidth": 2,
  "useTabs": false,
  "semi": true,
  "singleQuote": false,
  "jsxSingleQuote": false,
  "trailingComma": "all",
  "bracketSpacing": true,
  "bracketSameLine": false,
  "arrowParens": "always",
  "endOfLine": "lf"
}

About Prettier

Prettier is an opinionated code formatter that enforces a consistent style across your codebase.

⚡ Pro OptionsSponsored

Some links on this page are affiliate links. If you click and make a purchase, we may earn a commission at no extra cost to you.

Disclaimer: This tool is provided as-is for informational and educational purposes only.

TB

ToolBird Assistant

Find the right tool instantly

Hey! I'm ToolBird Assistant. Tell me what you need and I'll find the right tool for you.