...

Search Tools

Search for a command to run...

JSON Formatter

Format and fix malformed JSON strings with customizable indentation.

Drag and drop a JSON file here, or click to select

or click to select a file

Enter JSON to format...

Use with cURL

You can also use this functionality directly via the API endpoint with cURL commands.

cURL Command:
curl -X POST "https://all-tools.app/api/json-formatter" -H "Content-Type: application/json" -d "{\"text\":\"{\\\"name\\\":\\\"John\\\",\\\"age\\\":30}\"}"