Lists and tables pasted from mixed sources end up with uneven padding, some lines indented, others with trailing spaces, which makes them hard to align or compare.
Trim Text Online removes spaces and tabs from both ends of each line at once so every line is flush.
How to use Trim Text Online
- Paste a list or block where lines have uneven padding.
- Trim Text Online removes spaces and tabs from both the start and end of every line.
- Copy the trimmed lines, now aligned at both edges.
Use cases
- Aligning a pasted list whose lines have mixed indentation.
- Cleaning both-side padding from rows copied out of a table.
- Tidying a glossary so each entry starts and ends cleanly.
Good to know
Trim Text Online combines leading and trailing cleanup, removing spaces and tabs from each end of every line in a single pass. Inner spacing inside a line is preserved, and line breaks are kept. It is the quickest way to make a ragged block flush on both sides.
Frequently asked questions
What is trimmed from each line?
Spaces and tabs at the start and the end of the line. Spacing in the middle of the line is left as it is.
Does it collapse multiple inner spaces?
No. Only the two ends are trimmed; use the extra-spaces tool to collapse runs inside a line.
Are empty lines removed?
Empty lines become truly empty after trimming, but they are not deleted; line breaks remain.