無料 · 開発
JSON → TOON 変換ツール.
JSON と TOON(Token-Oriented Object Notation)を相互変換して LLM に送るデータを小さくします。サイズ比較と往復チェック付き。
Loading the calculator…
使い方: JSON → TOON 変換ツール
データを入力するかファイルを選び、設定を調整して結果を生成します。コピーやダウンロードの前に結果を確認してください。
制限と対応形式
入力内容はお使いの端末で処理されます。
英語の技術説明
Token counts are estimates (about 4 characters per token). Everything is calculated in your browser; nothing you type is uploaded.
Objects use indentation, arrays carry their length [N], and arrays of uniform flat objects become tables with a {field} header. Strings are quoted only when needed. Tested on thousands of random documents.
Three users with id, name, role and active become one header users[3]{id,name,role,active}: and three short rows — about 40 % smaller than compact JSON.