JavaScript Tools
Format JavaScript with Prettier conventions or minify it with Terser — the same engines used in real build pipelines, run locally.
JavaScript Formatter
FormatterPaste ugly or compressed JavaScript and get clean, readable code back instantly — with configurable indentation, brace style, and line wrapping. Runs entirely in your browser so your source stays private.
Open toolJavaScript Minifier
MinifierMinify JavaScript by removing whitespace, renaming variables, and eliminating dead code — processed entirely in your browser so proprietary source stays private.
Open tool