Home · Free tools · Highlight duplicates
Highlight duplicates in Excel
Drop a .xlsx or .csv and see your own sheet with every repeated value colored in place. Give all duplicates one color, or a different color to each group so you can tell which rows belong together — the thing Excel's own Conditional Formatting cannot do. Then download the workbook with the highlighting already applied. Read in this tab; nothing is uploaded.
Open a file
Drop .xlsx or .csv here, or click to choose
Doing this every month? Do it once in TableDI 2, save it as a job, and run it again next month. Download TableDI 2 free
Nothing is uploaded. The file is read by JavaScript in this tab and never leaves your computer — no server sees it, and closing the tab throws it away.
How to highlight duplicates in Excel
- Open the file. Drop the .xlsx or .csv onto the box. It is read in your browser and is never uploaded.
- Choose what repeats. Repeated values in one column, rows that are identical across every column, or values that appear in two columns at once.
- Pick the coloring. One color for every duplicate — the same pale red Excel uses — or a different color per group, so you can see at a glance which rows belong to which repeated value.
- Fill the cell or the whole row. Coloring the whole row is what you want when the duplicate is a record rather than a value, because the row stays readable as a unit when you sort.
- Download the highlighted workbook. The .xlsx comes out with the fills already applied, so the colors survive being opened in Excel, LibreOffice or Numbers.
How Excel does it, and the one thing it will not do
In Excel the route is Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values. Select the range first, pick a fill, and every value that appears more than once in that selection turns color. It is four clicks and it works.
What it will not do is give each repeated value its own color. Excel paints every duplicate the same shade, so a column with forty repeated invoice numbers becomes forty pink cells with no way to see which ones are the same as which. Doing it properly in Excel means VBA or forty separate conditional-formatting rules. Here it is a dropdown.
The second thing it will not do is color the whole row. Conditional formatting can be coaxed into it
with a formula rule like =COUNTIF($A:$A,$A1)>1 applied to the whole range — worth
knowing, and fiddly enough that most people give up. Switching Fill to "the whole row" does the
same thing here.
Why highlighting beats deleting, at least first
Data → Remove Duplicates is the other button people reach for, and it is destructive: it takes the rows out and tells you a count. Highlighting leaves the file intact and makes the problem visible, which is the right order when you are not yet sure the duplicates are really duplicates — two customers can legitimately share a surname, and two rows can share an email because one is a returns record.
If what you actually want is the list of duplicated values and the clean file, that is the Excel duplicate finder next door. This page is for when you want to look at your own sheet with the repeats marked.
Case, spaces, and blanks
Bob@example.com and bob@example.com are the same mailbox and different
strings; ACME Ltd and ACME Ltd differ by a trailing space that came in
with a copy-paste. Leading and trailing spaces are always trimmed here and case is ignored unless you
turn that off — the same two rules Excel's own duplicate rule applies, which is why its results and
these agree.
Empty cells are not treated as duplicates of each other. A column with three hundred blanks would otherwise come back as one enormous highlighted group, which tells you nothing.
The colors survive the download
The .xlsx written here carries a real styles.xml, so the fills are part of the workbook
rather than a picture of one — open it in Excel, LibreOffice or Numbers and the highlighting is there,
editable, and it sorts and filters with the rows. That is the part a screenshot of a web tool cannot
give you.
Numbers stay numbers and text stays text: leading zeros in a postcode or a staff number are preserved
rather than being silently turned into 1234, which is the failure mode of most online
converters.
When the same check comes back every month
A browser tab is the right place for a one-off look. When the same export lands every month and the same duplicates need catching every time, the check belongs somewhere that keeps it. TableDI 2 is a desktop app for file work you redo every period: it keeps your sources, rules and delivery as a job, so next month you drop in the new files and run it again. Everything runs on your own machine. Before each run, its preflight lists the rows with a duplicate or empty key and holds them back for you to decide.
Questions people ask
How do I highlight duplicates in Excel?
Select the range, then Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values. That colors every repeated value in the selection with one shade. To give each repeated value its own color, or to color whole rows, drop the file on this page and pick those options — Excel needs VBA for the first and a formula rule for the second.
Can each duplicate get a different color?
Yes — set Colors to "a different color per group". Ten colors are cycled, so the eleventh group reuses the first; groups are ordered by how many times they repeat, so the biggest ones get distinct colors. This is the case Excel's built-in rule does not cover.
Does the highlighting survive in the downloaded file?
Yes. The .xlsx is written with a real styles sheet, so the fills open as normal cell fills in Excel, LibreOffice and Numbers — you can edit or clear them like any other formatting.
Does it change my original file?
No. Your file is read, never written. The highlighted workbook is a new download; the original on your disk is untouched.
Are my files uploaded anywhere?
No. The file is read by JavaScript running in this tab, using the browser's own
DecompressionStream to unzip .xlsx and a parser that runs on your machine. The page does load two visitor counters — static.cloudflareinsights.com and this site's own /_vercel/insights — but no request carrying your data appears in the network tab while you use it. Close the tab and the data is gone.
Does it work with old .xls files?
Not directly. The .xls format is a different, binary format from Excel 97. Open it in Excel, LibreOffice or Numbers and save as .xlsx or .csv, then come back. The tool tells you this rather than failing silently.
Related
Doing this every month?
In TableDI 2 you do it once, then save it as a job. Next month you drop in the new files and run it again.
macOS, Apple silicon and Intel; Windows is in progress (what to do meanwhile). Free is not a trial — no account, no card.
Last reviewed 2026-09-11 by the TableDI team. Something wrong on this page? Tell us — it is one inbox, read by the people who build TableDI.