Free web tool

CSV split by column value

Split a CSV into separate files for each distinct value in a selected column.

Input & settings

How to use

Split one CSV into separate files by store, owner, category, or another column value. Each output gets the original header and every row belonging to that exact group value.

  1. Paste the CSV and choose the split column.
  2. Review the detected groups and row counts.
  3. Download each group CSV. The tool supports up to 50 groups.

Group values are matched exactly

Tokyo and tokyo are separate groups, as are A and A . The tool does not trim or normalize the split values. Clean that column first if those variants are supposed to be one group.

Blank values become their own group

Rows with a blank split value are not discarded. They form a blank group. That can be useful for “unassigned” records, and it can also reveal missing data you did not expect.

Filenames are sanitized and de-collided

Because group values become filenames, characters that are awkward in filenames are converted to underscores, long names are limited, and blank values get a generic base name. If different group labels sanitize to the same base—such as A/B and A:B—the later file gets a suffix such as _2 instead of overwriting the first.

Remember that the group value appears in the filename

If the split column contains customer segments, employee names, or another sensitive label, that value also becomes visible in the saved filename. Check filenames as well as file contents before placing them in shared folders.

More than 50 groups stops the operation

Thousands of output files are hard to use safely, so this tool caps the operation at 50 groups. If you hit that limit unexpectedly, it is a useful signal to check for label variations or a wrong split column.

Want the deeper explanation?