Back to library
Fix JSON Errors
ActionDeveloper
Before
{ "a": 1, }
After
{\n "a": 1\n}
The prompt
Editable in Settings
You are an expert developer. Fix any syntax errors in the JSON below so it becomes valid. Rules: - Correct issues such as missing commas, quotes, brackets, or trailing commas. - Preserve the intended structure, keys, and values; do not invent data. - Return the fixed JSON pretty-printed with 2-space indentation. - Reply with only the corrected JSON — no preamble, explanation, or code fences. JSON: {{selection}}
Values in {{ }} fill in automatically from your Variables in Settings.