LLM & TOONTyped HeaderToken Saver

Convert CSV Tables to TOON

Turn spreadsheet exports into typed, token-efficient TOON payloads with automatic delimiter detection and GPT-4o BPE savings metrics locally.

100% Browser-Local — Verify 0 bytes uploaded in Network tabVerify 0 bytes sent in Network tabUpdated: 2026-11-24
  • 0 bytes uploaded
  • Auto-detects comma, tab, semicolon
  • Typed numbers & booleans

Select CSV / TSV file

or paste CSV · auto delimiter · types inferred.csv · .tsv

Zero upload limits · Runs in browser RAM

Benchmark & Expected Output

Schema-aware tabular TOON

Before (Input)
model,provider,context_k,price_per_1m
gpt-4o,openai,128,2.5
claude-sonnet-4,anthropic,200,3.0
gemini-2.5-pro,google,1000,1.25
After (Output)
[3]{model,provider,context_k,price_per_1m}:
  gpt-4o,openai,128,2.5
  claude-sonnet-4,anthropic,200,3
  gemini-2.5-pro,google,1000,1.25
Source vs. target format specification comparison
PropertySource: CSVTarget: TOON
File extension.csv.toon
MIME typetext/csvtext/plain
Structure typeTabularHierarchical
EncodingUTF-8 TextUTF-8 Text
Nesting supportNoYes
LLM token efficiencyMediumHigh
Schema / typedNoYes
Best forFlat spreadsheets, database imports, Excel interoperability, and quick row/column diffing across tabular exports.Shrinking LLM prompt payloads, RAG context tables, and agent tool responses by 30%–60% tokens without losing JSON data fidelity.
How it works

How to use CSV to TOON locally in your browser

Transform CSV or TSV spreadsheets into schema-declared TOON blocks with typed numbers and booleans for LLM prompts.

01

Paste or load CSV/TSV

Drop a .csv or .tsv file or paste tabular records locally.

02

Set typing & delimiter

Auto-detect delimiters and coerce numeric or boolean cells into native TOON types.

03

Copy prompt-ready TOON

Use the schema-declared [N]{cols}: block inside LLM prompts at minimal token cost.

Next step

Continue your data pipeline

Related tools

Related data & AI tools

Format specs

Formats · Guides · Compare

FAQ

Frequently asked questions

Why send TOON instead of raw CSV to an LLM?

TOON declares explicit row counts and typed unquoted primitives while quoting ambiguous strings cleanly.

Does CSV to TOON detect tab-separated TSV files?

Yes. Auto delimiter sniffing handles comma, tab, semicolon, and pipe delimiters automatically.

Are sensitive spreadsheets ever uploaded?

Never. Parsing, type inference, and TOON encoding run completely in browser RAM.