Online Javascript JSON Minifier & Beautifier
Compress or pretty-print JavaScript and JSON. Comments and strings stay intact.
What it is for?What it is for?
How it works
Compress removes whitespace and comments without touching strings, template literals or regular expressions. Valid JSON is minified as JSON, so the output stays valid.
Beautify re-indents your code with four spaces. Tick "Decode special JSON chars" to turn escaped characters such as \u00e7 back into readable text.