Home · Free tools · Highlight duplicates
Highlight duplicates in Excel
Drop a .xlsx or .csv and see your own sheet with every repeated value coloured in place. Give all duplicates one colour, or a different colour 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
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 colouring. One colour for every duplicate — the same pale red Excel uses — or a different colour per group, so you can see at a glance which rows belong to which repeated value.
- Fill the cell or the whole row. Colouring 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 colours 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 colour. It is four clicks and it works.
What it will not do is give each repeated value its own colour. 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 colour 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 colours 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 highlighting should be permanent
A browser tab is the right place for a one-off look. When the same export lands every month and the same duplicates need flagging every time, the fix belongs in the file rather than in a tab: in TableDI a Dedupe column marks repeats as a rule that recalculates for rows pasted in next month, and the rule travels with the workspace. How the cleaning rules work.
Questions people ask
How do I highlight duplicates in Excel?
Select the range, then Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values. That colours every repeated value in the selection with one shade. To give each repeated value its own colour, or to colour 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 colour?
Yes — set Colours to "a different colour per group". Ten colours are cycled, so the eleventh group reuses the first; groups are ordered by how many times they repeat, so the biggest ones get distinct colours. 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. There is no
server call in the page — you can watch 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
Do this on your own machine instead
TableDI is a desktop spreadsheet workspace that runs entirely on your machine. Import the file, fix it, chart it — nothing is uploaded, and there is no account to create.
Free forever, not a trial — no account, no card. macOS today; a Windows build is in progress. What the paid tier adds.
Last reviewed 2026-09-01 by the TableDI team. Something wrong on this page? Tell us — it is one inbox, read by the people who build TableDI.