JavaScript Object to JSON Converter

Updated: 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
Background Information

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 de facto standard for data interchange on the web these days. It is a simple format that is easier to comprehend than XML. It also has less size than XML because of no closing tags. Interacting with JSON from JavaScript is extremely seamless. JSON format was first specified by Douglas Crockford in the early 2000s

 

Comments 0


History

Jun 29, 2018
Tool Launched