Skip to content
UniKit

List grouper

Split a text list into groups of a fixed size.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Text list

Result

One group per line, groups separated by a blank line.

Enter text to see the result

Groups: 0 · Input: 0 · Group size: 0

What this tool does

  • Split a long list of ids, domains or keywords into fixed-size groups.
  • Prepare "every N items per group" text for bulk pasting or group messages.

Example

Input

a
b
c
d

Output

a
b

c
d

The example has 4 lines and the default group size 2, so it yields 2 groups separated by a blank line.

Frequently asked questions

Do blank lines take a slot?

No. Each line is trimmed first and empty lines are dropped, so only effective lines are grouped; 3 lines with a group size of 2 leaves 1 line in the second group.

What group sizes are allowed?

An integer between 1 and 10000. Leaving the field empty uses the default 2; 0, negative numbers or fractions raise an error instead of being rounded silently.

Does it rewrite the lines?

Only leading and trailing whitespace is removed; the rest of each line is preserved byte for byte. More than 100000 effective lines is rejected so the browser cannot freeze.

Keywords:List groupergroup-listtextlist

Related tools