Works with the AI Agents you already use

    Konverter: Cut LLM Tokens on Excel, CSV & JSON

    by brainbooth

    1

    Your agent reads a spreadsheet, and half the tokens go to repeated JSON keys, quotes and braces instead of your data.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    What it does

    • Shrinks spreadsheets and data tables into the format that costs your AI the fewest tokens
    • Tests every format on your actual file and picks the smallest one automatically
    • Shows how many tokens you saved compared with your original file
    • Warns when a table is too big for the AI to read at once, and suggests filtering or splitting it instead
    • Reads Excel files cleanly: real dates, stored values instead of formulas, all sheets
    • Keeps your files on your computer: no uploads, no account, the same result every time

    Who it's for

    Excel and office users

    Ask questions about large spreadsheets without the AI running out of room.

    Try asking: “Which product had the highest sales in sales.xlsx?”

    Developers building AI agents

    Smaller prompts and lower cost for every call that includes table data.

    Try asking: “Prepare customers.csv for a prompt with as few tokens as possible.”

    Teams paying for AI by usage

    Lower bills on table-heavy work, with the saving shown each time.

    Try asking: “How many tokens does orders.xlsx cost, and how can I make it cheaper?”

    Researchers and students

    Survey and study data that fits into the conversation and is analysed from the real numbers.

    Try asking: “Summarise the main results in survey.xlsx”

    Konverter: Cut LLM Tokens on Excel, CSV & JSON

    Konverter: Cut LLM Tokens on Excel, CSV & JSON

    Example session with this skill installed

    Optimize the data in sales_q4.xlsx and tell me how many tokens we save.

    • Read your context and instructions
    • Compiled the konverter
    • Generated the data export

    Converted sales_q4.xlsx with konverter. CSV is the smallest format for this table, so I'll work with the lean version from now on.

    Converted to CSV: about 61% fewer tokens than the JSON reference (≈4,842 → ≈1,906 tokens, Claude estimate).

    Format comparison (measured on this file)

    FormatTokens (Claude, est.)vs. JSON
    CSV (chosen)≈1,906−60.6%
    TOON≈1,987−59.0%
    Markdown≈2,291−52.7%
    JSON (reference)≈4,842±0%
    • Input: Excel, 1 sheet (Q4_Sales), 60 rows × 7 columns
    • Dates exported as ISO text, formulas read as stored values
    • Fits easily into the context window, no splitting needed
    • Saved as sales_q4.min.txt

    Note: Claude token counts are a local estimate. The saving percentage is a reliable guide, the absolute numbers may differ slightly from Anthropic's count.

    Converted data (sales_q4.min.txt)

    Order ID,Date,Region,Product,Units,Unit Price,Revenue
    Q4-1001,2026-10-04,East,Desk Lamp,4,59,236
    Q4-1002,2026-10-18,North,Office Chair,8,249,1992
    Q4-1003,2026-12-09,North,Desk Lamp,24,59,1416
    Q4-1004,2026-10-05,North,Wireless Mouse,14,39.9,558.6
    Q4-1005,2026-10-30,North,Laptop Pro 14,7,1299,9093
    Q4-1006,2026-12-31,West,Wireless Mouse,7,39.9,279.3
    Q4-1007,2026-12-15,East,Office Chair,15,249,3735
    Q4-1008,2026-10-21,West,Laptop Pro 14,25,1299,32475
    Q4-1009,2026-10-20,South,USB-C Dock,9,189,1701
    Q4-1010,2026-10-12,West,USB-C Dock,4,189,756
    Q4-1011,2026-11-14,East,Laptop Pro 14,12,1299,15588
    Q4-1012,2026-11-28,North,Laptop Pro 14,24,1299,31176
    Q4-1013,2026-12-10,East,27in Monitor,3,329,987
    Q4-1014,2026-11-16,South,Desk Lamp,20,59,1180
    Q4-1015,2026-10-06,South,Desk Lamp,3,59,177
    Q4-1016,2026-10-30,North,USB-C Dock,3,189,567
    Q4-1017,2026-11-28,East,27in Monitor,9,329,2961
    Q4-1018,2026-11-15,South,Office Chair,12,249,2988
    Q4-1019,2026-12-29,North,Desk Lamp,9,59,531
    Q4-1020,2026-10-22,South,Wireless Mouse,21,39.9,837.9
    Q4-1021,2026-11-18,East,Office Chair,15,249,3735
    Q4-1022,2026-12-11,South,Desk Lamp,23,59,1357
    Q4-1023,2026-10-08,South,Desk Lamp,11,59,649
    Q4-1024,2026-11-21,East,Laptop Pro 14,11,1299,14289
    Q4-1025,2026-12-12,East,Laptop Pro 14,7,1299,9093
    Q4-1026,2026-12-03,West,Office Chair,21,249,5229
    Q4-1027,2026-10-19,East,Desk Lamp,15,59,885
    Q4-1028,2026-12-11,East,Office Chair,8,249,1992
    Q4-1029,2026-11-24,West,Desk Lamp,19,59,1121
    Q4-1030,2026-10-18,West,USB-C Dock,8,189,1512
    Q4-1031,2026-10-07,North,Laptop Pro 14,25,1299,32475
    Q4-1032,2026-10-21,West,Office Chair,21,249,5229
    Q4-1033,2026-11-19,West,Wireless Mouse,3,39.9,119.7
    Q4-1034,2026-12-07,East,Wireless Mouse,15,39.9,598.5
    Q4-1035,2026-12-27,North,Wireless Mouse,1,39.9,39.9
    Q4-1036,2026-11-04,East,Desk Lamp,18,59,1062
    Q4-1037,2026-11-25,South,Laptop Pro 14,10,1299,12990
    Q4-1038,2026-11-03,South,27in Monitor,1,329,329
    Q4-1039,2026-12-20,East,Wireless Mouse,4,39.9,159.6
    Q4-1040,2026-12-17,South,Desk Lamp,17,59,1003
    Q4-1041,2026-10-21,North,Office Chair,12,249,2988
    Q4-1042,2026-12-02,North,Wireless Mouse,11,39.9,438.9
    Q4-1043,2026-11-09,South,Laptop Pro 14,12,1299,15588
    Q4-1044,2026-12-12,North,Laptop Pro 14,8,1299,10392
    Q4-1045,2026-12-02,North,Laptop Pro 14,24,1299,31176
    Q4-1046,2026-10-17,South,Wireless Mouse,25,39.9,997.5
    Q4-1047,2026-12-10,South,Desk Lamp,16,59,944
    Q4-1048,2026-12-17,West,USB-C Dock,17,189,3213
    Q4-1049,2026-12-28,South,Office Chair,18,249,4482
    Q4-1050,2026-11-21,East,Desk Lamp,10,59,590
    Q4-1051,2026-11-27,North,27in Monitor,17,329,5593
    Q4-1052,2026-10-09,East,Office Chair,8,249,1992
    Q4-1053,2026-12-10,South,Laptop Pro 14,19,1299,24681
    Q4-1054,2026-10-01,North,Wireless Mouse,8,39.9,319.2
    Q4-1055,2026-10-08,South,Desk Lamp,21,59,1239
    Q4-1056,2026-11-12,North,Laptop Pro 14,2,1299,2598
    Q4-1057,2026-11-05,West,Wireless Mouse,8,39.9,319.2
    Q4-1058,2026-10-17,West,Office Chair,18,249,4482
    Q4-1059,2026-11-22,South,Office Chair,16,249,3984
    Q4-1060,2026-12-24,West,Laptop Pro 14,4,1299,5196
    

    Next steps

    I can now answer questions on this data at a fraction of the cost, for example revenue by region, best-selling product, or the weekly trend in Q4. What would you like to know?

    sales_q4.xlsx

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your agent reads a spreadsheet, and half the tokens go to repeated JSON keys, quotes and braces instead of your data.

    Konverter fixes that before the data reaches the context window. It converts Excel (.xlsx/.xls), CSV and JSON tables into CSV, TOON, Markdown and JSON, counts the tokens of each with the real tokenizer, and hands your agent the smallest one. On typical tables that is 40–60% fewer tokens than JSON: more rows per context window, lower cost per call, same information.

    What your agent gets

    Automatic format choice: no single format is always best, so every option is measured on your actual data. An honest report: the saving is measured against the format you actually had. If your file is already optimal, it says so (±0%). A context-window guard: if a table is too large for the model, the agent is told not to load it and offers to filter, split or compute key figures instead. Clean Excel handling: dates become ISO text, formulas are read as values and never executed, all sheets are read.

    Built to be trusted

    Runs 100% locally. Your files never leave your machine: no uploads, no network calls, no telemetry. Deterministic: the same input always produces byte-identical output. The conversion is plain code, not an AI guess. No dependencies to install: one self-contained script, readable and unminified. Safety limits against oversized or hostile files (size, row and column limits). Token accuracy GPT counts are exact (o200k for GPT-4o/GPT-5/o-series, cl100k for GPT-4). Claude counts are a local estimate, because Anthropic publishes no offline tokenizer. They are clearly marked as approximate, and your agent is instructed to say so. Clear warnings instead of silent mistakes: duplicate column names, wrong character sets, total rows, footnotes or Excel errors are flagged, so your agent never calculates with bad data.

    Requirements: Node.js 20 or newer. Supports Excel, CSV (comma, semicolon or tab; UTF-8, Windows-1252 or UTF-16) and JSON arrays of flat objects. Nested JSON is rejected with a clear message, never silently flattened.

    Requires Node.js 20+. Tabular data only: no nested JSON, PDFs, images or free text. Claude token counts are local estimates (GPT counts are exact). Default input limit 50 MB per file (adjustable), max. 1,000,000 rows and 10,000 columns. Empty Excel sheets are skipped.
    Text outside the table (titles, footnotes, side notes) is flagged but not removed.

    Built and tested for Claude Code; works with any agent that supports SKILL.md skills and can run a shell command. Requires Node.js 20+. No npm install, no API key, no network access. Files: SKILL.md (instructions for the agent), scripts/konverter.mjs (one self-contained, unminified ES module, about 4.6 MB because it bundles the tokenizer vocabularies), LICENSE.txt, THIRD_PARTY_NOTICES.txt. Usage: node scripts/konverter.mjs <file> [-m claude|gpt-4o|gpt-4] [-f auto|csv|toon|markdown|json] [-o out.txt] [--report] [--max-size MB] [--from csv|json] [--safe-csv] Input: .xlsx, .xls, .csv (comma, semicolon or tab, auto-detected), .json (arrays of flat objects). Several files or sheets become named sections. Nested JSON is rejected, never flattened. Output: converted data on stdout only; savings report, data notes ("Data note"), context-window note and errors on stderr. Exit code 0 on success (also with notes), 1 on error. Tokenizers: gpt-tokenizer (o200k for GPT-4o/GPT-5/o-series, cl100k for GPT-4), exact. Claude counts are a local estimate derived from o200k and marked as approximate. Limits: 50 MB per file by default (adjustable), 1,000,000 rows, 10,000 columns. Excel formulas are read as stored values and never executed. Deterministic: same input and options give byte-identical output. Bundled: gpt-tokenizer 4.1.2 (MIT), SheetJS xlsx 0.20.3 (Apache-2.0).

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    Software
    Node.js 20+

    No npm install needed. In default permission mode your agent asks once before running the local node script.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    *.xlsx
    *.xls
    *.csv
    *.json

    Shell: runs the bundled script locally with node. Read: only the table files you point it to. Write: only when the agent saves the converted result to a file (-o). No network access, no environment variables, no accounts.

    Listed2 days ago

    What's inside

    Frequently Asked Questions

    It converts tabular files (Excel, CSV, JSON) into the most token-efficient text format before your agent reads them. It measures CSV, TOON, Markdown and JSON with the real tokenizer and picks the smallest, typically 40–60% fewer tokens than JSON.

    Any agent that supports SKILL.md skills and can run a command with Node.js 20+. Tested with Claude Code, where the agent picked the skill on its own for spreadsheet questions. It counts tokens for Claude, GPT-4o/GPT-5 and GPT-4.

    The skill produces optimized text outputs in CSV, TOON, Markdown, or JSON formats based on which one uses the fewest tokens. It can process Excel files, standard CSVs, and flat JSON arrays, providing a deterministic output that is ready for analysis or prompt injection.

    Install the skill and ask your agent about a spreadsheet as usual, e.g. "Which product has the highest stock in sales.xlsx?". The agent converts the file first, then works with the lean version and tells you how many tokens were saved. In default permission mode your agent asks once before running the converter script.

    No. Conversion and token counting run locally in a Node.js process. There are no network calls, no uploads and no API keys.

    Yes. The conversion is deterministic code, not an AI model: the same file with the same options gives byte-identical output.

    Exact for GPT models. For Claude they are a local estimate marked with "≈", because Anthropic does not publish an offline tokenizer. The format ranking and the saving are a reliable guide.

    Konverter warns your agent instead of flooding the context. The agent then looks only at the structure and offers options: key figures via a small script, filtering columns or rows, or working through the data in parts.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.