Skip to content

JavaScript Formatter

Format or compact JavaScript in syntax-highlighted editors, with control over quotes, semicolons, trailing commas, comments, and blank lines.

The problem it solves

Snippets copied from logs, bundles, or chat lose their formatting, and running a project formatter on a scrap of code is overkill.

Included in the app for
  • macOS
  • Windows
  • Linux
JavaScript Formatter with formatted output

Features

  • Style options #

    Choose indentation, quote style, semicolons, and trailing commas to match your codebase.

  • Format or compact #

    Pretty-print for reading or compact the code into fewer lines.

  • Syntax-highlighted editors #

    Input and output use code editors with highlighting, and the input is checked as you type.

Private by design

  • Your code and data stay on your machine: no stranger’s server sees them, and no AI trains on them.
  • Every tool works offline. The only network use is checking for updates.
  • Free to use with no ads or paywalls, ever. Source available on GitHub.