JSON input
Help
JSON Editor
Format, minify, validate and repair JSON, with advanced editing for field search, stringified-field expansion, field serialization, flattening and structure restoration.
- Structural operations apply to the whole JSON by default; for a single field, use the field-level actions shown when you hover that field.
- Structural operations require valid or repaired JSON input.
Show details
Error Diagnosis and Repair
- Pinpoint the exact error location by line and column
- Auto-fix common JSON errors
Search and Replace
- Full-text search: open with Ctrl / Cmd + F, with replace and refine support
- Field search: open with Ctrl / Cmd + Shift + F, or switch from full-text mode with the Mode toggle
- Field search supports multi-field combinations such as users.[*].city and users.[*].role, plus include / exclude conditions
Structural Operations (Global)
Use these operations to reshape the whole JSON or work with nested JSON stored as strings, such as a payload field in API responses.
- Expand stringified fields so JSON text is expanded in place into editable JSON structure
- Serialize a field back from JSON object to JSON string
- Flatten nested structures into dot-path fields
- Expand flattened fields back into nested structures
- Restore structure to undo the last structural transformation without discarding content edits
Field-Level Actions
When you hover a field, you can run these actions on the current field:
- Copy field value, expand stringified JSON, serialize field, flatten field, expand flattened fields and filter
- For arrays, you can choose whether the action applies to all items or only the current element
Example: Edit Content Inside a JSON String Directly
When a field like payload contains nested JSON as a string, expand it first, edit it as JSON, then restore the original message shape.
Input
{
"payload": "{\"key1\":\"hello\"}"
}After Expand
{
"payload": {
"key1": "hello"
}
}Restore After Editing
{
"payload": "{\"key1\":\"hello world\"}"
}