LocalExcelTool
はじめる

CSV → Markdown 表

CSV を Markdown の表に変換。1 行目がヘッダー行になります。先頭 500 行まで。

CSV → Markdown 表とは

CSV から Markdown 表への変換は、1 行目を見出し、以降をデータ行として | 区切りのテキストに組み直す処理です。セル内の | はエスケープし、改行は空白に畳むため表が崩れません。行数が増えると Markdown 表は実用性を失うので、先頭 500 行までを出力します。

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

このツールの前提

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

The fastest path from a spreadsheet to a document

Copy a range out of Excel, paste it as CSV, convert it to a Markdown table, and you have a table that renders on GitHub, in Notion, in a wiki and in most chat tools without anyone installing anything.

The first row becomes the header and a separator line is inserted after it. Cell contents are trimmed, pipes are escaped, and embedded newlines collapse to spaces so every row stays on one line.

Numbers are left as they are — no thousands separators are added, because Markdown tables do not align numbers and adding separators would make the values harder to copy back out.

Limits worth knowing before you paste

Alignment is not preserved from the source. A Markdown table can be left, centre or right aligned per column, but the converter does not guess; add colons to the separator row yourself if alignment matters.

Merged cells cannot be expressed. A merged header becomes an empty cell, so the header row may look incomplete after conversion. Unmerge and fill the value into each column before converting, otherwise the reader sees a table whose first row has holes in it.

Tables wider than the reader's screen become horizontal scroll. If the audience is on mobile, consider splitting the table or linking to a file: a five-column table in a README is readable on a laptop and unusable on a phone, and the reader will not tell you which one they used.

使い方

  1. 1.CSV を貼り付けるか .csv を選ぶ
  2. 2.「実行」をクリック
  3. 3.Markdown をコピー

他の方法との比較

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

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

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

よくある質問

なぜ 500 行までなのですか?

Markdown の表は行が増えるほど読みづらく、GitHub でも折り返しが崩れます。全行が必要なら JSON か SQL への変換をおすすめします。

区切り文字は選べますか?

自動判定です。カンマ・セミコロン・タブのうち、1 行目に最も多く現れるものを区切り文字として扱います。

見出し行を付けずに変換できますか?

Markdown の表はヘッダー行が必須なので、1 行目を必ず見出しとして扱います。見出しが不要な場合は、変換後に 1 行目を書き換えてください。

この変換で失われるもの

表計算の変換は本質的に不可逆です。ワークブックは数式・書式・結合セル・複数シートを持ち、CSV は行のテキストしか持てません。このツールは値と並び順を保持し、再計算はせず、見た目は意図的に捨てます。サーバー不要で動く理由であり、変換後のファイルが元と同じ見た目にならない理由でもあります。

その他の表計算・文書