Skip to main content
CodeSpeedTest
Languages
Start TypingJump into a test — pick any languageAdaptive TrainingUnlock chars as you master themPractice DrillsFocused sessions targeting weak spotsDaily ChallengesNew coding challenges every dayRace ModeCompete against others in real timeAI OpponentRace against an AI at your WPM levelTournamentsLive coding speed tournamentsArcade GamesZType, Overkill Survival, Glyphica & moreGamificationXP, coins, badges & quests
LeaderboardGlobal rankings for every languageCertificatesEarn verifiable Bronze / Silver / Gold certsActivityDaily streaks & historical analyticsProfileYour stats, badges & achievements
Browse Languages500+ languages with real code examplesBlogTips, guides & deep divesFree ToolsWPM calculator, typing speed report & moreFAQCommon questions answeredGetting StartedNew to CodeSpeedTest?AboutOur story & missionSupportGet help — Pro users get priorityContactGet in touch with the team
Pricing
Tools/Remove Duplicate Lines

Remove Duplicate Lines

Paste a list of lines to instantly remove duplicates while keeping the original order — entirely in your browser.

Result will appear here

Frequently Asked Questions

Does this keep the original order?

Yes — it keeps the first occurrence of each unique line and preserves the overall order, just dropping later repeats.

What does the case sensitive toggle do?

When on, "Apple" and "apple" are treated as different lines. Turn it off to treat them as the same duplicate.

Does this trim whitespace before comparing?

No — lines are compared exactly as typed, so trailing spaces make two otherwise-identical lines count as different. Trim first if you want strict matching.

Explore CodeSpeedTest

  • →Browse all free tools
  • →Take the live coding speed test
  • →Browse all 500+ languages
CodeSpeedTest

Improve your coding speed, code accuracy, and programming syntax WPM with practice sessions across 500+ programming languages.

Quick Links

HomeAboutFeaturesGetting StartedLanguages

Legal & Support

Pro ⚡ PricingContactPrivacy PolicyTerms of Service

Connect

CodeSpeedTest on GitHubCodeSpeedTest on TwitterEmail CodeSpeedTest

© 2026 CodeSpeedTest. All rights reserved.