Definitions section where repeated values are declared once and referenced later using semantic variables ($var).
Data section containing the actual compressed content using the definitions from above.
CSV-like format with pipe delimiter
Human-readable variable names
Organize related data with @section
Collapse nested single properties
{
"company": {
"name": "TechCorp Inc",
"headquarters": {
"street": "123 Innovation Drive",
"city": "San Francisco",
"zip": "94105"
}
},
"offices": [
{
"location": "West Coast",
"address": {
"street": "123 Innovation Drive",
"city": "San Francisco",
"zip": "94105"
}
},
{
"location": "Branch Office",
"address": {
"street": "123 Innovation Drive",
"city": "San Francisco",
"zip": "94105"
}
}
],
"contacts": [
{"name": "John Doe", "email": "john@techcorp.com", "office": "123 Innovation Drive"},
{"name": "Jane Smith", "email": "jane@techcorp.com", "office": "123 Innovation Drive"}
]
}
$def:
$street:"123 Innovation Drive"
$city:"San Francisco"
$data:
offices:[2]{location,address.street,address.city,address.zip}
"West Coast"|$street|$city|"94105"
"Branch Office"|$street|$city|"94105"
contacts:[2]{name,email,office}
"John Doe"|"john@techcorp.com"|$street
"Jane Smith"|"jane@techcorp.com"|$street
@company
name:"TechCorp Inc"
headquarters:{street:"123 Innovation Drive",city:"San Francisco",zip:"94105"}
No setup required. ASON 2.0 automatically detects patterns and optimizes compression without any manual configuration.
100% lossless round-trip guaranteed. Your data structure and values remain exactly as they were after decompression.
20-60% token reduction with 35.9% average savings. Up to 60% on uniform data. Significantly reduces LLM API costs.
Full TypeScript definitions. Works seamlessly in Node.js and browsers. Available on NPM and all major CDNs.
Unlike binary formats, ASON output remains readable and debuggable while achieving significant compression ratios.
Combines sections, tabular arrays, semantic references, and dot notation automatically. Pipe delimiter for maximum efficiency.
Every token saved is money saved. ASON's design makes it easier for LLMs to parse correctly—reducing errors and improving response quality while cutting your API bills by 20-60%.
$def), pipe delimiters for clarity, and smarter detection of repeated values. See the benchmarks page for detailed comparisons.
Enable ASON in Claude Desktop, Cline, Continue, and other MCP-compatible AI assistants.
Compress/decompress JSON with keyboard shortcuts, context menus, and GitHub Copilot integration.
Rust-based ASON extension with slash commands and AI assistant integration for Zed editor.