Interleave Lists
Alternate entries from two lists with explicit handling for unequal lengths.
Loading Interleave Lists...
How to use
Choose which list contributes the first item. When one list runs out, either append remaining entries from the longer list or stop and drop leftovers.
Example
Input
A1
A2
A3
Output
A1
B1
A2
B2
A3
Limitations
This page interleaves two line-based lists. Blank lines are ignored unless explicitly included.
Frequently Asked Questions
What happens to a longer list?
Append leftovers keeps its remaining items in order; Drop leftovers stops after complete pairs.
Are entries sorted?
No. Relative order within each source list is preserved.