What this tool does
Minifies or formats JavaScript, sets indentation, uploads local files, and copies/clears content. All processing is local.
Steps
- Paste or upload JS code.
- Click Minify to compress, or Format to beautify.
- Choose indent size via Indent: 4 spaces (adjust as needed).
Examples
- Removes comments and extra whitespace when minifying.
- Keeps block structure and indentation when formatting.
Notes
- Heuristic formatter; may not perfectly handle complex syntax.
- No code is sent to servers; everything runs in‑browser.