The JSON to TOON Converter module allows you to seamlessly transform data between JSON and TOON formats within your Make.com scenarios.

TOON (Text Object Oriented Notation) is a human-readable data format that provides an alternative to JSON with enhanced readability and flexibility for certain use cases.
Read more about TOON.
Using JSON to TOON and TOON to JSON conversion can reduce AI tokenization by 40% to 60% when working with language models.
By passing TOON instead of JSON to AI prompts, you can:
Example comparison:
JSON (125 characters):
{"user":"John","role":"admin","permissions":["read","write","delete"],"active":true}
TOON (85 characters):
user: John
role: admin
permissions: [read, write, delete]
active: true
This workflow pattern is especially valuable when sending large datasets to AI models or when making frequent API calls where token optimization directly impacts your costs.
The JSON to TOON Converter module provides bidirectional conversion:
| Field | Description | How to use it |
|---|---|---|
| Connection | Links the module to the CustomJS service | Select or create a connection using your API key |
| Conversion Direction | Choose the conversion type | Select either "JSON to TOON" or "TOON to JSON" |
| Input Data | The data to be converted | Provide JSON string or TOON string depending on conversion direction |
| Return Type | Format of the output | Choose "Text" for TOON output or "Object" for JSON output |
Input (JSON):
{
"name": "John Doe",
"age": 30,
"email": "john@example.com",
"address": {
"street": "123 Main St",
"city": "New York"
}
}
Output (TOON):
name: John Doe
age: 30
email: john@example.com
address:
street: 123 Main St
city: New York
Input (TOON):
product: Laptop
price: 999.99
specs:
ram: 16GB
storage: 512GB SSD
processor: Intel i7
Output (JSON):
{
"product": "Laptop",
"price": 999.99,
"specs": {
"ram": "16GB",
"storage": "512GB SSD",
"processor": "Intel i7"
}
}