Skip to main content
Calctrove Calctrove

JSON Editor

JSON Editor

Paste input, adjust settings if needed, then run.

More actions
Input: manual
InputsText/FileManual input • Auto-updateWaiting

File input

Choose a file

Click, drop, or paste from clipboard.

Settings

3

Status

Waiting for output.

Health 55/100

JSON Editor policy

Editor transforms are deterministic and local with explicit strict/lenient parser mode controls.

Rules: 3
Medium risk: 1
Low risk: 2
  • Mode behavior

    LOW risk

    Format/minify/sort modes run after successful parse; lenient mode can normalize common copy-paste issues.

  • Sort mode effect

    MEDIUM risk

    Sort mode recursively reorders object keys, which can change key presentation order expected by downstream diffs.

  • Minify readability trade-off

    LOW risk

    Minify output removes whitespace for transport efficiency but is harder to review manually.

Result size
Live

0chars

Run to update output.

Copy result = output only. Copy report = output + settings.

Flow
  • Parse input JSON in strict or lenient mode.
  • Apply selected mode: format, minify, or sort keys with deterministic output.
  • Render deterministic output with clear syntax errors if parsing fails.
Example

Worked example: stabilize key order

  1. 1 Input object has inconsistent key order and spacing.
  2. 2 Run "sort keys + format" to normalize structure.
  3. 3 Output becomes deterministic for diff-friendly reviews.

The same JSON now compares cleanly across environments.

How
  1. Paste JSON into the editor.
  2. Select parse mode and action (format, minify, or sort).
  3. Review output and copy the final payload.
Cases
  • Prepare stable JSON fixtures for tests and snapshots.
  • Normalize API payloads before posting in bug reports.
  • Switch between human-readable and compact JSON forms quickly.
Avoid
  • Using strict mode for JavaScript-like payloads with comments/trailing commas.
  • Minifying too early, then debugging unreadable output.
  • Sorting keys when key order is semantically important to a downstream system.
FAQ
Does json editor send my input to a server?

No. JSON Editor handles the input in your browser whenever possible, so routine conversions, previews, and copy actions stay on your device instead of being sent to Calctrove servers.

When should I use JSON Editor instead of JSON Formatter?

Use JSON Editor when you need multiple actions in one place, not just pretty-printing.

Will this fix invalid JSON automatically?

In strict mode it does not repair syntax. In lenient mode it can normalize common syntax issues such as comments, trailing commas, and unquoted keys.

Switch
Switch12