Suppression de lignes en double
Supprimez les lignes en double avec des options de casse et de rognage.
À propos de la suppression de lignes en double
Utile pour nettoyer des fichiers journaux, des données CSV, des listes de mots et tout texte comportant des entrées répétées. L'option « rogner les espaces » traite comme des doublons les lignes qui ne diffèrent que par des espaces en début ou fin de ligne. « Sensible à la casse » désactivé traite « Pomme » et « pomme » comme la même ligne.
FAQ
- L'ordre des lignes est-il modifié ?
- Non. La première occurrence de chaque ligne est conservée ; les doublons suivants sont supprimés. L'ordre est préservé.
- Que fait « Rogner les espaces » ?
- Lorsque cette option est activée, deux lignes identiques à l'exception des espaces en début/fin de ligne sont considérées comme des doublons.
- Mes données sont-elles envoyées à un serveur ?
- Non. Tout le traitement se fait localement dans votre navigateur.
À PROPOS DE CET OUTIL
Paste a list of lines and this tool removes any repeated entries, with options to ignore case differences and trim surrounding whitespace before comparing. Handy for cleaning up email lists, tag clouds, or any exported data with repeated rows. The tool keeps the first occurrence of each line and discards later repeats, preserving your original ordering rather than resorting the list alphabetically. This matters when line order carries meaning, such as a prioritized keyword list or a log file where earlier entries came first chronologically.
COMMENT UTILISER
- Paste your list of lines into the input box, one entry per line
- Toggle the ignore-case option if entries differ only by capitalization
- Toggle the trim-whitespace option to catch duplicates hidden by extra spaces
- Run the tool to see the deduplicated list
- Copy the cleaned list, which keeps original line order minus repeats
CAS D'USAGE COURANTS
- Merging two exported contact lists and removing repeated email addresses before a mail campaign
- Cleaning a keyword research list that has the same term pasted in multiple times from different sources
- Deduplicating a list of URLs collected from several sitemap exports before a crawl audit
- Tidying a list of tags or categories copied from multiple spreadsheet columns
- Cleaning repeated log lines pasted from a console output before sharing with a teammate
CONSEILS ET ERREURS COURANTES
- Without the trim-whitespace option, 'example.com' and 'example.com ' (with a trailing space) are treated as different lines and won't be merged
- With case-sensitivity on, 'Apple' and 'apple' count as separate entries — turn on ignore-case if your source data has inconsistent capitalization
- The tool only removes exact duplicate lines, not near-duplicates like 'Street' vs 'St.' — those need manual review or a separate normalization step first
- Blank lines count as duplicates of each other too, so a list with several empty lines will get collapsed down to one if any blank line matches another
AUTRES QUESTIONS
- Does the tool keep the first or last occurrence of a duplicate line?
- It keeps the first occurrence in the original order and removes any later repeats, rather than reordering the list alphabetically or by frequency.
- Can it remove duplicates that only differ by a trailing space or tab?
- Yes, if you enable the trim-whitespace option, lines are compared after stripping leading and trailing whitespace, which catches duplicates that would otherwise look different due to invisible spacing.
- Will it treat 'Apple Inc.' and 'apple inc.' as duplicates?
- Only if you enable the ignore-case option — with case sensitivity on, differing capitalization makes them count as distinct lines.
- Is there a limit to how many lines it can process?
- There's no fixed limit built into the tool, but since it runs entirely in your browser, extremely large lists (tens of thousands of lines) may take a moment longer to process depending on your device.