TextArray
100% local

Combine texts line by line

Join two texts by pairing their lines: line 1 with line 1, line 2 with line 2.

Input
Text B
Output

Combine texts line by line

Two lists that belong together are often kept apart — names in one column and email addresses in another, product codes in one export and prices in a second. This tool puts them back together: paste one text into each panel and line 1 joins line 1, line 2 joins line 2, and so on down both texts. Programmers call it a zip; in a spreadsheet it is the CONCAT formula you would rather not write.

You choose what goes between the two halves of every line. A space suits names and sentences, a tab keeps the result pasteable straight back into a spreadsheet, a comma builds CSV rows, and nothing at all joins the parts with no gap. Custom takes any separator you type — a pipe, an arrow, a dash or a whole phrase — and understands a literal \t for a tab and \n for a line break.

The two texts rarely have the same number of lines, so you decide what happens then. Stopping at the shorter text ends the result as soon as one side runs out. Padding with empty lines keeps every line of the longer text and leaves the missing half blank. The optional prefix and suffix wrap each finished line, which is how you turn two plain lists into SQL values, Markdown links or quoted array entries in one pass.

Everything is computed in your browser while you type, so neither text leaves your device — customer lists and internal identifiers are safe here. The tally under the output shows how many lines each text has, how many lines were combined, and the size of the result.

FAQ

What happens if one text has more lines than the other?
That is what the "Different lengths" option decides. "Stop at the shorter text" ends the result as soon as one side runs out, and "Pad with empty lines" keeps every line of the longer text with the missing half left blank.
Can I use a tab or a comma between the lines?
Yes. Pick Tab, Comma, Space or Nothing from the separator list, or choose Custom and type your own. In the custom field, \t means a tab and \n means a line break.
Does the separator still appear when one side is empty?
Yes. In padding mode a line whose counterpart is missing still gets the separator, prefix and suffix, so the columns stay aligned. Switch to "Stop at the shorter text" if you would rather not produce those lines at all.
Can I wrap every combined line in something?
Type a prefix, a suffix or both, and each finished line is wrapped exactly as typed — quotes, brackets or a trailing comma for a list literal.
Are my texts uploaded anywhere?
No. The tool runs entirely in your browser and neither text ever leaves your device.