How the Spreadsheet Type Coercion Helper Works
AnyTool detects and converts column types entirely in the browser. The CSV is parsed with PapaParse, then each column is classified by a deterministic, ordered cell classifier (empty, boolean, integer, decimal, currency, percent, date, email, url, phone, text) and assigned a dominant type with a confidence score and a mixed-type flag when the top type is below a threshold. You then coerce any column (or the whole sheet) to a target type — number, integer, boolean, date or datetime — where numbers are parsed locale-aware and dates in UTC. Crucially, cells that cannot be converted are flagged rather than silently turned into 0; you choose whether to keep, blank, or mark them as errors. The coerced sheet exports as CSV or TSV. Nothing is uploaded.
- Runs client-side — the sheet is never uploaded
- Deterministic per-cell type classifier + per-column dominant type
- Mixed-type flag with confidence
- Coerce to number/integer/boolean/date/datetime; un-coercible cells flagged
- Locale-aware numbers, UTC dates; CSV/TSV export
- No CDN, no backend, no row cap
