Invalid JSON
The comma after the last property is invalid JSON.
{
"name": "Ada",
}Output
Unexpected token } in JSONPrivate / No Upload
JSON does not allow trailing commas after the final object property or array item. Remove the last comma, then format or validate again.
Runs in your browser
HappyFormatter tools process pasted snippets client-side for quick, privacy-first developer workflows.
No upload
HappyFormatter tools process pasted snippets client-side for quick, privacy-first developer workflows.
No account
HappyFormatter tools process pasted snippets client-side for quick, privacy-first developer workflows.
Invalid JSON
The comma after the last property is invalid JSON.
{
"name": "Ada",
}Output
Unexpected token } in JSONFixed JSON
Remove the trailing comma after the last property.
{
"name": "Ada"
}Output
Valid JSON objectValidate and format JSON locally.
Related toolInspect JSON after fixing it.
Related toolFollow a complete JSON cleanup workflow.
Guide