CSV to web table

CSV → HTML テーブルコンバーター

CSVデータをすぐに貼り付けられるHTMLテーブルマークアップに変換。CSVを貼り付けまたはアップロードし、ヘッダー行を指定し、テーブルをプレビューして、クリーンな<table>コードをウェブページまたはメールに直接コピー。

無料登録不要ブラウザ内で動作Excel 対応
変換を開始
CSV → HTML テーブルコンバーター
変換するテキストを貼り付けまたはアップロード。
入力 — 貼り付けまたはアップロード
Drag a file here, or browse (.txt, .csv, .tsv, .json)
出力
入力形式
入力区切り文字
列幅
出力形式
カスタム区切り文字
プレーンテキスト形式
引用符
改行コード

データのライブテーブルプレビューがここに表示されます。

This page outputs an HTML <table> — tick 1 行目はヘッダー to wrap your headings in <th>.

広告
できること

Convert CSV into an HTML table

Need your data on a web page? This tool does the convert csv to html table job: it reads your CSV and generates semantic <table> markup with rows and cells you can paste directly into a site, a CMS or an HTML email.

Mark the first row as a header and it is wrapped in a <thead> with <th> cells; the rest goes in a <tbody>. Special characters are safely escaped, so values containing <, > or & render correctly instead of breaking your page.

Want the data as a spreadsheet instead? Use text to CSV or CSV からテキストへ. For APIs, see JSON から CSV へ.

手順

How to use it

貼り付けまたはアップロード

Add your text or drop a file — it is read locally in your browser, never uploaded.

Preview & adjust

Check the live table and the row / column counts, then tweak the delimiter or options if a column looks off.

Copy or download

Grab the result with Copy or Download. You can reopen recent conversions from this device too.

例

Input and output example

CSV converted to semantic HTML table markup with a header row.

Input
name,city
Ada,NY
Lin,LA
出力
<table>
<thead><tr><th>name</th><th>city</th></tr></thead>
<tbody>
<tr><td>Ada</td><td>NY</td></tr>
<tr><td>Lin</td><td>LA</td></tr>
</tbody></table>
Details

Clean, paste-ready table markup

出力は好きなようにスタイルできるプレーンHTMLです。

Header rows with <th>

With 1 行目はヘッダー ticked, your column titles become <th> cells inside a <thead>. That is better for accessibility and lets screen readers and CSS target headings separately from data.

Safe escaping

Any value containing <, > or & is escaped to its HTML entity, so the table displays the literal text and never injects unintended markup. This keeps the output safe to drop into a page.

Styling the table

The markup is intentionally minimal — no inline styles — so you can apply your own CSS classes or a framework. Add borders, striping and padding in your stylesheet to match your site.

Copy and paste workflow

Use the Copy button to grab the markup, then paste it into your HTML. Because everything runs locally, you can convert sensitive data without sending it anywhere.

Good to know

Tips and edge cases

  • Tick the header option for accessible, styleable headings.
  • Add your own CSS class to the <table> after pasting to control its look.
  • For data exchange rather than display, export CSV, TSV or JSON instead.
Good to know

From data to a web page

Pasting CSV into a page by hand is error-prone; generating the markup keeps every row and cell consistent. The output works in static sites, CMS editors, documentation and HTML email, and because it carries no inline styles it inherits your existing table CSS. For very large datasets, consider paginating or lazy-loading the table in your own template rather than rendering thousands of rows at once.

よくある質問

CSV to HTML Table Converter — FAQ

Does it create a header row?

Yes, tick First row is header to wrap your titles in <th> inside a <thead>.

Are special characters safe?

Yes. <, > and & are escaped so the table renders the literal text.

Can I style the table?

Yes. The markup has no inline styles, so add your own CSS classes or framework.

Is my CSV uploaded?

No, the conversion happens entirely in your browser.