jsonify

Software
Cover image

Simple online tool for turning javascript objects to actual JSON

Single quotes? Unquoted properties? Trailing commas? Comments?

Try it now

https://victornpb.github.io/jsonify/


Turn this:

/* Javascript object */
{
  foo: 'bar', // comment
  'hello': `world`, // trailing comma
}

Into this:

{
    "foo": "bar",
    "hello": "world"
}