Trim spaces
Remove spaces at the start and end of every line.
🔒 Runs on your device⚡ No upload✓ Free, no sign-up
How to use Trim spaces
- Type or paste your text in the box.
- Pick the options you want; the result updates as you type.
- Copy the result or download it as a file.
Questions
Is Trim spaces free?
Yes. It is free with no sign-up, no watermark and no ads.
Is my text uploaded?
No. Everything happens in your browser. Nothing you type or open is sent to our server; we only count that the tool was used.
Does it work offline?
Yes, once the page has loaded it keeps working without internet.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux.
Related tools
Show hidden spacesSee tabs, spaces, line breaks and invisible characters.Case converterSwitch text between UPPER, lower, Title, Sentence and more in one click.UPPERCASE converterTurn any text into capital letters.lowercase converterTurn any text into small letters.Title Case converterCapitalise headings the way editors do, keeping small words like "and" lower case.Sentence case converterFix text typed in capitals: only the first letter of each sentence stays big.camelCase converterTurn words into camelCase names for code.PascalCase converterTurn words into PascalCase names for classes and components.