Beautifiers & Formatters
Beautify JavaScript, TypeScript, CSS, SCSS, HTML, Markdown and GraphQL.
Available tools
JavaScript BeautifierFormat and beautify JavaScript (including JSX and modern syntax) with Prettier: indentation, quotes and semicolons.TypeScript FormatterFormat TypeScript and TSX with Prettier, including interfaces, generics, enums and decorators.CSS BeautifierBeautify minified or messy CSS into readable, consistently indented rules with one declaration per line.SCSS FormatterFormat SCSS/Sass stylesheets with Prettier, handling nesting, variables, mixins and maps.Less FormatterFormat Less stylesheets with Prettier, keeping variables, mixins and nested rules readable.HTML BeautifierBeautify HTML with Prettier: consistent indentation plus formatting of embedded CSS and JavaScript.Markdown FormatterNormalise Markdown with Prettier: consistent list markers, headings, emphasis and table alignment.GraphQL FormatterFormat GraphQL queries, mutations, fragments and schema definitions (SDL) with Prettier.Java FormatterFormat Java source code with Prettier and prettier-plugin-java: classes, records, lambdas, generics and long call chains.PHP FormatterFormat PHP code with Prettier and the official PHP plugin, PSR-12 style, with a target PHP version setting.