Text

Pipe Delimiter Data Splitter

Extract fields quickly, filter invalid lines, and reformat account lists with just a click.

DELIMITER|
COLUMNS
SAMPLE
1 random 1a2 random 1b3 random 1c4 random 1d
TEXT CASE
Sheet of text rows being cut into columns with scissors

How to use

  1. Paste your data, one record per line. The delimiter is | by default; type another one (up to 3 characters), such as a comma or a semicolon.
  2. Tick the columns you want, from 1 to 20. The Sample row under the boxes shows the first line split into numbered columns, so you can see which number is which.
  3. Copy the PASSED lines. Lines with fewer columns than the highest one you picked go to FAILED, so broken records are easy to spot and fix.

What pipe-delimited data is

A pipe-delimited file stores one record per line with fields separated by the | character, for example John|Smith|john@example.com|Denver. Pipes are used instead of commas because commas often appear inside the data itself, in addresses, names and amounts.

You meet it in database and spreadsheet exports, bank and payroll files, HL7 messages in healthcare, server logs, and account lists exported from other systems. Opening such a file in a spreadsheet only to pull out two columns is slow; here you paste, tick and copy.

Example

Input lines: john|smith|john@example.com|Denver and mary|lee|mary@example.com (the second has only three fields). What each choice of columns and options gives:

OptionsPASSEDFAILED
Columns 1, 2, 4john|smith|Denvermary|lee|mary@example.com
Columns 1, 2 + Merge columns + Name CaseJohn Smith and Mary Lee(none: both lines have at least 2 fields)
Column 3 + lowerjohn@example.com and mary@example.com(none)

Options that save cleanup time

Merge columns joins the picked fields with a single space instead of the delimiter, which turns first and last name columns into a full name. Text case changes the output to UPPER, lower or Name Case (each word capitalized), handy for mailing lists and imports that expect one style.

The FAILED box is a quick validation step: if a file should have 6 fields per line, tick column 6 and every short or broken line lands there with its line content, ready to fix before you import it elsewhere.

Frequently asked questions

Can I split CSV or tab-separated data?

Comma and semicolon files work: type , or ; as the delimiter. It splits on every delimiter, so CSV fields that contain commas inside quotes will be split too.

Why did a line go to FAILED?

It has fewer fields than the highest column you picked. Check for a missing value or a different delimiter on that line.

Is there a limit on lines?

No fixed limit. Thousands of lines are fine; very large files depend on your device's memory.

Is my data uploaded?

No. Splitting happens in your browser, so account lists and personal data never leave your device.

Last updated:

Found a problem or have an idea? Report a problem

Share

You might also like