About this tool
Pick and reorder the columns of a CSV by index or header name, entirely in your browser.
Names are matched against the first row, ignoring case and outer spaces, and that row is kept in the output. A token made only of digits is always an index, so a header such as 2024 cannot be chosen by name; neither can a header containing a comma, since the list is split at commas. Names that match nothing are skipped. Quoted fields, a byte-order mark and Windows line endings are handled, and fields are re-quoted only when needed. An index past the end of a row gives an empty cell.