Chunkfy
Free · No sign-in
Local file tools

Text and CSV splitter

Split text, CSV, JSON, and other plain-text files by line count, line ranges, or equal parts. Original encoding and line endings are preserved.

Choose file

File limit: 100 MiB

Drop a file here

or choose from your device

File limit: 100 MiB. Text is decoded and split in this browser. The original character encoding is detected automatically; output keeps the detected encoding and uses LF line endings. · Splitting runs locally in your browser. Your files are never uploaded to a server.

Split settings

Split method
Separator
Blank-line mode groups records separated by empty lines instead of splitting by line count.
Detect quoted fields and embedded newlines so a record is never split in half. Use this for CSV and TSV.

Text is decoded and split in this browser. The original character encoding is detected automatically; output keeps the detected encoding and uses LF line endings.

Choose file

Results

Download results here after processing
Results will appear here after processing.

Results

Privacy

Splitting runs locally in your browser. Your files are never uploaded to a server.

File limit

100 MiB. Text is decoded and split in this browser. The original character encoding is detected automatically; output keeps the detected encoding and uses LF line endings.

Output

Download ZIP; The total result is too large for a ZIP download. Download files individually.

How this tool works

  • Line numbers start at 1. Ranges cannot exceed the file line count.
  • The character encoding is detected automatically (UTF-8, UTF-16 LE/BE, or Windows-1252) and output keeps the detected encoding.
  • Windows and legacy Mac line endings are normalized to LF in the output.
Supported split methods
Lines per file · Line ranges · Equal parts · Blank-line separator
Input limit
100 MiB
Privacy
Splitting runs locally in your browser. Your files are never uploaded to a server.

Frequently asked questions

How do I split a CSV into smaller files without breaking rows?

Turn on Record-aware parsing, then choose Lines per file and enter a row count such as 1000. Quoted fields containing commas or newlines stay inside one record, and Repeat header row copies the header into every output. Line ranges such as 1-1000, 1001-2000 are also supported.

Can I split a large text file into equal parts?

Choose Equal parts and enter the number of files you want. Chunkfy divides the total line count evenly and keeps the last part even when it has fewer lines. The configured input limit is 100 MiB.

Are my text files uploaded?

No. The file is decoded and split entirely inside your browser, so the text never reaches an application server.