jsonecho

Code Formatters

Beautify and minify JavaScript, TypeScript, CSS, SCSS, Less, GraphQL, Markdown, PHP, Java, C# and more.

JS BeautifierTurn minified or messy JavaScript into readable, indented code.FormatJavaScript Pretty PrintPretty print JavaScript so you can read it.FormatCSS FormatterFormat CSS into clean rules, one declaration per line.FormatCSS Pretty PrintPretty print CSS so each rule and property is easy to read.FormatCSS MinifyRemove comments and whitespace to get the smallest CSS.CompressC# FormatterIndent C# code and put braces and statements on their own lines.FormatJava FormatterPut Java code back into a readable layout: one statement per line, braces indented.FormatGraphQL FormatterFormat GraphQL queries and schemas so nested selections are easy to read.FormatAngular FormatterFormat Angular component templates with their structural directives and bindings.FormatVue FormatterFormat a Vue single-file component: template, script and style together.FormatLess FormatterFormat Less code, with its variables, mixins and nested rules.FormatSCSS FormatterFormat SCSS, including nested rules, mixins, maps and @use statements.FormatTypeScript FormatterFormat TypeScript code, with generics, decorators, enums and type annotations.FormatBabel FormatterFormat modern JavaScript and React JSX with the Babel parser.FormatMarkdown FormatterTidy Markdown: consistent lists, aligned tables and normal spacing.FormatMDX FormatterFormat MDX, the mix of Markdown and JSX used by many documentation sites.FormatGlimmer FormatterFormat Glimmer and Handlebars templates, as used in Ember.js.FormatLWC FormatterFormat Lightning Web Component (LWC) HTML templates for Salesforce.FormatPHP FormatterFormat PHP code with consistent indentation and spacing.FormatFlow FormatterFormat JavaScript code that uses Flow type annotations.Format