Trim characters from the left, right, or both sides of each line. Remove unwanted spaces, characters, or custom strings with one click.
Remove leading and trailing whitespace from every line.
Paste text with extra whitespace.
Strip whitespace from line ends.
See clean, trimmed text.
Copy or download.
Remove extra whitespace quickly and accurately.
Trim all lines in one click.
Processing is local.
Removes whitespace from both ends of each line.
Works everywhere.
Copy or download.
No account needed.
See how text trimming is used.
Input
value1 value2
Output
value1 value2
Input
code
Output
code
Input
Hello World
Output
Hello World
Input
INFO: ok
Output
INFO: ok
Discover more free online tools built by CoderDesign — all instant, private, and no sign-up required.
Need a custom tool or web application? Let's discuss your project.