Skip to content

Text Manipulation Suite · free · no sign-up

Group Lines

Combine every N lines of text into a group.

How it works Report a problem

Group Lines

Organize lines into custom-sized blocks

0
0
0
Input Lines

About the Group Lines

Combine every N lines of text into a group.

How to use the Group Lines

  1. Paste your text into the box, click Sample for an example, or load a text file with File.
  2. Set the Group Size and the Separator.
  3. Press Group Lines.
  4. Use Copy or .TXT to save the result.

Worked example

With a group size of 2, the lines a, b, c, d become the groups a b and c d.

Tips

  • Set the Separator to a comma to make comma-separated rows.

Frequently asked questions

What is grouping useful for?
Turning a long list into rows, for example a list of values into CSV lines.