How to combine CSV files

Stacking is where we take two (or more) CSV files and combine the columns, one on top of the other. For example to turn:

Merge CSV files

Merge

Merge CSV file

Into:

Merged CSV file

(You can also join CSV files side-by-side using a common ‘key’ column)

The above is easy to do in Easy Data Transform, even if the columns in the two CSV files are different:

  1. Install Easy Data Transform on your PC or Mac, if you haven’t done so already. It will only take a minute. There is a fully fuctional free trial and you don’t have to give us your email or sign up to anything.
  2. Start Easy Data Transform.
  3. Drag the CSV files you want to merge onto Easy Data Transform. A pink input item will be added for each file.
  4. Drag the input items into the vertical the order you want to stack them (the top one at the top).
  5. Select the two (or more) input items you wish to stack using Ctrl+click (PC)/Cmd+click (Mac) (or by dragging a box around them).
  6. Click the Stack button in the left pane. A blue transform item is added.

Combine CSV files

The CSV files are now stacked in the vertical order shown on screen. Swap the vertical order of the input items to change the stacking order.

If you want to stack column N of the first table above column N of the second table (regardless of column name), set Align columns by to Column number.

If you want to stack columns by common column header names (even if the columns aren’t in the same order), set Align columns by to Header name. Matching is sensitive to case and white space.

When you are happy with the results output the result into a new CSV file or other format.

Stack is just one of the 42 transforms that Easy Data Transform supports.

Try it free now!

Windows Logo Windows Download

v1.3.0 for Windows 10 / 8 / 7 (23 MB)

Apple Logo Mac Download

v1.3.0 for Mac 10.15 to 10.12 (22 MB)


Questions or problems?

Email support@easydatatransform.com


Do you have a question?
We would love to help.

This pop-up will not be shown again