JavaScript Object to JSON Converter

Convert JavaScript object literal syntax to JSON format with customizable formatting options. Supports various JS features and syntax.

Paste your JavaScript object literal here

Switch to JSON to JS Object

Your converted JSON will appear here