Convert JSON to CSON

Use this JSON to CSON converter tool by pasting or uploading JSON in the left box below. Results will appear in the box on the right. CSON stands for CoffeeScript-Object-Notation. CSON is just like JSON except for CoffeeScript objects.

Input (JSON) - Paste your JSON here

Output (CSON) - The converted CSON

Converter Options
CSON indent spacing
Number of spaces to use for indenting the CSON output
Tab indent
Use tabs instead of spaces to indent CSON

Want to convert CSON to JSON instead? Use the CSON to JSON Converter Tool.

Need an example of what JSON looks like? Get example JSON.

How to use JSON to CSON Conversion Tool

  1. Paste your JSON input into the left input box and it will automatically convert it into CSON.
  2. The CSON output is the box to the right.
  3. If there are any errors in the JSON and the converter isn't able to do the conversion, the error message will appear in the output box letting you know where the error was found in the JSON.
  4. Use the control box to select options that will affect the conversion.
  5. Your JSON data is secure. ConvertSimple's converter does not send your JSON data to our servers for conversion, the process is done completely in your web browser. That's what makes ConvertSimple's converter the safest and fastest converter out there.

JSON Format

Name JSON
Full form name JavaScript Object Notation
File extension .json
Type of format Object Notation
MIME type application/json

CSON Format

Name CSON
Full form name CoffeeScript Object Notation
File extension .cson
Type of format Object Notation
MIME type text/cson, text/x-coffeescript

Related Tools