CSV Viewer
Load a CSV file and inspect the contents in a table.
CSV Viewer — what it does
Open a CSV and read it as a proper table in the browser, with the header row and cell boundaries laid out clearly. No import wizard, no delimiter prompt and no risk that a spreadsheet silently reformats your identifiers — it simply shows you what the file actually contains.
Worked example
A four-column supplier list, suppliers.csv, with a quoted comma, an empty status cell, a short last row and two blank lines at the end.
Input — suppliers.csv
supplier,contact,city,status "Harbour Foods, Ltd",ann.lee@example.com,Taipei,active Northwind Paper,ben.ortiz@example.com,Kaohsiung, Blue Pine Office,chloe.park@example.com
Output — the rendered table, one row per line, cells separated by |
supplier | contact | city | status Harbour Foods, Ltd | ann.lee@example.com | Taipei | active Northwind Paper | ben.ortiz@example.com | Kaohsiung | Blue Pine Office | chloe.park@example.com | |
The quoted comma stays inside one cell, the short third row is padded with empty cells to the header width, and the blank trailing lines produce no rows.
When this tool helps
- Checking an unfamiliar export before deciding which tool to run on it.
- Reading a CSV on a machine with no spreadsheet application installed.
- Confirming a file's structure — column names, row count, obvious gaps — before an import.
How to use it
- Choose the CSV file to open.
- Read the parsed table on screen.
- Note the column names and any obvious data problems.
- Move on to the tool that does the transformation you need.
Accuracy, limits, and good practice
- Because nothing is written back, this is the safest way to inspect a file — an Excel round-trip can change dates and drop leading zeros.
- If the whole file appears in one column, the delimiter is not a comma; run the delimiter converter first.
- Strange characters in place of accents indicate an encoding mismatch, usually a file saved as UTF-8 read as a legacy code page.
Frequently asked questions
Can I edit cells here?
This is a viewer. Use the filter, sorter, renamer or cleaner tools for changes, each of which produces a new file.
How large a file can it open?
It depends on memory. Files of a few tens of megabytes normally render, though very wide tables will need horizontal scrolling.
What happens to rows with more cells than the header?
The surplus is not shown. The table is built with exactly as many columns as the header row has, so extra cells at the end of a data row are silently dropped, while rows with fewer cells are padded with empty ones.
Does it cope with Windows line endings and line breaks inside quotes?
Yes. A CR LF pair counts as one line break, and a line break inside double quotes stays inside the cell instead of starting a new row. Lines that are completely empty are skipped.
Related tools on this site
- CSV Row Splitter — Split a CSV into smaller files by row count
- JSON Difference Viewer — Compare two JSON documents and list added, removed, and changed values
- CSV Column Merger — Combine selected CSV columns into a new field
Further reading: Cleaning a CSV export before you import it anywhere · CSV, JSON, YAML, XML and Markdown Tables: When Each Fits and How to Convert
Everything above runs inside this page. CSV Viewer needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
CSV 檢視器能做什麼
在瀏覽器中開啟 CSV,以完整的表格形式閱讀,標題列與儲存格邊界一目了然。沒有匯入精靈、不必回答分隔符問題,也不會有試算表偷偷改掉識別碼的風險——它只是誠實地把檔案內容顯示出來。
實際範例
四欄的供應商清單 suppliers.csv,內含帶引號的逗號、一個空的 status 儲存格、一列較短的資料列,以及結尾兩個空行。
輸入:suppliers.csv
supplier,contact,city,status "Harbour Foods, Ltd",ann.lee@example.com,Taipei,active Northwind Paper,ben.ortiz@example.com,Kaohsiung, Blue Pine Office,chloe.park@example.com
輸出:頁面上的表格,每行一列,儲存格以 | 分隔
supplier | contact | city | status Harbour Foods, Ltd | ann.lee@example.com | Taipei | active Northwind Paper | ben.ortiz@example.com | Kaohsiung | Blue Pine Office | chloe.park@example.com | |
引號內的逗號留在同一個儲存格;第三列較短,會補上空儲存格到標題欄數;結尾的空行不會產生任何列。
什麼時候用得上
- 在決定要用哪個工具處理之前,先看看陌生匯出檔的內容。
- 在沒有安裝試算表軟體的電腦上閱讀 CSV。
- 匯入前確認檔案結構:欄位名稱、列數與明顯的缺漏。
使用步驟
- 選擇要開啟的 CSV 檔案。
- 在畫面上閱讀解析後的表格。
- 記下欄位名稱與明顯的資料問題。
- 接著使用真正需要的轉換工具。
精確度、限制與實務建議
- 因為不會寫回任何內容,這是檢視檔案最安全的方式;用 Excel 開了再存,日期與前置零都可能被改掉。
- 若整份檔案擠在同一欄,代表分隔符不是逗號,請先用分隔符轉換工具處理。
- 重音字變成怪異符號通常是編碼不符,多半是 UTF-8 檔案被當成舊版編碼讀取。
常見問題
可以直接編輯儲存格嗎?
這是檢視器。需要修改請使用篩選、排序、改名或清理等工具,它們都會產生新的檔案。
可以開多大的檔案?
取決於記憶體。數十 MB 的檔案通常可正常顯示,但欄位很寬的表格需要左右捲動。
資料列的儲存格比標題多會怎樣?
多出來的不會顯示。表格的欄數完全依標題列決定,資料列尾端多餘的儲存格會被無聲捨棄;儲存格較少的列則補上空儲存格。
能處理 Windows 換行與引號內的換行嗎?
可以。CR LF 視為一次換行;雙引號內的換行會留在儲存格裡,不會另起一列。完全空白的行會被略過。
本站相關工具
- CSV 按行數拆分 — 依指定行數將 CSV 拆分成多個檔案
- JSON 差異檢視器 — 比較兩份 JSON 並列出新增、移除與修改內容
- CSV 欄位合併 — 將選定 CSV 欄位合併成新欄位
延伸閱讀: 匯入之前先把 CSV 匯出檔清乾淨 · CSV、JSON、YAML、XML 與 Markdown 表格:各自適用的場合與轉換方法
以上步驟全部在這個頁面內完成,CSV 檢視器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。