Formatting is not repair
Paste {"orderId":42,"paid":false,"items":["pen","paper"]} and choose Format. Indentation changes; the order number, Boolean and array values should remain the same. Minify removes optional spacing for transport.
What to check before using the result
Invalid JSON must be corrected first. JavaScript numbers can lose integer precision above 9007199254740991; represent large identifiers as strings. Duplicate object keys may be overwritten during parsing.
Input privacy and troubleshooting
Tool input is processed in your browser. Optional URL imports, downloaded libraries and advertising may make network requests. Use non-sensitive samples on shared devices. If an operation fails, reduce the input to the smallest example that reproduces the issue and report the tool URL and expected result.