Text tools

Compare Two Lists

Paste two lists to see what they share and what is missing from each, with duplicates and an overlap score.

  • Runs in your browser
  • Instant results
  • Free, no sign-up
Loading the tool…

How to use the List Compare

  1. Paste list A and list B, one item per line, or separated by commas, tabs or spaces.
  2. Choose whether case and extra spaces matter, and how to sort the results.
  3. Copy or download the items only in A, only in B, in both, or in either list.

Frequently asked questions

How do I find items that are in one list but not the other?

Paste both lists; the Only in A and Only in B boxes show exactly those items, updated as you type.

Does it handle Excel or CSV columns?

Yes. Paste a column copied from Excel or Google Sheets (one item per line), or a comma or tab separated row; the separator is detected automatically.

Are my lists uploaded?

No. The comparison runs in your browser, so the lists never leave your computer.

Practice Python with coding challenges

Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.

All Python challenges
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

You'll learn ArithmeticReturn values
BeginnerLearning-pathVariables
Easy

Distance Between Points

Compute the straight-line distance between two points.

You'll learn Pythagorean theoremSquare roots
BeginnerFunctionsLearning-pathmath
Easy

Average of Three

Average three whole numbers.

You'll learn ArithmeticDivision
BeginnerLearning-pathVariables
Easy

Dot Product of Two Vectors

Multiply two vectors element by element and add the results: the core operation of every neuron.

You'll learn VectorsDot product
Neural networksaimachine learning
Easy

Days in a Month

Return how many days a month has, including leap years.

You'll learn Calendar rulesHelper functions
BeginnerConditionsFunctionsLearning-path
Easy

Prime Number Check

Decide whether a number is prime.

You'll learn DivisibilityLoop optimization
BeginnerLoopsNumbersStudent-beginner
Easy

Number Triangle

Build a triangle of increasing numbers.

You'll learn Growing rowsCounters across rows
BeginnerLearning-pathNested-loopsPatterns
Easy

Min and Max Together

Find the smallest and largest value in one pass.

You'll learn Single passMultiple return values
ArraysBeginnerFunctionsLearning-path
Easy

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

You'll learn Pairs of indexesAvoiding double counts
ArraysBeginnerLearning-pathNested-loops
Easy

Largest of Three

Pick the largest of three numbers without a built-in max.

You'll learn ComparisonsCombining conditions
BeginnerConditionsLearning-path
Easy

Hollow Square

Draw the outline of a square with * characters.

You'll learn Edge detectionBuilding strings
BeginnerLearning-pathNested-loopsPatterns
Easy

Simple Interest

Find the total amount after simple interest.

You'll learn PercentagesWord problems
BeginnerLearning-pathVariables