ABC

CSV Column Type Detector

Detect likely text, number, date, boolean, and empty column types

No file selected.

CSV Column Type Detector — what it does

Scan every column and get a verdict on what kind of data it holds: text, number, date, boolean or empty. It profiles a file you did not create, before you write a formula, design a database table or trust a column to behave like the numbers it appears to contain.

When this tool helps

  • Designing table columns or an import mapping for a dataset you have just received.
  • Confirming that an amount column is genuinely numeric and not text with stray currency symbols.
  • Finding columns that are entirely empty and can be dropped before analysis.

How to use it

  1. Choose the CSV file.
  2. Process the detection.
  3. Review the type assigned to each column.
  4. Download the report for your documentation.

Accuracy, limits, and good practice

  • A column of postcodes or product codes made only of digits will read as numeric, which is exactly how leading zeros get lost on import.
  • Detection is based on the values present, so a mostly numeric column containing one text entry may still be classified as text.
  • Boolean detection recognises common true and false spellings; localised or numeric flags such as 1 and 0 read as numbers instead.

Frequently asked questions

Does it change my file?

No. This tool only reports; the CSV is left exactly as it was and no output data file is written.

How do I keep leading zeros?

Import the column as text in your destination system, or prefix values so they cannot be read as numbers.

Why is a date column reported as text?

Because the format is not parseable as written. Run the date normaliser to standardise it, then detect again.

Related tools on this site

Everything above runs inside this page. CSV Column Type Detector needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

CSV 欄位類型偵測能做什麼

掃描每一個欄位,判定它裝的是哪一類資料:文字、數字、日期、布林或空白。在你為別人給的檔案寫公式、設計資料表,或直接假設某欄真的是數字之前,先做一次剖析。

什麼時候用得上

  • 為剛收到的資料集設計資料表欄位或匯入對應。
  • 確認金額欄真的是數值,而不是夾雜貨幣符號的文字。
  • 找出完全空白、可在分析前直接移除的欄位。

使用步驟

  1. 選擇 CSV 檔案。
  2. 執行偵測。
  3. 檢視每個欄位被判定的型別。
  4. 下載報告存入文件。

精確度、限制與實務建議

  • 全由數字組成的郵遞區號或商品代碼會被判為數值,這正是匯入時前置零消失的原因。
  • 偵測依實際值判斷,因此以數字為主但夾雜一筆文字的欄位仍可能被判為文字。
  • 布林偵測認得常見的 true/false 寫法;本地化字詞或 1 與 0 這類旗標會被判為數字。

常見問題

會改到我的檔案嗎?

不會。本工具只做報告,CSV 維持原樣,也不會輸出資料檔。

怎麼保住前置零?

在目標系統中以文字方式匯入該欄,或替值加上前綴,讓它不會被判讀成數字。

日期欄為什麼被判成文字?

因為現有寫法無法解析為日期。請先用日期格式統一工具標準化,再重新偵測。

本站相關工具

以上步驟全部在這個頁面內完成,CSV 欄位類型偵測 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。