HomeFile Merge Split

File Merge Split

Online file merge and split tool that splits text files by lines or size and merges multiple files with custom separators

Split Settings

Upload File to Split

Supports TXT, CSV, JSON, MD, XML, HTML, LOG and other text files.

Documentation

This tool handles common text files with two workflows: split one file by line count or size, and merge multiple files with a chosen separator. It is useful for log processing, data handoff, and pre-import cleanup.

Key Features

  • Split by lines to generate evenly sized text parts.
  • Split by size (KB/MB) while keeping full line boundaries whenever possible.
  • Merge multiple files in listed order.
  • Use newline, double newline, space, no separator, or a custom escaped separator.

Usage

In the File Split tab, upload one text file, choose split mode and parameters, then click Start Split to generate part files.

In the File Merge tab, upload multiple text files, choose or enter a separator, then click Start Merge and download the merged output.

Use Cases

  • Split large logs for archiving and incremental processing.
  • Break oversized CSV files before import tasks.
  • Merge multiple snippets or config files into one delivery file.
  • Prepare text datasets for batch jobs and scripted pipelines.

Notes

Processing runs locally in your browser and does not upload file content. For very large files, process in batches to avoid browser memory pressure.

When splitting by size, a single line larger than target size is still kept as one full part to avoid truncation.

FAQ

Which file types are supported?

TXT, CSV, JSON, MD, XML, HTML, LOG and other plain text files.

Can I enter a newline as custom separator?

Yes. Use escaped sequences such as \\n, \\r, or \\t.

Why are part sizes not exactly equal?

The splitter prioritizes line integrity, so part sizes may vary slightly.