JavaScript Object to JSON Converter

Jun 29, 2018

Extract objects from JavaScript (JS) and convert them into JSON by adding double quotes to property names



Input: Paste JavaScript with objects below



JSON to JavaScript Object Converter

Convert JSON into JavaScript object by removing quotes from property name and using single quotes instead of double quotes for literal string values

View Tool

JavaScript is the scripting language of the web. It is used to add dynamic behavior to web pages and even apps!

JavaScript Object Notation (JSON), pronounced as Jason, is the most common data interchange format on the web. Douglas Crockford first released the JSON specification in the early 2000s. It is a simple format that is easier to comprehend than XML. It is also smaller in size because it does not have closing tags. A wide variety of programming languages can parse JSON files. They also support the serialization of data structures to JSON. You can copy JSON text to JavaScript and start using them without any modifications.

Comments 0

History
Jun 29, 2018
Tool Launched