CSV Splitter
Split a large CSV or TSV into smaller files. Choose how many rows go in each file or group by a column, then preview the parts before downloading.
Paste or open your table, then select Inspect columns. Choose how to divide the rows and use Preview split to see what goes into each file before you select Generate files.
5 MiB UTF-8 input, 50,000 data records, 200 columns, 200 files/groups and 25 MiB serialized files plus manifest. Headers and repeated BOMs count toward byte budgets. Empty/header-only sources produce no files or ZIP.
Parsing, sampling, serialization and ZIP creation stay in this tab without uploads or saved source drafts. Computation has an eight-second guard; owned workers cancel or time out after twenty seconds. Reload clears source, results and Undo.
Load and preview complete CSV records
Paste text or import one UTF-8 CSV/TSV/TXT file. Import validates decoding and CSV structure before replacing the source; failed imports retain completed results. Inspect columns selects record-count mode and resets grouping, ranges and sampling while preserving records-per-file and export formatting. Parsing changes reset partition rules for review. Use Undo to recover the previous source/settings.
Choose comma, semicolon or tab and the header setting. Quoted line breaks stay inside their cell. Untouched CRLF text, including quoted internal line breaks, survives textarea edits. Data-record ranges are inclusive, exclude the header and ignore skipped blank lines; zero as the last record means the end. Source-record references also count the header when present.
Preview split shows actual filenames, output count, largest groups before/after sampling, per-file serialized bytes and the full byte total before Generate files. Inputs allow 5 MiB UTF-8, 50,000 data records and 200 columns; outputs allow 200 files/groups and 25 MiB of serialized files plus manifest. Empty/header-only sources produce no files or ZIP.
Choose boundaries, keys and samples
Records per file makes complete record-count chunks. Byte mode measures the exact serialized UTF-8, including optional BOM, repeated protected headers, quoting and formula-protection apostrophes; an oversized single record stops with its required size. Equal-file mode creates exactly the requested nonempty files, whose record counts differ by at most one. None of these modes splits a record.
Group mode matches a selected composite-key tuple and keeps first-seen group order. Optional NFKC, trim and lowercase alter text keys only; the normalization preview shows before/after values. An explicitly selected date key requires exact YYYY-MM-DD in years 0001–9999 and groups by day, month, quarter or year. Invalid/missing dates either stop or form separate groups by their original raw values. Date interpretation applies only inside the selected range. Exported source cells are never normalized or bucketed.
Stratified sampling needs key columns. Choose up to N records per stratum or allocate a total N proportionally, capped by availability. Largest integer remainders allocate proportional counts, with first-seen groups breaking exact ties; small strata may receive zero. Seeded draws are without replacement and reproducible for identical source/range/rules/seed. Outputs return to source order. The count chart pages all groups and compares range counts with retained samples.
Name, download and reuse your split
Filename templates support index, rows, group, date and name tokens shown in the workspace. Group/date tokens describe grouped parts; other partition modes use all. Names are normalized to NFKC, unsafe path characters and reserved device names adjusted, case collisions resolved and complete names capped at 180 UTF-8 bytes. Group tokens put key text into filenames; the preview shows every actual name and adjustment count.
Repeat the header and optional UTF-8 BOM in each file. Formula protection defaults on and prefixes formula-like values and headers; quoting alone does not prevent spreadsheet formulas. Output uses the selected separator and CRLF records, preserving internal cell line breaks. Part tables/text boxes are bounded previews; individual downloads and ZIP contain the entire accepted output. Complete copy caps at 2 MiB, with a manual fallback when unavailable.
ZIP includes all parts and manifest.json, with counts, typed key tuples, original selected record references, sampled-out totals and rules. Review key-bearing names and manifests before sharing. Version 1 recipes contain ordered schema and known settings without source rows or filename identity. Recipe files cap at 256 KiB, require a matching schema/header mode, and revalidate parsing, ranges and output predictions before applying. Invalid recipes retain current settings/results.
Source and parameter edits clear stale outputs; Clear keeps settings and focuses the source, and Undo restores its snapshot. Owned workers cancel or time out after twenty seconds, with an eight-second compute guard. Reading, sampling, serialization and ZIP creation stay in this tab without uploads, automatic saved drafts or new services. Reload clears data and Undo.
Stars and feedback
Loading…
What could we improve in CSV splitter?
Email us feedback@tooltulip.com
Tool reference #034