TOON Input

CSV Output

What Is TOON to CSV?

TOON (Token-Oriented Object Notation) is a compact format for LLMs. CSV is tabular—rows and columns—and opens in Excel or Google Sheets. Converting TOON to CSV flattens nested structures into rows for analysis or import.

This tool parses your TOON and outputs CSV. Conversion runs entirely in your browser. Nothing is sent to a server. Repeated items in TOON (e.g. a list of objects) become CSV rows. For JSON instead, use TOON to JSON.

TOON to CSV Examples

Convert TOON to CSV. Telecom-themed example:

Example: Subscriber records

TOON Input

CSV output:

CSV Output

Click the Sample button above to load more examples into the editor.

How to Use This Tool

1

Paste or Upload TOON

Copy your TOON and paste it into the left editor. You can also click Upload to load a .toon or .txt file. The Sample button loads example data. Invalid TOON will show an error.

2

View CSV Output

The right panel shows the flattened CSV. Repeated items become rows; keys become column headers. Nested objects may be flattened into columns. The structure depends on your TOON.

3

Copy or Download

Use Copy or Download. For TOON to JSON, use TOON to JSON. For TOON formatting, use TOON Formatter.

When TOON to CSV Helps

When you receive TOON from an LLM or AI system with a list of records (e.g. search results, extracted data), converting to CSV lets you open it in Excel or Google Sheets for analysis, sharing, or importing into other systems. The RFC 4180 defines CSV format. ETL pipelines and reporting workflows often expect CSV.

Frequently Asked Questions

How is nesting handled?

Repeated items (arrays of objects) flatten to rows. Nested objects may become columns or concatenated values. The exact structure depends on your TOON.

Is my data private?

Yes. Conversion runs entirely in your browser. No data is sent to any server.

TOON vs CSV?

TOON is hierarchical. CSV is tabular. Use this tool when your source is TOON but you need spreadsheet-friendly output.

Can I convert to JSON instead?

Yes. Use TOON to JSON for JSON output. For JSON to CSV, use JSON to CSV.

What if my TOON has no repeated items?

A single object becomes a single row. Nested keys may become column headers. For flat key-value data, you get one row.

Related Tools

TOON. RFC 4180 CSV. JSON spec. MDN. YAML. GitHub.