EditSafely

Merge Two Lists

Append a second list to the first.

Runs on your device, nothing uploaded

Try:

0 chars · 0 lines

0 chars

Output

Append a second list to the first.

Type or paste above to see the result here.

Example: Append cherries and dates

What you paste never leaves this tab

Merge Two Lists is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Merge Two Lists

  1. 1. Paste the first list. Paste the first list into the List A box. This list comes first in the merged result.
  2. 2. Paste the second list. Paste the second list into the List B box, one item per line or separated by commas. Its items are joined onto the end of the first list in order.
  3. 3. Decide whether to remove duplicates. Turn on Remove duplicate items if the same entry might appear in both lists and you only want it to show up once in the merged result.
  4. 4. Copy the merged list. Copy the combined list, first list followed by second list (and deduplicated if selected), into wherever the full combined set is needed.

When to use Merge Two Lists

Merge Two Lists appends a second list onto the end of the first, with an option to drop repeats so the union only contains each item once. Use Merge Two Lists whenever two separate lists need to become one combined list.

  • Combining two contact exports without duplicates. You exported contacts from two different apps and some people appear in both. Merge the lists with Remove duplicate items on to get a single clean combined list.
  • Building a full guest list from two RSVP forms. Two separate signup forms each collected names for the same event. Merge both lists into one master guest list before printing name tags.
  • Combining tag lists from two articles. Two blog posts have their own tag lists and you want one combined tag set for a related-posts widget. Merge them and remove duplicates so each tag appears once.
  • Appending new items to an existing list. You have an existing shopping list and a second list of items you just thought of. Merge the new items onto the end of the existing list in one step.

Examples

Append cherries and dates

Input

apples
bananas

Output

apples
bananas
cherries
dates

About the Merge Two Lists tool

Merge Two Lists does its work locally, right in the browser. Append a second list to the first. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the List Tools collection on EditSafely, a set of 114 small, focused List utilities that share the same instant, private workspace.

You can shape the output with 5 settings, including List B, Remove duplicate items, Ignore case and Trim spaces, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Merge Two Lists cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All List Tools →