Developer tools TOOL

Code formatter

Format JavaScript, CSS, HTML, JSON and Markdown code.

01

Enter your text

On-device processing
Input · Up to 2 MB
02

Output options

No account. No uploads.

Code formatter · How to use

Format JavaScript, CSS, HTML, JSON and Markdown code.

  1. Enter your text
  2. Set your options
  3. Convert
  4. Inputs and results are not saved automatically. Copy or download the results you need.

Example

Paste const tools=["PDF","image"]; and select JavaScript to format indentation.

Things to know

Select JavaScript, CSS, HTML, JSON or Markdown to match the input. Code is not executed.

Output options

Code language
JavaScript · CSS · HTML · JSON · Markdown

Your files and results are never sent to a server. Everything is processed in this browser.

Save only the tools you need.