Excel → Markdown 表
Excel のシートを Markdown の表に変換。README やドキュメントにそのまま貼れます(先頭 500 行)。
Excel → Markdown 表とは
Excel から Markdown 表への変換は、シートの 1 行目を見出し行、2 行目以降をデータ行として | 区切りのテキストに組み直す処理です。セル内の | は自動でエスケープされ、改行は空白に畳まれるため、表が崩れません。Markdown の表は行数が増えると実用性が落ちるので、先頭 500 行までを出力します。
🔒 処理はすべてブラウザ内で完結し、データは送信されません。
このツールの前提
- 処理場所
- このページのブラウザ内(JavaScript / Canvas)
- アップロード
- なし — ファイルは端末の外に出ません
- オフライン
- ページを開いた後は通信不要
Why a Markdown table instead of CSV
A Markdown table is the only table format that stays readable as plain text while still rendering as a table. It is what you paste into a README, a pull request, a wiki or a chat message when the reader should not have to download anything.
Pipe characters inside a cell would break the table, so they are escaped. Line breaks inside a cell are replaced with a space, because a Markdown table row must occupy exactly one line.
The first row is treated as the header and a separator row is generated from it. Without that separator, Markdown renderers treat the whole thing as body text and the table does not render at all.
Where the format stops being a good idea
Wide tables become unreadable: beyond about eight columns, the source becomes a horizontal scrollbar in every renderer. Transpose or split the table before converting — and drop columns that the reader does not need, since a Markdown table has no way to hide them.
Markdown cannot express merged cells, multi-line cells or column alignment beyond left/centre/right. If any of those matter, the table should be an image or a PDF, not Markdown.
Very long cell values make the source file hard to read even though it renders fine. That is usually acceptable — the rendered output is what readers see — but it is worth knowing when the file is meant to be read as text.
使い方
- 1.Excel ファイルを選ぶ
- 2.シートを選ぶ
- 3.「実行」→ Markdown をコピー
他の方法との比較
同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。
| 観点 | このツール | サーバー側の変換サービス | デスクトップアプリ |
|---|---|---|---|
| ファイルの処理場所 | このページのブラウザ内 | ベンダーのサーバー(アップロード後) | 自分の PC(アプリをインストール) |
| アカウント | 不要 | 多くの場合必要(無料枠の制限解除に登録を求める) | 不要(ライセンス認証は必要な場合あり) |
| 無料で扱えるサイズ | サイズ制限なし(回数制限もなし) | 数ファイル/時間、または 5〜10MB 程度で課金 wall | ディスクとメモリ次第 |
| 料金 | 無料。Pro は月 $9(大きいファイルと AI 機能のみ) | サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点) | 買い切り、またはサブスク |
| オフライン | 一度開けば通信不要 | 不可 | 可 |
| 20MB を処理し始めるまで | 待ち時間なし(アップロードが無い) | アップロードが支配的(10Mbps 上りで約 16 秒) | アプリの起動のみ |
| 保証できないこと | 数式は計算済みの値になり、結合セルと書式は失われます | 同じ(変換の原理は変わらない) | 同じ。ただし書式の再現はより忠実な場合がある |
サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。
よくある質問
なぜ 500 行までなのですか?
Markdown の表は行が増えるほど読みづらく、GitHub などでも折り返しが崩れます。実務で貼る用途を考えると 500 行が上限の目安です。全行が必要なら CSV か JSON に変換してください。
セル内の | や改行はどうなりますか?
| は \| にエスケープし、改行は空白に置き換えます。表の列がずれることはありません。
結合セルは?
値が入っているセルだけが出力され、結合で空になったセルは空欄になります。
この変換で失われるもの
表計算の変換は本質的に不可逆です。ワークブックは数式・書式・結合セル・複数シートを持ち、CSV は行のテキストしか持てません。このツールは値と並び順を保持し、再計算はせず、見た目は意図的に捨てます。サーバー不要で動く理由であり、変換後のファイルが元と同じ見た目にならない理由でもあります。