JSON Cleaner

Clean valid JSON with controlled rules such as string trimming, empty-value pruning, array dedupe, and key sorting.

Quick Actions

Cleaning Rules

Settings

Features:

  • Trim whitespace in strings
  • Remove nulls, empty strings, empty arrays, and empty objects
  • Dedupe array items by content
  • Sort object keys recursively
  • Show cleaning stats per rule

JSON Input

Loading editor...