LocalExcelTool
はじめる

ユニバーサル データ変換

JSON / YAML / CSV / TSV を相互変換。

ユニバーサル データ変換とは

ユニバーサル データ変換ツールは、JSON・YAML・CSV・TSV の 4 形式を相互変換する無料ツールです。CSV/TSV は引用符・エスケープ・改行を含むセルに対応した独自パーサーで読み込み、JSON/YAML は厳密に検証してエラー行を報告します。API レスポンスとスプレッドシートデータの往復確認に使えます。ブラウザ内で完結(2MB まで)。

🔒 処理はすべてブラウザ内で完結し、データは送信されません。

このツールの前提

処理場所
このページのブラウザ内(JavaScript / Canvas)
アップロード
なし — ファイルは端末の外に出ません
オフライン
ページを開いた後は通信不要

Every pair loses something different

CSV cannot express types, nesting or null: every cell is a string, and the reader has to guess whether 007 is a number or an identifier. JSON keeps types but has no comments and no schema. YAML keeps types and comments but has the yes/no trap. XML keeps everything and is verbose enough that nobody reads it by hand.

That asymmetry is the real content of a converter. Going to CSV flattens; going from CSV to JSON produces all-string values unless you specify types; going through YAML and back can turn a country code into a boolean. None of these are bugs in the tool — they are the formats.

Nesting has no flat representation

A structure with an array of objects inside an object cannot become a table without a convention: one row per child with the parent repeated, one column per leaf path, or a JSON blob in a cell. Each choice is lossy in a different way, and the receiving system decides which one it can read.

XML attributes are the clearest case: <row id="7"> has its id in an attribute, not an element, and flattening produces either a column called @id or a lost value depending on the tool. Check the header row before trusting a converted file.

Numbers, dates and encoding on the way through

A date written 03/04/2026 is ambiguous across locales and becomes a different date depending on which side parses it. Large integers exceed JavaScript's safe range as soon as they pass through a generic converter. Both failures are silent and both are expensive to trace.

For anything with money, identifiers or timestamps, convert to strings deliberately at the source and keep them as strings through the pipeline. A converter is the right place to move shape, and the wrong place to trust type inference.

使い方

  1. 1.データを貼り付け
  2. 2.入力形式と出力形式を選ぶ
  3. 3.実行して結果をコピー

他の方法との比較

同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。

観点このツールサーバー側の変換サービス
ファイルの処理場所このページのブラウザ内ベンダーのサーバー(アップロード後)
アカウント不要多くの場合必要(無料枠の制限解除に登録を求める)
無料で扱えるサイズサイズ制限なし(回数制限もなし)数ファイル/時間、または 5〜10MB 程度で課金 wall
料金無料。Pro は月 $9(大きいファイルと AI 機能のみ)サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点)
オフライン一度開けば通信不要不可
20MB を処理し始めるまで待ち時間なし(アップロードが無い)アップロードが支配的(10Mbps 上りで約 16 秒)
保証できないこと不正な入力は「修復」せず、パーサのエラー位置を返します同じ(変換の原理は変わらない)

サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。

よくある質問

対応形式は?

JSON、YAML、CSV、TSV の相互変換です。CSV は引用符・二重引用符エスケープ・セル内改行に対応しています。XML は「XML Formatter」をご利用ください。

ネストしたオブジェクトの CSV 化は?

ネスト値は JSON 文字列として 1 セルに入ります。フラットなデータでの利用を推奨します。

この変換で失われるもの

フォーマッタは入力を構文木に解析し、一貫したインデントで出力します。入力が不正なら、黙って壊れたファイルを返すのではなく、パーサのエラー位置を表示します。壊れた JSON は「修復」されず、そのまま壊れたまま示されます。

その他のフォーマット