JSON Formatter & Repair Tool
Format and beautify JSON, auto-repair invalid JSON; configurable indent, syntax highlighting and line numbers.
Input
Formatted
Formatted result will appear here.
About This ToolFree online JSON formatter and repair tool. Paste raw or invalid JSON in the left panel; the result is shown on the right with configurable indent (2 or 4 spaces), optional syntax highlighting and line numbers. When the input is invalid, the tool tries to auto-repair it (e.g. trailing commas, missing quotes). All processing runs in the browser.How to UsePaste JSON in the left input area. Use the options above to set indent (2 or 4 spaces), turn syntax highlighting or line numbers on/off. The formatted or repaired result appears on the right. If the input had errors and was repaired, an info message is shown; you can copy the result with the Copy button. If repair fails, the error reason is shown below the input.