JavaScript formatter and minifier
Use this JavaScript formatter to add readable line breaks and indentation to snippets, or minify simple JavaScript into a compact form. It is useful for quick debugging, reviewing copied scripts, and cleaning small examples before sharing them.
JavaScript formatting runs locally in your browser, so pasted code is not uploaded.