About this tool
Trim every line in your text by removing leading and trailing spaces without changing the line order. This is useful for code snippets, pasted lists, structured content and imported data where each line matters but unwanted spaces at the start or end cause formatting problems. It keeps the line structure while cleaning each line individually.