Free online Prettier configuration file generator. Create perfect .prettierrc files with customizable formatting rules for any JavaScript, TypeScript, React, Vue, or CSS project.
Prettier is an opinionated code formatter that supports many languages and integrates with most editors. This tool generates customized .prettierrc configuration files for your project, with quick presets for popular frameworks and fine-grained control over every formatting rule. All processing happens in your browser — no data is sent to any server.
Prettier is an opinionated code formatter that enforces a consistent style by parsing your code and re-printing it with its own rules. It supports JavaScript, TypeScript, CSS, HTML, JSON, GraphQL, Markdown, and more.
Place the .prettierrc file in your project root directory. Prettier will automatically find and use it when formatting files in that project. You can also place it in parent directories or use the --config option.
Yes! Prettier supports multiple config file formats: .prettierrc (JSON/YAML), .prettierrc.json, .prettierrc.yaml, .prettierrc.yml, .prettierrc.toml, .prettierrc.js, prettier.config.js, and the prettier key in package.json.
Yes, Prettier and ESLint work great together. Use eslint-config-prettier to disable ESLint rules that conflict with Prettier, and eslint-plugin-prettier to run Prettier as an ESLint rule.
Yes, all processing happens locally in your browser. No data is sent to any server or stored anywhere.