Merge multiple CSV files into one YAML

Withdata DataFileConverter merges CSV files into one yaml file locally — any number of files, mapped column by column, with the output options of your choice. 100% local, secure, and cross-platform.

Download Free Trial


Why Choose Withdata DataFileConverter as a CSV Merger?

🔒 100% Local & Secure

All merging runs on your own computer. Nothing is uploaded to any cloud server.

⚡ Fast Streaming Merge

Millions of rows within a minute. Large files are streamed with low memory usage.

📁 Any Number of Files

Add two files or a whole folder, then combine everything into a single YAML file.

🔄 Column Mapping

Files with a different column order or extra columns can be mapped to the output columns before merging.

🖥 Windows, macOS, Linux

Native builds for Windows, macOS and Linux, with a step-by-step GUI wizard and a command line interface.

⏱ CLI & Scheduled Tasks

Save a merge session and run it automatically from Windows Task Scheduler or crontab.

Full Feature Comparison

FeatureSupported details
InputAny number of CSV files, added one by one or as a folder
Output formatYAML with configurable indent (2 spaces by default) and flow style
Merge modeAll input rows into one output file
Running modeGUI wizard · command line · scheduled tasks
Column handlingSource columns are mapped to the output columns
Output optionsIndent (2 spaces by default), flow style, nested mappings
PlatformWindows, macOS, Linux (native, 64-bit)

CSV to YAML — What Changes

The merged rows are written as one YAML mapping each, with the CSV header cells as the mapping keys. The indent is two spaces by default, and a header cell that contains a dot is written back as a nested mapping.

All CSV Merge Options You Need

Same source format, other targets

This page merges CSV into another format. If you need a different output, these pages each do that one job:

All merge tools, by format

Merging into YAML — Notes

How to Merge CSV Files (4 Steps)

  1. Open Withdata DataFileConverter and choose Merge (combine multiple files into one).
  2. Add the CSV files you want to merge — two files, a list, or a whole folder.
  3. Check the preview and map the source columns to the output columns; then set the output options (Indent (2 spaces by default), flow style, nested mappings).
  4. Click Convert — the single YAML file is written in seconds. Save the session if you want to run it again from the command line.

Merge multiple CSV files into one YAML file in GUI

In GUI mode the merge is a step-by-step wizard: add the files, check the preview, map the columns, choose the YAML output options, and click Convert. See Withdata DataFileConverter.

Set scheduled tasks for merging CSV

After merging CSV files in the command line, you can schedule and automate the merge:

  1. Save the session and create a .bat (Windows) or .sh (Linux/macOS) file for the merge.
  2. Set a scheduled task: on Linux/macOS use crontab; on Windows use the Task Scheduler.

FAQ

How fast is the CSV merge?

Is my data safe during the merge?

Does it work on Linux and macOS?

Do the source files have to have the same structure?

Can I merge more than two files?

Can I automate the merge from the command line?

Can I set the indentation of the merged YAML?

Is the merged YAML output nested?


Start Merging CSV Files Today

Download Withdata DataFileConverter for a free trial. Runs on Windows, macOS and Linux.

Download Now