Code Formatter

Beautify HTML, CSS, SCSS, JavaScript, TypeScript, JSON, Markdown, YAML, GraphQL and SQL.

How to use Code Formatter

  1. Drop your HTML, CSS, SCSS, LESS, JS, JSX, TS, TSX, SQL, GRAPHQL file onto the page, or choose it from your device.
  2. Adjust the options if needed.
  3. Start “Format code” — it runs inside your browser.
  4. Preview the result and download it.

Frequently asked questions

Is Code Formatter free?
Yes. Code Formatter is free to use and needs no account or sign-up.
Are my files uploaded to a server?
No. Dhurta Suite processes your files inside your own browser. They are not uploaded, stored or seen by anyone, and they are discarded when you close the page.
Which file formats are supported?
Code Formatter accepts HTML, CSS, SCSS, LESS, JS, JSX, TS, TSX, SQL, GRAPHQL.
Does it work offline?
Yes. Dhurta Suite can be installed as an app, and every tool you open is saved on your device so it opens and works without an internet connection. You can also save all tools for offline use in Settings.
Does it work on phones?
Yes. It works in current mobile browsers on Android and iPhone, as well as on desktop.
Are there any limitations?
Code must be syntactically valid to be formatted. Minification is not offered.

Related tools